Skip to content

Common-Longitudinal-ICU-data-Format/ARF-NIV_TreatmentLocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Characteristics and outcomes of ED patients requiring non-invasive respiratory support admitted to ward, intermediate, and intensive care settings

CLIF 2.1

Objective

Acute respiratory failure (ARF) is a common and increasingly prevalent cause of hospitalization and death in the United States, accompanied by rising use of high-flow nasal oxygen (HFNO) and non-invasive ventilation (NIV). Although such patients have traditionally been managed in intensive care units (ICUs), many can now be safely treated in intermediate care (IMC) or specialized ward settings, depending on illness severity and available monitoring and staffing. IMC units were developed to optimize ICU utilization and may influence both triage patterns and outcomes for patients receiving HFNO or NIV, yet their role in this population remains incompletely defined.

In this study, we examine variation in clinical outcomes among patients with ARF initiated on HFNO and/or NIV in the emergency department across hospitals in the CLIF consortium, testing whether the availability of IMC capability is associated with differences in mortality and hospital length of stay across ICU, IMC, and ward admissions.

Required CLIF tables and libraries

Please refer to the online CLIF data dictionary, and ETL tools, for more information on constructing the required tables and fields.

The following tables are required:

  1. hospitalization
  2. adt
  3. respiratory_support
  4. medication_admin_continuous
  5. code_status
  6. patient
  7. vitals
  8. labs
  9. patient_assessments
  10. hospital_diagnosis
  11. crrt_therapy

To run this code, you must also be able to run R and Python and have clify installed.

Instructions

  1. Rename config/config_template.yaml to config/config.yaml with site-specific details

  2. Run the local code files

    1. Run code/00_ARF_IMC_cohort.Rmd

    2. To run code/01_ARF_IMC_sepsis_indicators.py:

      1. Install uv (if not already installed):

        curl -LsSf https://astral.sh/uv/install.sh | sh
      2. Sync the Python environment and install dependencies:

        uv sync
      3. Run the script:

        uv run code/01_ARF_IMC_sepsis_indicators.py
    3. Run code/02_ARF_IMC_stratification.Rmd

    4. Run code/03_ARF_IMC_initial_analysis.Rmd

    5. Run code/04_ARF_IMC_generate_local_coeff.Rmd

  3. Wait for Hopkins to pool the local coefficients to generate global coefficients

  4. Pull from the GitHub repo to update global coefficients

  5. Run the remaining code, starting at
    code/06_ARF_IMC_apply_summary_coeff.Rmd

Expected Results

In running the code, each site will produce two folders: private_tables and [sitename]_project_output. private_tables is NOT to be shared, as it includes patient row-level data for local analysis. When completed your analysis, please upload [sitename]_project_output to the shared box: https://app.box.com/folder/342878616000.

About

This project evaluates treatment location, describes key patient features and compares patient outcomes for patients supported with NIV (BiPaP, CPAP and HIFNC) in the Emergency Department, but not intubated, across the CLIF consortium.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors