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

Add observationPeriodCohort #190

Open
edward-burn opened this issue Jun 1, 2024 · 5 comments
Open

Add observationPeriodCohort #190

edward-burn opened this issue Jun 1, 2024 · 5 comments

Comments

@edward-burn
Copy link
Collaborator

observationPeriodCohort - another base cohort function that similar to measurementCohort that adds some extra options. For observationPeriodCohort, the extra argument would relate to the period_type_concept_id

@catalamarti
Copy link
Collaborator

If we do this, should demographicsCohort exist?

Having observationPeriodCohort + trimDemographics would do the trick right?

@edward-burn @nmercadeb

@edward-burn
Copy link
Collaborator Author

Well for me observationPeriodCohort wouldn't have any requirement on sex, age etc. It is just to allow for observation period table extra arguments (like we have for measurementCohort and could have for more tables #191)

@catalamarti
Copy link
Collaborator

Yep, the one that I propose to deprecate is demographicsCohort

@edward-burn
Copy link
Collaborator Author

Perhaps, but I imagine just running demographicsCohort would be quicker than using observationPeriodCohort + trimDemographics, no?

@catalamarti
Copy link
Collaborator

I think it should be the same basically that is what is done inside (if I remember corrctly)

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

No branches or pull requests

2 participants