Skip to content

Commit

Permalink
Merge pull request #1477 from yongfanbeta/master
Browse files Browse the repository at this point in the history
fix issues 1297
  • Loading branch information
alistairewj authored Feb 3, 2023
2 parents 3e0978f + 43e3743 commit 005b531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mimic-iv/concepts/measurement/vitalsign.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ select
, ce.stay_id
, ce.charttime
, AVG(case when itemid in (220045) and valuenum > 0 and valuenum < 300 then valuenum else null end) as heart_rate
, AVG(case when itemid in (220179,220050) and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp
, 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
, AVG(case when itemid in (220052,220181,225312) and valuenum > 0 and valuenum < 300 then valuenum else null end) as mbp
, AVG(case when itemid = 220179 and valuenum > 0 and valuenum < 400 then valuenum else null end) as sbp_ni
, AVG(case when itemid = 220180 and valuenum > 0 and valuenum < 300 then valuenum else null end) as dbp_ni
Expand Down

0 comments on commit 005b531

Please # to comment.