Add synonym concept ID(s)
add_synonyms.Rd
A helper function to add synonym concept ID(s) to a vector of concept ID(s).
Arguments
- concepts
The concept ID(s) of interest which can be a single
concept_id
, or a list ofconcept_id
's.- concept_relationship_table
The concept relationship table (note: only the full OMOP concept relationship table that is provided independently from clinical data sets contains relationships necessary for identifying synonyms).
Value
A list of supplied concepts, and their synonym concepts; issues a warning
if "Maps to value" relationship is present, which can occur when mapping ICD
codes to SNOMED CT codes (see vignette("converting_icd_to_snomed_codes")
for more information).
See also
add_children()
to add child concept ID(s) to a vector of parent concept ID(s).get_concept_names()
to map a vector of concept ID(s) to a vector of concept name(s).