MIT-LCP / MIT-LCP/mimic-code

Potential inconsistency of SBP between vitalsign and triage table in MIMIC-IV-ED

Open
#1,228 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Prerequisites
Description

Could you share more on how the vital signs in vitalsign and triage tables are recorded? I thought the vital sign in the triage table will be the first reading in vitalsign table, but after I run the following query, I realized that's not the case, so I am confused.

with temp as ( select *, rank() over (partition by stay_id order by charttime asc) as rank1 from mimic_ed.vitalsign ) select temp1.subject_id, temp1.stay_id, temp1.sbp as vitalsign_sbp, triage.sbp as triage_sbp from (select * from temp where rank1 = 1) temp1 join triage using (stay_id)

I did this check because I found that many patients have their first SBP reading recorded only after quite a while after ED intime, which looks weird to me.

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 MIMIC-IV-ED online documentation and compare the definitions and collection timing for the vitalsign and triage tables. Reproduce the supplied query, including the stay_id and charttime comparison, to identify why the SBP values differ. Done means documenting the relationship between the two readings and explaining the delayed first vitalsign measurement.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.