diff --git a/mimic-iv/concepts_duckdb/organfailure/kdigo_stages.sql b/mimic-iv/concepts_duckdb/organfailure/kdigo_stages.sql index c9eb0294..8b0b6369 100644 --- a/mimic-iv/concepts_duckdb/organfailure/kdigo_stages.sql +++ b/mimic-iv/concepts_duckdb/organfailure/kdigo_stages.sql @@ -14,7 +14,10 @@ WITH cr_stg AS ( THEN 3 WHEN cr.creat >= 4 AND ( - cr.creat_low_past_48hr <= 3.7 OR cr.creat >= ( + cr.creat >= ( + cr.creat_low_past_48hr + 0.3 + ) + OR cr.creat >= ( 1.5 * cr.creat_low_past_7day ) ) diff --git a/mimic-iv/concepts_postgres/organfailure/kdigo_stages.sql b/mimic-iv/concepts_postgres/organfailure/kdigo_stages.sql index bb63624e..3946bccf 100644 --- a/mimic-iv/concepts_postgres/organfailure/kdigo_stages.sql +++ b/mimic-iv/concepts_postgres/organfailure/kdigo_stages.sql @@ -15,7 +15,10 @@ WITH cr_stg AS ( THEN 3 WHEN cr.creat >= 4 AND /* For patients reaching Stage 3 by SCr >4.0 mg/dl */ /* require that the patient first achieve ... */ /* an acute increase >= 0.3 within 48 hr */ /* *or* an increase of >= 1.5 times baseline */ ( - cr.creat_low_past_48hr <= 3.7 OR cr.creat >= ( + cr.creat >= ( + cr.creat_low_past_48hr + 0.3 + ) + OR cr.creat >= ( 1.5 * cr.creat_low_past_7day ) )