concept_map | R Documentation |
A wrapper function for the api_refset_members()
function
to query Map Reference Sets, in particular the map to the World Health Organisation
International Classification of Diseases 10th Revision (ICD-10).
concept_map( concept_ids = NULL, target_code = NULL, map_refset_id = "447562003", active = TRUE, encoding = "UTF-8", silent = FALSE, limit = snomedizer_options_get("limit"), ... )
concept_ids |
an optional character vector of one or more SNOMED CT concept identifiers to be mapped |
target_code |
an optional character code designated the concept code in the other terminology or code system |
map_refset_id |
character identifier of a SNOMED CT Map Reference Set.
The default is |
active |
whether to restrict results to active concepts. Default is |
encoding |
HTTP charset parameter to use (default is |
silent |
whether to hide progress bar. Default is |
limit |
a positive integer for the maximum number of results to return.
See |
... |
other optional arguments listed in |
a data frame of SNOMED CT concepts mapped to another code system
World Health Organisation International Classification of Diseases 10th Revision
SNOMED International Map Reference Sets
SNOMED International ICD-10 Mapping Technical Guide
# find SNOMED CT codes corresponding to ICD-10 code N39.0 urinary tract infections uti_concepts <- concept_map(target_code = "N39.0") str(dplyr::select(uti_concepts, referencedComponentId, referencedComponent.pt.term, additionalFields.mapTarget, additionalFields.mapAdvice)) # map SNOMED CT codes to ICD-10 map_icd10 <- concept_map(concept_ids = c("431308006", "312124009", "53084003")) dplyr::select(map_icd10, referencedComponentId, referencedComponent.pt.term, additionalFields.mapTarget, additionalFields.mapAdvice)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.