Description Usage Arguments Details Value
View source: R/encounter_metrics.R
worst_osi
returns the worst (highest) oxygen saturation
index, for each encounter selected.
1 | worst_osi(enc_info, interventions, vitals)
|
interventions |
|
vitals |
|
enc_info_df |
|
Missing values are imputed with zero: Encounters that do not have all measurements (i.e, mean airway pressure, fio2 or pulseox) get OSI = 0, as per Nelson. NOTE: This function may take up to 5 minutes on the entire DS 2.1.1.
data_frame:
chr
: patient_id_encounter
num
: worst_osi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.