acronyms: Extract acronyms stated in the description of SNOMED CT...

View source: R/concepts.R

acronymsR 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))

anoopshah/Rdiagnosislist documentation built on March 29, 2025, 10:46 a.m.