Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core patient counts table should have some presentation of patient age #185

Open
James-R-Jones opened this issue Feb 21, 2024 · 3 comments

Comments

@James-R-Jones
Copy link
Contributor

I know studies will have their own age resolution and ranges that are most relevant, but could default to showing individual ages or a range to quickly characterize a site's population along with gender race and ethnicity.

Expected: ability to determine a site's general population distribution in the core patient table
Actual: no age column at the moment

@dogversioning
Copy link
Contributor

So the reason we stopped doing this is due to the inexorable march of time - we have to calculate age when the library is run, and that mean if we run the same thing a year later, all the ages have gone up one, and your bins get skewed, and your results may lose repeatability.

there are two current workarounds:

  • a user can, in their study, specify a date against which to calculate ages, and then those will always be consistent
  • You can calculate the age from the birth date at the time of encounter.

We can provide guidance in documentation for both of these approaches? Open to other suggestions.

@James-R-Jones
Copy link
Contributor Author

Ok, makes sense, good to honor repeatability.

How do we feel about exposing birthyear in Core Patient counts instead? I still think it is important to see the distribution as a population demographic and it is something studies could easily build off

@dogversioning
Copy link
Contributor

Yeah, that seems like a reasonable add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants