codesInUse {CodelistGenerator} | R Documentation |
Get the concepts being used in patient records
Description
Get the concepts being used in patient records
Usage
codesInUse(
cdm,
minimumCount = 0L,
table = c("condition_occurrence", "device_exposure", "drug_exposure", "measurement",
"observation", "procedure_occurrence", "visit_occurrence")
)
Arguments
cdm |
A cdm reference via CDMConnector. |
minimumCount |
Any codes with a frequency under this will be removed. |
table |
cdm table of interest. |
Value
A list of integers indicating codes being used in the database.
Examples
cdm <- mockVocabRef("database")
x <- codesInUse(cdm = cdm)
x
CDMConnector::cdmDisconnect(cdm)
[Package CodelistGenerator version 3.5.0 Index]