First 24h in-ICU mortality

 avatar
justin13601
yaml
2 months ago
2.5 kB
6
Indexable
description: >-
  This file specifies the base configuration for the prediction of in ICU mortality, leveraging only the first
  24 hours of data after ICU admission, with a 24 hour gap between the input window and the target window.
  Patients who die or are discharged from the ICU in the gap window are excluded. Patients who die in the same
  hospital stay but in a subsequent ICU stay are **not** postiive labels for this task.
  Note that this task is in-**ICU** mortality, not in-**hospital** mortality or **30-day** mortality, which
  are different tasks. 
  Note that this task is predicting the outcome for a patient's entire ICU admission, not just the first 24
  hours or the subsequent 24 hours after the trigger event. Imminent mortality (on various time-scales) are
  different tasks.

predicates:
  icu_admission:
    code: [
      "ICU_ADMISSION//Medical Intensive Care Unit (MICU)",
      "ICU_ADMISSION//Medical/Surgical Intensive Care Unit (MICU/SICU)",
      "ICU_ADMISSION//Cardiac Vascular Intensive Care Unit (CVICU)",
      "ICU_ADMISSION//Surgical Intensive Care Unit (SICU)",
      "ICU_ADMISSION//Trauma SICU (TSICU)",
      "ICU_ADMISSION//Coronary Care Unit (CCU)",
      "ICU_ADMISSION//Neuro Intermediate",
      "ICU_ADMISSION//Neuro Surgical Intensive Care Unit (Neuro SICU)",
      "ICU_ADMISSION//Neuro Stepdown"
    ]
  
  icu_discharge:
    code: [
      "ICU_DISCHARGE//Medical Intensive Care Unit (MICU)",
      "ICU_DISCHARGE//Medical/Surgical Intensive Care Unit (MICU/SICU)",
      "ICU_DISCHARGE//Cardiac Vascular Intensive Care Unit (CVICU)",
      "ICU_DISCHARGE//Surgical Intensive Care Unit (SICU)",
      "ICU_DISCHARGE//Coronary Care Unit (CCU)",
      "ICU_DISCHARGE//Trauma SICU (TSICU)",
      "ICU_DISCHARGE//Neuro Intermediate",
      "ICU_DISCHARGE//Neuro Stepdown",
      "ICU_DISCHARGE//Neuro Surgical Intensive Care Unit (Neuro SICU)"
    ]

  death:
    code: DEATH
  discharge_or_death:
    expr: or(icu_discharge, death)

trigger: icu_admission

windows:
  input:
    start: NULL
    end: trigger + 24h
    start_inclusive: True
    end_inclusive: True
    index_timestamp: end
  gap:
    start: input.end
    end: start + 24h
    start_inclusive: False
    end_inclusive: True
    has:
      icu_admission: (None, 0)
      icu_discharge: (None, 0)
      death: (None, 0)
  target:
    start: gap.end
    end: start -> discharge_or_death
    start_inclusive: False
    end_inclusive: True
    label: death
Editor is loading...