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

anoopshah/Rdiagnosislist documentation built on April 21, 2023, 11:49 p.m.