diff --git a/mimic-iii/concepts/severityscores/lods.sql b/mimic-iii/concepts/severityscores/lods.sql index b5c3a7cb..c5c82016 100644 --- a/mimic-iii/concepts/severityscores/lods.sql +++ b/mimic-iii/concepts/severityscores/lods.sql @@ -161,6 +161,8 @@ select end as cardiovascular -- renal + -- BUN cutoffs are mg/dL (Le Gall et al., JAMA 1996): 0 if <17, 1 if 17-27, + -- 3 if 28-55, 5 if >=56. Do not add mmol/L-style thresholds (e.g. 7.50). , case when bun_max is null or urineoutput is null @@ -174,7 +176,6 @@ select when urineoutput >= 10000.0 then 3 when creatinine_max >= 1.20 then 1 when bun_max >= 17.0 then 1 - when bun_max >= 7.50 then 1 else 0 end as renal diff --git a/mimic-iii/concepts_duckdb/severityscores/lods.sql b/mimic-iii/concepts_duckdb/severityscores/lods.sql index d7f62ce3..c9d4b093 100644 --- a/mimic-iii/concepts_duckdb/severityscores/lods.sql +++ b/mimic-iii/concepts_duckdb/severityscores/lods.sql @@ -145,8 +145,6 @@ WITH cpap AS ( THEN 1 WHEN bun_max >= 17.0 THEN 1 - WHEN bun_max >= 7.50 - THEN 1 ELSE 0 END AS renal, CASE diff --git a/mimic-iii/concepts_postgres/severityscores/lods.sql b/mimic-iii/concepts_postgres/severityscores/lods.sql index 55422d67..6d3ced70 100644 --- a/mimic-iii/concepts_postgres/severityscores/lods.sql +++ b/mimic-iii/concepts_postgres/severityscores/lods.sql @@ -134,7 +134,7 @@ WITH cpap AS ( WHEN sysbp_min < 90 THEN 1 ELSE 0 - END AS cardiovascular, /* renal */ + END AS cardiovascular, /* renal */ /* BUN cutoffs are mg/dL (Le Gall et al., JAMA 1996): 0 if <17, 1 if 17-27, */ /* 3 if 28-55, 5 if >=56. Do not add mmol/L-style thresholds (e.g. 7.50). */ CASE WHEN bun_max IS NULL OR urineoutput IS NULL OR creatinine_max IS NULL THEN NULL @@ -154,8 +154,6 @@ WITH cpap AS ( THEN 1 WHEN bun_max >= 17.0 THEN 1 - WHEN bun_max >= 7.50 - THEN 1 ELSE 0 END AS renal, /* pulmonary */ CASE diff --git a/mimic-iv/concepts/score/lods.sql b/mimic-iv/concepts/score/lods.sql index bc105402..89adccd1 100644 --- a/mimic-iv/concepts/score/lods.sql +++ b/mimic-iv/concepts/score/lods.sql @@ -155,6 +155,8 @@ WITH cpap AS ( END AS cardiovascular -- renal + -- BUN cutoffs are mg/dL (Le Gall et al., JAMA 1996): 0 if <17, 1 if 17-27, + -- 3 if 28-55, 5 if >=56. Do not add mmol/L-style thresholds (e.g. 7.50). , CASE WHEN bun_max IS NULL OR urineoutput IS NULL @@ -168,7 +170,6 @@ WITH cpap AS ( WHEN urineoutput >= 10000.0 THEN 3 WHEN creatinine_max >= 1.20 THEN 1 WHEN bun_max >= 17.0 THEN 1 - WHEN bun_max >= 7.50 THEN 1 ELSE 0 END AS renal diff --git a/mimic-iv/concepts_duckdb/score/lods.sql b/mimic-iv/concepts_duckdb/score/lods.sql index c3889ca5..5c1d1c42 100644 --- a/mimic-iv/concepts_duckdb/score/lods.sql +++ b/mimic-iv/concepts_duckdb/score/lods.sql @@ -148,8 +148,6 @@ WITH cpap AS ( THEN 1 WHEN bun_max >= 17.0 THEN 1 - WHEN bun_max >= 7.50 - THEN 1 ELSE 0 END AS renal, CASE diff --git a/mimic-iv/concepts_postgres/score/lods.sql b/mimic-iv/concepts_postgres/score/lods.sql index db27acc2..1f29df1d 100644 --- a/mimic-iv/concepts_postgres/score/lods.sql +++ b/mimic-iv/concepts_postgres/score/lods.sql @@ -133,7 +133,7 @@ WITH cpap AS ( WHEN sbp_min < 90 THEN 1 ELSE 0 - END AS cardiovascular, /* renal */ + END AS cardiovascular, /* renal */ /* BUN cutoffs are mg/dL (Le Gall et al., JAMA 1996): 0 if <17, 1 if 17-27, */ /* 3 if 28-55, 5 if >=56. Do not add mmol/L-style thresholds (e.g. 7.50). */ CASE WHEN bun_max IS NULL OR urineoutput IS NULL OR creatinine_max IS NULL THEN NULL @@ -153,8 +153,6 @@ WITH cpap AS ( THEN 1 WHEN bun_max >= 17.0 THEN 1 - WHEN bun_max >= 7.50 - THEN 1 ELSE 0 END AS renal, /* pulmonary */ CASE