[BUG] [feasibility_assessment] The last_year variable in stratified_person.R being set to 9999 causes age_group to be NA in person_stratified_breakdown table #39
Labels
bug
Something isn't working
Describe the bug
The person_stratified_breakdown table's variable age_group has all values set to NA. This is the result of the last_year variable in the stratified_person.R being set to 9999.
The root cause of this is that many CDMs assign the value 9999-01-01 as the end date in the OMOP observation_period table when there is no end date.
To Reproduce
Screenshots (If Applicable)
The text was updated successfully, but these errors were encountered: