Skip to content

Commit 0c77c58

Browse files
committed
remove flow rate from table as it is not o2
1 parent 10613e7 commit 0c77c58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mimic-iv/concepts/measurement/oxygen_delivery.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ with ce_stg1 as
66
, ce.charttime
77
, CASE
88
-- merge o2 flows into a single row
9-
WHEN itemid IN (223834, 227582, 224691) THEN 223834
9+
WHEN itemid IN (223834, 227582) THEN 223834
1010
ELSE itemid END AS itemid
1111
, value
1212
, valuenum
@@ -18,9 +18,10 @@ with ce_stg1 as
1818
(
1919
223834 -- o2 flow
2020
, 227582 -- bipap o2 flow
21-
, 224691 -- Flow Rate (L)
2221
-- additional o2 flow is its own column
2322
, 227287 -- additional o2 flow
23+
-- below flow rate is *not* o2 flow, and not included
24+
-- , 224691 -- Flow Rate (L)
2425
)
2526
)
2627
, ce_stg2 AS

0 commit comments

Comments
 (0)