Description Usage Arguments Value Author(s)
Will look up a code within the "xref" part of an ontology database and translate to an ontology identifier. If several identifiers are found, the one that is deepest in the tree will be returned. If there are multiple entries within the same depth, the first identifier in the list will be returned.
1 | map_to_id(ontology, code, from = "ICD10CM", root = "DOID:4")
|
ontology |
a list (of class ontology) in which to look |
code |
the code to look-up |
from |
Which classification is 'code' apart of? Defaults to "ICD10CM", other options (when using the disease ontology database) include "OMIM", "MSH", "SNOMEDCT_US_2016-03-01", etc. |
Outputs a character string containing the mapped identifier.
Daniel Lindholm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.