Learn R Programming

Rdiagnosislist (version 1.4.0)

semanticType: Retrieves semantic types using the text 'tag' in the description

Description

Uses the fully specified name in the DESCRIPTION table. If there are multiple fully specified names, the name with the most recent effectiveTime will be used.

Usage

semanticType(conceptIds, SNOMED = getSNOMED())

Value

a character vector of semantic tags corresponding to the conceptIDs

Arguments

conceptIds

character or integer64 vector of SNOMED concept IDs

SNOMED

environment containing a SNOMED dictionary

Examples

Run this code
SNOMED <- sampleSNOMED()

semanticType(as.SNOMEDconcept(c('Heart failure', 'Is a')))

Run the code above in your browser using DataLab