Operators for subsetting a cohort by demographic criteria
Super class
CohortGenerator::SubsetOperator
-> DemographicSubsetOperator
Active bindings
ageMin
Int between 0 and 99999 - minimum age
ageMax
Int between 0 and 99999 - maximum age
gender
vector of gender concept IDs
race
character string denoting race
ethnicity
character string denoting ethnicity
Methods
Inherited methods
Method mapGenderConceptsToNames()
Usage
DemographicSubsetOperator$mapGenderConceptsToNames(
mapping = list(`8507` = "males", `8532` = "females", `0` = "unknown gender")
)
Method getEthnicity()
Ethnicity getter - used when constructing SQL to default NULL to an empty string