getConceptClassId: Get the concept classes used in a given set of domains

View source: R/vocabUtilities.R

getConceptClassIdR 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")


CodelistGenerator documentation built on April 11, 2025, 5:51 p.m.