
Get the concept classes used in a given set of domains
getConceptClassId.Rd
Get the concept classes used in a given set of domains
Arguments
- cdm
A cdm reference via CDMConnector.
- standardConcept
Character vector with one or more of "Standard", "Classification", and "Non-standard". These correspond to the flags used for the standard_concept field in the concept table of the cdm.
- domain
Character vector with one or more of the OMOP CDM domains. The results will be restricted to the given domains. Check the available ones by running getDomains(). If NULL, all supported domains are included: Condition, Drug, Procedure, Device, Observation, and Measurement.
Examples
# \donttest{
cdm <- mockVocabRef()
#> Warning: There are observation period end dates after the current date: 2025-04-11
#> ℹ The latest max observation period end date found is 2025-12-31
getConceptClassId(cdm = cdm, domain = "drug")
#> [1] "Clinical Drug Form" "Drug" "Ingredient"
# }