From 998d8b4b4c59c97e0ead036b419a512656fdf464 Mon Sep 17 00:00:00 2001 From: Jwoo5 Date: Thu, 29 Aug 2024 07:50:32 +0900 Subject: [PATCH] Fixed in-icu mortality task to exclude patients who die or are discharged from the ICU in the gap window --- src/MEDS-DEV/tasks/criteria/mortality/in_icu/first_24h.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDS-DEV/tasks/criteria/mortality/in_icu/first_24h.yaml b/src/MEDS-DEV/tasks/criteria/mortality/in_icu/first_24h.yaml index 3f521e4..f45df0b 100644 --- a/src/MEDS-DEV/tasks/criteria/mortality/in_icu/first_24h.yaml +++ b/src/MEDS-DEV/tasks/criteria/mortality/in_icu/first_24h.yaml @@ -43,7 +43,7 @@ windows: end_inclusive: True has: icu_admission: (None, 0) - discharge_or_death: (0, None) + discharge_or_death: (None, 0) target: start: gap.end end: start -> discharge_or_death