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 30c7bcc commit 43e3743Copy full SHA for 43e3743
mimic-iv/concepts/measurement/vitalsign.sql
@@ -5,8 +5,8 @@ select
5
, ce.stay_id
6
, ce.charttime
7
, 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
+ , AVG(case when itemid in (220179,220050,225309) and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp
+ , AVG(case when itemid in (220180,220051,225310) and valuenum > 0 and valuenum < 300 then valuenum else null end) as dbp
10
, AVG(case when itemid in (220052,220181,225312) and valuenum > 0 and valuenum < 300 then valuenum else null end) as mbp
11
, AVG(case when itemid = 220179 and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp_ni
12
, AVG(case when itemid = 220180 and valuenum > 0 and valuenum < 300 then valuenum else null end) as dbp_ni
0 commit comments