From d274159bae48ec64065276ea4eb9aacf7a9bfea0 Mon Sep 17 00:00:00 2001 From: Taksh Date: Wed, 24 Jun 2026 21:09:51 +0530 Subject: [PATCH] fix(mimic-iv): correct KDIGO stage 3 creatinine rise criteria Replace the hard-coded creat_low_past_48hr <= 3.7 shortcut with the KDIGO-defined acute rise checks (>=0.3 mg/dL within 48h or >=1.5x baseline) for patients with creatinine >= 4.0. Fixes #1357. Co-authored-by: Cursor --- mimic-iv/concepts/organfailure/kdigo_stages.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mimic-iv/concepts/organfailure/kdigo_stages.sql b/mimic-iv/concepts/organfailure/kdigo_stages.sql index daf49fce2..db7758cbb 100644 --- a/mimic-iv/concepts/organfailure/kdigo_stages.sql +++ b/mimic-iv/concepts/organfailure/kdigo_stages.sql @@ -20,9 +20,8 @@ WITH cr_stg AS ( -- an acute increase >= 0.3 within 48 hr -- *or* an increase of >= 1.5 times baseline AND ( - cr.creat_low_past_48hr <= 3.7 OR cr.creat >= ( - 1.5 * cr.creat_low_past_7day - ) + cr.creat >= (cr.creat_low_past_48hr + 0.3) + OR cr.creat >= (1.5 * cr.creat_low_past_7day) ) THEN 3 -- TODO: initiation of RRT