diff --git a/mimic-iii/concepts/organfailure/kdigo_stages.sql b/mimic-iii/concepts/organfailure/kdigo_stages.sql index eff4c9da9..314e4a285 100644 --- a/mimic-iii/concepts/organfailure/kdigo_stages.sql +++ b/mimic-iii/concepts/organfailure/kdigo_stages.sql @@ -17,7 +17,7 @@ with cr_stg AS -- For patients reaching Stage 3 by SCr >4.0 mg/dl -- require that the patient first achieve ... 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)) + and (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 when cr.creat >= (cr.creat_low_past_7day*2.0) then 2 diff --git a/mimic-iv/concepts/organfailure/kdigo_stages.sql b/mimic-iv/concepts/organfailure/kdigo_stages.sql index daf49fce2..8748ca39b 100644 --- a/mimic-iv/concepts/organfailure/kdigo_stages.sql +++ b/mimic-iv/concepts/organfailure/kdigo_stages.sql @@ -20,7 +20,7 @@ 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 >= ( + cr.creat >= (cr.creat_low_past_48hr + 0.3) OR cr.creat >= ( 1.5 * cr.creat_low_past_7day ) )