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
2 changes: 1 addition & 1 deletion mimic-iii/concepts/severityscores/sapsii.sql
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ select

, case
when tempc_max is null then null
when tempc_min < 39.0 then 0
when tempc_max >= 39.0 then 3
when tempc_min < 39.0 then 0
end as temp_score

, case
Expand Down
4 changes: 2 additions & 2 deletions mimic-iii/concepts_duckdb/severityscores/sapsii.sql
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ WITH cpap AS (
CASE
WHEN tempc_max IS NULL
THEN NULL
WHEN tempc_min < 39.0
THEN 0
WHEN tempc_max >= 39.0
THEN 3
WHEN tempc_min < 39.0
THEN 0
END AS temp_score,
CASE
WHEN pao2fio2_vent_min IS NULL
Expand Down
4 changes: 2 additions & 2 deletions mimic-iii/concepts_postgres/severityscores/sapsii.sql
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,10 @@ WITH cpap AS (
CASE
WHEN tempc_max IS NULL
THEN NULL
WHEN tempc_min < 39.0
THEN 0
WHEN tempc_max >= 39.0
THEN 3
WHEN tempc_min < 39.0
THEN 0
END AS temp_score,
CASE
WHEN pao2fio2_vent_min IS NULL
Expand Down