MIT-LCP / MIT-LCP/mimic-code

Ventilator duration inconsistent with charted data

Open
#618 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

mimic-iii
Dominant language
Jupyter Notebook
Stars
3.4k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
Description

Hello,

I was looking at the chartevents table for patients who were on ventilation. I was able to see that their ventilation duration was for example 100 hours but the PEEP and Fi02 readings are captured only for 2 days/48 hours.

For example subject_id = 1354 was in icu from 18th - 22nd but his/her PEEP/Fio2 readings were captured only till 19th in chartevents table.

Similarly subject_id = 78996

I see similar scenario for several other subjects. data is missing for several other subjects like this.

Is this expected or am I making any mistake? Please find the query that I tried. I understand it has lot of itemids but these were used for PEEP and Fi02. few may not be directly related. I was expecting to see the readings till 22nd. I mean for his full duration.

select min(charttime), max(charttime) from `physionet-data.mimiciii_clinical`.chartevents where subject_id = 1354 and icustay_id = 224934 and itemid in (1096, 505, 506, 60, 437, 3555, 8053,1227,686,5964,8345,8357,6349,6350,6985,7534,7802,7803,6489,6601, 6859,6889,6924, 6943,224699,224700,220339,1040,1206,185, 186,189,190,191,727,3420,3421,3422,1863, 5955,2518,2981,7018,7041,7570,8517,226754,227009,227010,160,727,3420,223835)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied chartevents query for subject_id 1354 and icustay_id 224934, then compare the listed PEEP/FiO2 itemids with the ICU stay dates; repeat for subject_id 78996. Done means documenting whether the shorter charted range is expected or identifying a reproducible data problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.