Skip to content

Commit

Permalink
Added another layer of nesting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcdermott committed Aug 25, 2024
1 parent 49f3045 commit 9011d4b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/test_other_meds.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,12 @@ def parse_labels_yaml(yaml_str: str) -> dict[str, pl.DataFrame]:
discharge:
expr: or(hospital_discharge_0,hospital_discharge_1,hospital_discharge_2,hospital_discharge_3,hospital_discharge_4,hospital_discharge_5,hospital_discharge_6,hospital_discharge_7,hospital_discharge_8,hospital_discharge_9,hospital_discharge_10,hospital_discharge_11,hospital_discharge_12,hospital_discharge_13)
death:
code: DEATH
discharge_or_death:
expr: or(discharge, death)
trigger: discharge
windows:
Expand All @@ -473,7 +479,9 @@ def parse_labels_yaml(yaml_str: str) -> dict[str, pl.DataFrame]:
start: end <- admission
end: trigger
start_inclusive: True
end_inclusive: True
end_inclusive: False
has:
discharge_or_death: (None, 0)
input:
start: NULL
end: trigger
Expand Down

0 comments on commit 9011d4b

Please sign in to comment.