acronyms {Rdiagnosislist}R Documentation

Extract acronyms stated in the description of SNOMED CT concepts

Description

Returns acronyms, if any, expressed within SNOMED CT descriptions in the form 'ABCD - Another Bland Cardiovascular Disease'.

Usage

acronyms(conceptIds, SNOMED = getSNOMED())

Arguments

conceptIds

character or integer64 vector

SNOMED

environment containing SNOMED dictionary. Defaults to an object named 'SNOMED' in the global environment

Value

a data.table with the following columns: id, conceptId, type = 'Acronym', term = acronym

Examples

SNOMED <- sampleSNOMED()
acronyms('Heart failure')

# Get all synonyms and acronyms
rva <- SNOMEDconcept('Right ventricular abnormality')
rbind(description(rva, include_synonyms = TRUE), acronyms(rva))

[Package Rdiagnosislist version 1.4.0 Index]