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 |
A cdm reference via CDMConnector. |
nonStandardVocabularies |
Character vector. |
Value
Tibble with the information of potential standard to non-standard mappings for the codelist of interest.
Examples
cdm <- CodelistGenerator::mockVocabRef()
codes <- CodelistGenerator::getCandidateCodes(
cdm = cdm,
keywords = "osteoarthritis"
)
CodelistGenerator::getMappings(
cdm = cdm,
candidateCodelist = codes,
nonStandardVocabularies = "READ"
)
[Package CodelistGenerator version 3.5.0 Index]