Skip to content

Commit 43e3743

Browse files
committed
fix issues 1297
1 parent 30c7bcc commit 43e3743

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mimic-iv/concepts/measurement/vitalsign.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ select
55
, ce.stay_id
66
, ce.charttime
77
, AVG(case when itemid in (220045) and valuenum > 0 and valuenum < 300 then valuenum else null end) as heart_rate
8-
, AVG(case when itemid in (220179,220050) and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp
9-
, AVG(case when itemid in (220180,220051) and valuenum > 0 and valuenum < 300 then valuenum else null end) as dbp
8+
, AVG(case when itemid in (220179,220050,225309) and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp
9+
, AVG(case when itemid in (220180,220051,225310) and valuenum > 0 and valuenum < 300 then valuenum else null end) as dbp
1010
, AVG(case when itemid in (220052,220181,225312) and valuenum > 0 and valuenum < 300 then valuenum else null end) as mbp
1111
, AVG(case when itemid = 220179 and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp_ni
1212
, AVG(case when itemid = 220180 and valuenum > 0 and valuenum < 300 then valuenum else null end) as dbp_ni

0 commit comments

Comments
 (0)