We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47f163a commit 8b74987Copy full SHA for 8b74987
1 file changed
mimic-iii/concepts/documentation/spo2_for_icustays.sql
@@ -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