Skip to contents

Get the domains available in the cdm

Usage

getDomains(cdm, standardConcept = "Standard")

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.

Value

A vector with the domains of the cdm.

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
getDomains(cdm = cdm)
#> [1] "Condition"   "Observation" "Drug"        "Unit"       
# }