getMappings {CodelistGenerator} | R Documentation |
Show mappings from non-standard vocabularies to standard
Description
Show mappings from non-standard vocabularies to standard
Usage
getMappings(
candidateCodelist,
cdm = NULL,
nonStandardVocabularies = c("ATC", "ICD10CM", "ICD10PCS", "ICD9CM", "ICD9Proc",
"LOINC", "OPCS4", "Read", "RxNorm", "RxNorm Extension", "SNOMED")
)
Arguments
candidateCodelist |
Dataframe |
cdm |
cdm_reference via CDMConnector::cdm_from_con() |
nonStandardVocabularies |
Character vector |
Value
tibble
Examples
## Not run:
cdm <- CodelistGenerator::mockVocabRef()
codes <- CodelistGenerator::getCandidateCodes(
cdm = cdm,
keywords = "osteoarthritis"
)
CodelistGenerator::getMappings(
cdm = cdm,
candidateCodelist = codes,
nonStandardVocabularies = "READ"
)
CDMConnector::cdmDisconnect(cdm)
## End(Not run)
[Package CodelistGenerator version 3.1.0 Index]