Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mimic-iii/concepts/pivot/pivoted_oasis.sql
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ WITH co_hours AS
when preiculos < 612 then 5 -- 0 00:10:12
when preiculos < 17820 then 3 -- 0 04:57:00
when preiculos < 86400 then 0 -- 1 day
when preiculos < 1123680 then 1 -- 12 23:48:00
else 2 end as preiculos_score
when preiculos < 1123680 then 2 -- 12 23:48:00
else 1 end as preiculos_score
, case when age is null then null
when age < 24 then 0
when age <= 53 then 3
Expand Down
4 changes: 2 additions & 2 deletions mimic-iii/concepts_duckdb/pivot/pivoted_oasis.sql
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ WITH co_hours AS (
WHEN preiculos < 86400
THEN 0
WHEN preiculos < 1123680
THEN 1
ELSE 2
THEN 2
ELSE 1
END AS preiculos_score,
CASE
WHEN age IS NULL
Expand Down
4 changes: 2 additions & 2 deletions mimic-iii/concepts_postgres/pivot/pivoted_oasis.sql
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ WITH co_hours AS (
WHEN preiculos < 86400
THEN 0 /* 1 day */
WHEN preiculos < 1123680
THEN 1 /* 12 23:48:00 */
ELSE 2
THEN 2 /* 12 23:48:00 */
ELSE 1
END AS preiculos_score,
CASE
WHEN age IS NULL
Expand Down