Skip to content

Commit 8b74987

Browse files
docs(mimic-iii): sample SpO2 pull for a stay list
Help validate #1957 cohorts before blaming missing pulse ox. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 47f163a commit 8b74987

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- Template: SpO2 rows for a list of icustay_id values (both common itemids).
2+
3+
SELECT ce.icustay_id, ce.itemid, ce.charttime, ce.valuenum, ce.valueuom
4+
FROM mimiciii.chartevents AS ce
5+
WHERE ce.itemid IN (646, 220277)
6+
AND ce.icustay_id IN (/* your icustay_id list */)
7+
ORDER BY ce.icustay_id, ce.charttime
8+
LIMIT 100;

0 commit comments

Comments
 (0)