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

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

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

Rdiagnosislist documentation built on April 18, 2023, 5:12 p.m.