This application allows you to import text files containing lab data, extract values for various lab variables, and compile them into a CSV file. It supports multiple text files per patient and handles missing data by leaving cells empty in the output CSV.
- Ensure you have Python 3.6 or higher installed on your system.
- No additional libraries are required beyond the standard library (tkinter is included with Python).
- Run the
lab_data_extractor.pyscript:python lab_data_extractor.py
- In the GUI, enter the Patient ID and Patient Name.
- Click Add Files to select text files containing lab data for the patient.
- Click Extract Data and Add Row to process the files and add the data to the table.
- Repeat steps 2-4 for each patient.
- Click Save to CSV to export the compiled data to a CSV file.
- Extracts lab data from text files for Hematology, Biochemistry, and Blood Gas variables.
- Supports multiple files per patient, consolidating data into a single row.
- Leaves cells empty for variables with no data.
- User-friendly GUI for easy data entry and file management.
- W.B.C, R.B.C, Hemoglobin, Hematocrit, Platelets, ESR 1st hr, RDW /cv, MPV, M.C.H, M.C.H.C, M.C.V, Neutrophils, Lymphocytes, Monocytes, Eosinophils, Band Cells, Toxic Granula
- Blood Urea Nitrogen (BUN), Creatinine (Cr), Phosphatase Alkaline (Al Pos), S.G.O.T, AST, S.G.P.T, ALT, Calcium (Ca), Phosphorus (P), LDH, Magnesium (Mg), CK-MB, Troponin I, Sodium (Na), Potassium (K), Blood Sugar (BS)
- pH (ABG), pCo2, pO2, HCO3, O2 Sat