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

View source: R/hierarchy.R

semanticTypeR Documentation

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

Arguments

conceptIds

character or integer64 vector of SNOMED concept IDs

SNOMED

environment containing a SNOMED dictionary

Value

a character vector of semantic tags corresponding to the conceptIDs

Examples

SNOMED <- sampleSNOMED()

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

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