Repository navigation
Bug fix
Age criteria on MEDS data work again (#237). In 0.8.0 and 0.8.1, MEDS_BIRTH rows were dropped completely to keep them out of _ANY_EVENT (#168). That silently broke the usual ways to exclude children:
- A
code: MEDS_BIRTHpredicate matched nothing, so a window requiring no birth in the 18 years before the trigger kept children. _RECORD_STARTmoved from the birth date to the first event after birth, so the same check on_RECORD_STARTalso excluded adults whose records are shorter than 18 years.
Birth rows are now part of the record again, as in 0.7.4: code: MEDS_BIRTH matches them, and _RECORD_START is the birth date. _ANY_EVENT still does not count them, so #168 stays fixed. A task that uses _ANY_EVENT together with a predicate named code also works (#240).
If you ran age-filtered MEDS tasks with 0.8.0 or 0.8.1, re-extract them with 0.8.2.
Full changelog: 0.8.1...0.8.2