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

Era fy cohort #2

Closed
gowthamrao opened this issue Jul 1, 2022 · 0 comments
Closed

Era fy cohort #2

gowthamrao opened this issue Jul 1, 2022 · 0 comments

Comments

@gowthamrao
Copy link
Member

We sometimes use SQL to generate cohorts that conform to the structure that is cohort_definition_id, subject_id, cohort_start_date, cohort_end_date

But - these sql may not conform as described here OHDSI/CohortGenerator#36

If not conforming, then we can make it conforming using the cohort era logic in Circe https://github.com/OHDSI/circe-be/blob/4504aa27efa6bd16ab247b969e740fb005daa6a8/src/main/resources/resources/cohortdefinition/sql/generateCohort.sql#L65-L114

It would nice if cohort generator is able to just executed this SQL, delete and insert the person level data back into the cohort table - after era fying using the circe code.

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

1 participant