eicu-code icon indicating copy to clipboard operation
eicu-code copied to clipboard

Mechanical ventilation in eICU

Open acanakoglu opened this issue 4 years ago • 4 comments

I need the total ventilation time in ICU unit. I checked the respiratorycare table; however, when I checked the minimum and maximum values of the ventstartoffset, ventendoffset columns, and it seems to me that they are inconsistent. And also I checked there are 865224 entries with zero ventendoffset out of 865381 total entries. In other words, only 157 entries have non zero values.

Is there any way to extract this information?

acanakoglu avatar Sep 06 '19 22:09 acanakoglu

#49 mentions that most of the offsets in respiratorycare are indeed zero. One can get a sense of ventilation times by looking at the timestamps of records that imply ventilation. That is what we are doing for a manuscript under preparation. Once it is finished, we will publish our code.

willemvandenboom avatar Sep 07 '19 02:09 willemvandenboom

See https://github.com/nus-mornin-lab/oxygenation_kc/blob/master/data-extraction/eICU/eicu_oxygen_therapy.sql for how we extracted ventilation start and end times.

willemvandenboom avatar Oct 09 '19 08:10 willemvandenboom

@willemvandenboom the vantilation start time and end times you extracted means oxygen_therapy? if we want extracte mechanical ventilatio(mv)n duration, we should refer this or some part of your code can represent mv?

yongfanbeta avatar Dec 31 '19 03:12 yongfanbeta

@Victorfy Indeed, our focus was oxygen therapy. Oxygen therapy is closely related to (mechanical) ventilation. Therefore, our script for MIMIC (https://github.com/nus-mornin-lab/oxygenation_kc/blob/master/data-extraction/MIMIC/mimic_oxygen_therapy.sql) heavily leans on the one that you reference (https://github.com/MIT-LCP/mimic-code/blob/master/concepts/durations/ventilation-durations.sql).

Getting rid of exclusions due to lack of oxygen therapy in our script for the eICU-CRD (https://github.com/nus-mornin-lab/oxygenation_kc/blob/master/data-extraction/eICU/eicu_oxygen_therapy.sql), yields a way of extracting ventilation start and end times from the eICU-CRD.

willemvandenboom avatar Dec 31 '19 04:12 willemvandenboom