Learn R Programming

CodelistGenerator (version 3.5.0)

getConceptClassId: 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)

Value

The concept classes used for the requested 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

Run this code
# \donttest{
cdm <- mockVocabRef()
getConceptClassId(cdm = cdm, domain = "drug")
# }

Run the code above in your browser using DataLab