30d post-hospital-discharge mortality
unknown
yaml
6 days ago
1.1 kB
2
Indexable
Never
predicates: hospital_discharge: code: [ "HOSPITAL_DISCHARGE//HOME", "HOSPITAL_DISCHARGE//UNK", "HOSPITAL_DISCHARGE//HOME HEALTH CARE", "HOSPITAL_DISCHARGE//SKILLED NURSING FACILITY", "HOSPITAL_DISCHARGE//REHAB", "HOSPITAL_DISCHARGE//DIED", "HOSPITAL_DISCHARGE//CHRONIC/LONG TERM ACUTE CARE", "HOSPITAL_DISCHARGE//HOSPICE", "HOSPITAL_DISCHARGE//AGAINST ADVICE", "HOSPITAL_DISCHARGE//PSYCH FACILITY", "HOSPITAL_DISCHARGE//ACUTE HOSPITAL", "HOSPITAL_DISCHARGE//OTHER FACILITY", "HOSPITAL_DISCHARGE//ASSISTED LIVING", "HOSPITAL_DISCHARGE//HEALTHCARE FACILITY" ] death: code: DEATH trigger: hospital_discharge windows: input: start: NULL end: trigger start_inclusive: True end_inclusive: True has: death: (None, 0) # They must be alive at the time of hospital discharge index_timestamp: end target: start: trigger end: start + 30d start_inclusive: False end_inclusive: True label: death