MIT-LCP / MIT-LCP/mimic-code

Incorrect units for 'Length in cm' and 'Length Calc Inches'

Open
#412 5 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

The valueuom column (units) for 'Length in cm' and 'Length Calc Inches' must be incorrect. The issue can be demonstrated with this query:

select d.label, ce.itemid, ce.value, ce.valueuom, ce.charttime
from chartevents as ce
inner join d_items as d on ce.itemid = d.itemid
where subject_id = 10 and d.label in ('Length Calc Inches', 'Length in cm');

EDIT: I can see from your demographics query that it is not an issue there, however it might be confusing for people who aren't using that particular script to obtain height (like 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 supplied query against chartevents and d_items for subject_id 10, focusing on the two named labels and their valueuom values. Compare the results with the demographics query mentioned in the issue and determine the expected units. Done means the units for both labels are consistent and no longer misleading for users querying the tables directly.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.