You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For cohort selection - when I set MinAge, will it filter based on age at the encounter which matches the ECL, or current age (which will not be relevant for historic data)?
Thanks
The text was updated successfully, but these errors were encountered:
Hi @sophie-w, thank you for your insightful question!
The minAge parameter in the cohort selection API is the current age of the patient.
The relevant section of code in the 1.2.0 release is here.
Now I think about it I agree that a more relevant selection criterion for longitudinal data would be the age of the patient at the time of the encounter.
It could be useful to have two sets of parameters: currentMinAge & currentMax and alsoencounterMinAge & encounterMaxAge to select patients based on their age at the time of the encounter.
Also the Swagger API page could really do with a short description for each parameter so users are not left guessing.
I'll mark this as an enhancement request. There is no development resources assigned to this tool at the moment but someone in the community may contribute or someone in SNOMED International may find some time.
For cohort selection - when I set MinAge, will it filter based on age at the encounter which matches the ECL, or current age (which will not be relevant for historic data)?
Thanks
The text was updated successfully, but these errors were encountered: