Skip to content

Commit 16155c6

Browse files
fix(mimic-iv): correct SIRS score comment typos in sirs.sql
Fix neutrophils spelling and SOFA->SIRS comment copy-paste error. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 3a914fc commit 16155c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mimic-iv/concepts/score/sirs.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ WITH scorecomp AS (
7676
, CASE
7777
WHEN wbc_min < 4.0 THEN 1
7878
WHEN wbc_max > 12.0 THEN 1
79-
WHEN bands_max > 10 THEN 1-- > 10% immature neurophils (band forms)
79+
WHEN bands_max > 10 THEN 1 -- > 10% immature neutrophils (band forms)
8080
WHEN COALESCE(wbc_min, bands_max) IS NULL THEN NULL
8181
ELSE 0
8282
END AS wbc_score
@@ -86,7 +86,7 @@ WITH scorecomp AS (
8686

8787
SELECT
8888
ie.subject_id, ie.hadm_id, ie.stay_id
89-
-- Combine all the scores to get SOFA
89+
-- Combine all component scores to get SIRS
9090
-- Impute 0 if the score is missing
9191
, COALESCE(temp_score, 0)
9292
+ COALESCE(heart_rate_score, 0)

0 commit comments

Comments
 (0)