The aim of this project is to evaluate compliance in the delivery of SBT within healthcare settings. We have developed an algorithm that detects SBT events in Electronic Health Records (EHR) by identifying specific signatures. This algorithm allows for comparison of SAT occurrences with documented flowsheets to assess adherence to the SBT protocol.
Please refer to the online CLIF data dictionary, ETL tools, and specific table contacts for more information on constructing the required tables and fields. List all required tables for the project here, and provide a brief rationale for why they are required.
The following tables and fields are required:
-
patient- Fields:
patient_id,race_category,ethnicity_category,sex_category
- Fields:
-
hospitalization- Fields:
patient_id,hospitalization_id,admission_dttm,discharge_dttm,age_at_admission
- Fields:
-
medication_admin_continuous- Fields:
hospitalization_id,admin_dttm,med_category,med_dose - Relevant
med_categoryvalues:norepinephrine, epinephrine, phenylephrine, angiotensin, vasopressin, dopamine, dobutamine, milrinone, isoproterenol, cisatracurium, vecuronium, rocuronium, fentanyl, propofol, lorazepam, midazolam, hydromorphone, morphine
- Fields:
-
respiratory_support- Fields:
hospitalization_id,recorded_dttm,device_category
- Fields:
-
patient_assessments- Fields:
hospitalization_id,recorded_dttm,assessment_category,numerical_value,categorical_value - Relevant
assessment_categoryvalues:sbt_delivery_pass_fail, sbt_screen_pass_fail, sat_delivery_pass_fail, sat_screen_pass_fail, rass, gcs_total
- Fields:
-
vitals- Fields:
hospitalization_id,recorded_dttm,vitals_category,vitals_value
- Fields:
-
crrt_therapy- Fields:
hospitalization_id,recorded_dttm
- Fields:
- Study Period: January 1, 2022 – December 31, 2024
- Inclusion Criteria:
- At least one ICU admission with IMV during the study period
- Age ≥ 18 years at the time of initial hospital admission
Results will be written to the output/final directory and include:
table1summary file- Statistical metrics file
See output/README.md for details.
Update the configuration file at config/config.json.
Refer to config/README.md for step-by-step instructions.
# Open a terminal and run:
bash setup_mac_or_linux.sh
# Open a command prompt and run:
setup_windows.batTo generate cohorts and produce results, follow the instructions below in order:
-
Run the
00_*notebook first
This notebook is responsible for cohort generation. It must be completed before proceeding. -
Run all
01_*and02_*notebooks
These notebooks generate results based on the previously defined cohorts.
✅ They can be triggered and run in parallel for efficiency.
You can run notebooks one by one:
Refer to code/README.md for step-by-step instructions.
If you encounter an error:
- Open and run the following notebooks in sequence, cell by cell:
00_*.ipynb01_*.ipynb02_*.ipynb