Skip to content

Commit 4e16b48

Browse files
authored
Merge pull request #2143 from Chessing234/fix/sirs-comment-typos
fix: correct SIRS comment typos in mimic-iii and mimic-iv
2 parents 20167f7 + 44a925e commit 4e16b48

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎mimic-iii/concepts/severityscores/sirs.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ left join `physionet-data.mimiciii_derived.labs_first_day` l
8888
, case
8989
when wbc_min < 4.0 then 1
9090
when wbc_max > 12.0 then 1
91-
when bands_max > 10 then 1-- > 10% immature neurophils (band forms)
91+
when bands_max > 10 then 1 -- > 10% immature neutrophils (band forms)
9292
when coalesce(wbc_min, bands_max) is null then null
9393
else 0
9494
end as wbc_score
@@ -97,7 +97,7 @@ left join `physionet-data.mimiciii_derived.labs_first_day` l
9797
)
9898
select
9999
ie.subject_id, ie.hadm_id, ie.icustay_id
100-
-- Combine all the scores to get SOFA
100+
-- Combine all component scores to get SIRS
101101
-- Impute 0 if the score is missing
102102
, coalesce(temp_score,0)
103103
+ coalesce(heartrate_score,0)

‎mimic-iii/concepts_postgres/severityscores/sirs.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ WITH bg AS (
5858
WHEN wbc_max > 12.0
5959
THEN 1
6060
WHEN bands_max > 10
61-
THEN 1 /* > 10% immature neurophils (band forms) */
61+
THEN 1 /* > 10% immature neutrophils (band forms) */
6262
WHEN COALESCE(wbc_min, bands_max) IS NULL
6363
THEN NULL
6464
ELSE 0
@@ -68,7 +68,7 @@ WITH bg AS (
6868
SELECT
6969
ie.subject_id,
7070
ie.hadm_id,
71-
ie.icustay_id, /* Combine all the scores to get SOFA */ /* Impute 0 if the score is missing */
71+
ie.icustay_id, /* Combine all component scores to get SIRS */ /* Impute 0 if the score is missing */
7272
COALESCE(temp_score, 0) + COALESCE(heartrate_score, 0) + COALESCE(resp_score, 0) + COALESCE(wbc_score, 0) AS sirs,
7373
temp_score,
7474
heartrate_score,

‎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)

‎mimic-iv/concepts_postgres/score/sirs.sql‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ WITH scorecomp AS (
5454
WHEN wbc_max > 12.0
5555
THEN 1
5656
WHEN bands_max > 10
57-
THEN 1 /* > 10% immature neurophils (band forms) */
57+
THEN 1 /* > 10% immature neutrophils (band forms) */
5858
WHEN COALESCE(wbc_min, bands_max) IS NULL
5959
THEN NULL
6060
ELSE 0
@@ -64,7 +64,7 @@ WITH scorecomp AS (
6464
SELECT
6565
ie.subject_id,
6666
ie.hadm_id,
67-
ie.stay_id, /* Combine all the scores to get SOFA */ /* Impute 0 if the score is missing */
67+
ie.stay_id, /* Combine all component scores to get SIRS */ /* Impute 0 if the score is missing */
6868
COALESCE(temp_score, 0) + COALESCE(heart_rate_score, 0) + COALESCE(resp_score, 0) + COALESCE(wbc_score, 0) AS sirs,
6969
temp_score,
7070
heart_rate_score,

0 commit comments

Comments
 (0)