ReadMe for Impact of point-of-care ultrasound on clinical decision making at an urban emergency department in Tanzania, Reynolds, Teri, Amato, Stas S., Kulola, Irene, Chuan-Jay, Jeffrey C., Mfinanga, Juma, Sawe, Hendry This readme file describes the Stata .do files used to clean the raw data file (ultrasound_data_deidentified_2015_may.csv) and then to analyze it. All .do files were created and run using Stata version 14.2. Any questions, problems, or bugs can be reported to Stas Amato at the email address stas.amato@gmail.com The following files are included in the "ultrasound_do_files" zip: -- CLEANING FILES -- 1) ultrasound.do NOTE: THIS IS THE ONLY FILE THAT NEEDS TO BE RUN. This is an organizing “table of contents” file which loads the raw data (place the raw data file in a "/data" subfolder"), then runs the other “cleaning” .do files in sequence, and then finally runs two .do files to generate the tables and results found in the manuscript. All files should be placed in the same root folder with the data file placed in a "data" subfolder. The line near the top of the file "ultrasound.do" file: local path "/Users/davidpetty/Desktop/Ultrasound Dryad" should be changed to the path of the folder on your machine. The following .do files should be placed in the same folder as the above 2) ultrasound_setup.do This file renames, labels, and trims some variables to make them more readable. 3) ultrasound_exam_type.do This file cleans variables having to do with the clinical "exam type" performed. 4) ultrasound_demographics.do This file cleans demographic variables, such as sex, and age, as well as date and time variables. 5) ultrasound_indications.do This file cleans variables involving the various “indications” for ultrasound, generates several indicator variables for these indications, and aggregates several of these indications into larger categories. This file requires the "aggregate_indications.ado" file which is included in the "ultrasound_ado_files" zip. 6) ultrasound_dispotition.do This file cleans variables associated with patient disposition. 7) ultrasound_change_in_dx_or_dispo.do This file determines whether there was a change in either diagnosis or disposition based on "before" and "after" results. 8) ultrasound_procedures.do This file cleans various procedures that were performed under ultrasound guidance. 9) ultrasound_findings.do This file renames, relabels, and cleans variables recording clinical findings. 10) ultrasound_diagnoses.do This file cleans free text diagnoses into the CCS code diagnosis classification system. This file requires several .ado files to run properly (see the “ultrasound_ado_files” zip). -- TABLES -- 11) ultrasound_table_main.do This file generates all tables used in the manuscript in Stata's .smcl file format. Opening the generated .smcl file in Stata will show the tables in an easy to read format. 12) ultrasound_tables_abnormal_findings.do This file counts "abnormal findings" and generates an excel table of abnormal findings by exam type.