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
Reindex based on self: Given a cohort with subject_id, cohort_start_date, cohort_end_date, create a new cohort that is subject_id, cohort_end_date AS cohort_start_date, cohort_end_date . Other variations of this subject_id, cohort_end_date AS cohort_start_date, observation_period_end_date AS cohort_end_date (this variation requires eraFy)
Reindex based on subset cohort: Given a target cohort and a subset cohort, apply cohort subset operation, but take the date of the subset cohort. e.g. where t is targetCohort, and s is subsetCohort (and of course, we need to check if output would conform to cohort definition of era and cohort_start_date >= cohort_end_date)
subject_id, t.cohort_start_date, s.cohort_start_date - 1 AS cohort_end_date - use case: exit when target cohort becomes part of subset cohort. persons receiving treatment for hypertension (target) subset by uncontrolled hypertension i.e. exit target when they are start uncontrolled (subset). The '1' maybe a parameter with default value of 1.
subject_id, t.cohort_start_date, s.cohort_end_date AS t.cohort_end_date - use case: using treatment cohort (target cohort) and indication cohort (subset cohort) - here the output would be persons stop being in the treatment cohort when they are no longer indicated. e.g. persons stop being in treated for hypertension cohort, when they are no longer hypertensive (subset end).
The text was updated successfully, but these errors were encountered:
I would like request the Generation of new cohorts with different index date (with new cohort id)
Example of a use case: Exist date diagnostics: See OHDSI/CohortDiagnostics#298
Request:
subject_id, cohort_start_date, cohort_end_date
, create a new cohort that issubject_id, cohort_end_date AS cohort_start_date, cohort_end_date
. Other variations of thissubject_id, cohort_end_date AS cohort_start_date, observation_period_end_date AS cohort_end_date
(this variation requires eraFy)subject_id, t.cohort_start_date, s.cohort_start_date - 1 AS cohort_end_date
- use case: exit when target cohort becomes part of subset cohort. persons receiving treatment for hypertension (target) subset by uncontrolled hypertension i.e. exit target when they are start uncontrolled (subset). The '1' maybe a parameter with default value of 1.subject_id, t.cohort_start_date, s.cohort_end_date AS t.cohort_end_date
- use case: using treatment cohort (target cohort) and indication cohort (subset cohort) - here the output would be persons stop being in the treatment cohort when they are no longer indicated. e.g. persons stop being in treated for hypertension cohort, when they are no longer hypertensive (subset end).The text was updated successfully, but these errors were encountered: