getConceptClassId {CodelistGenerator} | R Documentation |
Get the concept classes used in a given set of domains
Description
Get the concept classes used in a given set of domains
Usage
getConceptClassId(cdm, standardConcept = "Standard", domain = NULL)
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. |
Value
The concept classes used for the requested domains.
Examples
cdm <- mockVocabRef()
getConceptClassId(cdm = cdm, domain = "drug")
[Package CodelistGenerator version 3.5.0 Index]