Learn R Programming

CodelistGenerator (version 3.5.0)

sourceCodesInUse: Get the source codes being used in patient records

Description

Get the source codes being used in patient records

Usage

sourceCodesInUse(
  cdm,
  table = c("condition_occurrence", "device_exposure", "drug_exposure", "measurement",
    "observation", "procedure_occurrence", "visit_occurrence")
)

Value

A list of source codes used in the database.

Arguments

cdm

A cdm reference via CDMConnector.

table

cdm table of interest.

Examples

Run this code
# \donttest{
cdm <- mockVocabRef("database")
x <- sourceCodesInUse(cdm = cdm)
x
CDMConnector::cdmDisconnect(cdm)
# }

Run the code above in your browser using DataLab