OHDSI / WebAPI

OHDSI WebAPI contains all OHDSI services that can be called from OHDSI applications
Apache License 2.0
130 stars 169 forks source link

Case Cohort Builder #2397

Open khaynes001 opened 2 months ago

khaynes001 commented 2 months ago

Expected behavior

Similar to the ability for the HADES tools in Cohort Incidence package where cases of cohort O are identified from an underlying target cohort (T). This identified cohort is then a numerator to either a persons at risk or person-time denominator. There should be a way in cohort definitions to start with a cohort add a time at risk (index to cohort exit or index to fixed number of days) and identify those with membership in an outcome cohort whilst at risk to instantiate this numerator cohort for profile review or additional characterization activities.

Actual behavior

Current state requires rebuilding the entire target cohort with a condition of inclusion being the presence of the outcome in a time at risk. Which if left as a main feature would lead many users to potentially build in immortal time using features aka membership in cohorts post index to define baseline cohort conditions.

Steps to reproduce behavior

None. This would be a new feature. In theory this process would create a blue underlined hyperlink of the cases in the Incidence Rates tab that could build the .json cohort definition to fully instantiate the cohort of cases T with O in TAR.