description {Rdiagnosislist} | R Documentation |
Obtain descriptions for a set of SNOMED CT terms
Description
Returns the descriptions matching a set of concept IDs from a SNOMED dictionary
Usage
description(
conceptIds,
include_synonyms = FALSE,
active_only = TRUE,
SNOMED = getSNOMED()
)
Arguments
conceptIds |
character or integer64 vector |
include_synonyms |
whether to return only the Fully Specified Name (default) or all synonyms |
active_only |
whether to include only active descriptions |
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 (only if include_synonyms = TRUE), term, active (only if active_only = FALSE)
Examples
hf <- SNOMEDconcept('Heart failure', SNOMED = sampleSNOMED())
description(hf, include_synonyms = FALSE, SNOMED = sampleSNOMED())
[Package Rdiagnosislist version 1.2 Index]