Skip to content

Commit f3c8a49

Browse files
fix: correct pivoted OASIS preiculos score bands
The 24h–311.8h and >311.8h PreICULoS arms were swapped relative to the published OASIS table and first-day oasis.sql (#1568 fixed the latter). Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3a914fc commit f3c8a49

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

mimic-iii/concepts/pivot/pivoted_oasis.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ WITH co_hours AS
133133
when preiculos < 612 then 5 -- 0 00:10:12
134134
when preiculos < 17820 then 3 -- 0 04:57:00
135135
when preiculos < 86400 then 0 -- 1 day
136-
when preiculos < 1123680 then 1 -- 12 23:48:00
137-
else 2 end as preiculos_score
136+
when preiculos < 1123680 then 2 -- 12 23:48:00
137+
else 1 end as preiculos_score
138138
, case when age is null then null
139139
when age < 24 then 0
140140
when age <= 53 then 3

mimic-iii/concepts_duckdb/pivot/pivoted_oasis.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ WITH co_hours AS (
134134
WHEN preiculos < 86400
135135
THEN 0
136136
WHEN preiculos < 1123680
137-
THEN 1
138-
ELSE 2
137+
THEN 2
138+
ELSE 1
139139
END AS preiculos_score,
140140
CASE
141141
WHEN age IS NULL

mimic-iii/concepts_postgres/pivot/pivoted_oasis.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ WITH co_hours AS (
137137
WHEN preiculos < 86400
138138
THEN 0 /* 1 day */
139139
WHEN preiculos < 1123680
140-
THEN 1 /* 12 23:48:00 */
141-
ELSE 2
140+
THEN 2 /* 12 23:48:00 */
141+
ELSE 1
142142
END AS preiculos_score,
143143
CASE
144144
WHEN age IS NULL

0 commit comments

Comments
 (0)