Reduced echo-derived LVEF 9m post-ECG
unknown
yaml
14 days ago
1.1 kB
2
Indexable
Never
description: >- This task predicts whether the patient will have an echo-derived LVEF < 50% within 9 months of an ECG. To be included, patients must have a prior diagnosis of HF and have at least one measurement at or more than 9 months after the ECG. predicates: # Plain predicates echo_derived_reduced_lvef: code: { regex: "LAB//227008.*" } value_min: null value_max: 0.50 ECG: code: PROCEDURE//ICD//9//8952 HF: code: { regex: "^DRG.*HEART FAILURE.*" } trigger: ECG windows: has_HF: start: null end: trigger start_inclusive: True end_inclusive: True has: HF: (1, None) input: start: null end: trigger start_inclusive: True end_inclusive: True index_timestamp: end target: start: input.end end: start + 270d start_inclusive: False end_inclusive: True label: echo_derived_reduced_lvef censoring: start: target.end end: null start_inclusive: False end_inclusive: True has: _ANY_EVENT: (1, None)