Day 0 is inside the outcome window
scripts/08_mimic_gcs_extraction.py, lines 77 and 80
The labels are built with DATE_DIFF(dod, dischtime, DAY) BETWEEN 0 AND 28 and BETWEEN 0 AND 180, so a death on the discharge day counts as a death after discharge. In MIMIC-IV the recorded date of death equals the discharge date for patients who died in hospital, so this is the normal case for them rather than an edge case.