It would be nice to have the option to specify the following when extracting the target cohort:
- minAge and maxAge
- genderConceptIds
- nestingCohortId
The minAge/maxAge just restrict the age at target index to between them (if minAge is NULL then 0 is used and if maxAge is NULL then 200 us used).
The genderConceptIds just restricts the target cohort to those with the specified genderConcepts.
The nestingCohortId lets you only include people in the target cohort who are also in the nesting cohort at index. This is mostly be NULL and not used but can be useful if for example you want to make predictions for a target drug cohort who are likely to have the drug due to a specific indication (the nestingCohortId will be the indiction cohort id).
These are options in CohortMethod and SelfControlledCaseSeries. Characterization is also going to have these added. If PatientLevelPrediction gets them, it will make it easiest to define studies across different analyses since they have the same options.
It would be nice to have the option to specify the following when extracting the target cohort:
The minAge/maxAge just restrict the age at target index to between them (if minAge is NULL then 0 is used and if maxAge is NULL then 200 us used).
The genderConceptIds just restricts the target cohort to those with the specified genderConcepts.
The nestingCohortId lets you only include people in the target cohort who are also in the nesting cohort at index. This is mostly be NULL and not used but can be useful if for example you want to make predictions for a target drug cohort who are likely to have the drug due to a specific indication (the nestingCohortId will be the indiction cohort id).
These are options in CohortMethod and SelfControlledCaseSeries. Characterization is also going to have these added. If PatientLevelPrediction gets them, it will make it easiest to define studies across different analyses since they have the same options.