getSNOMED: Retrieves SNOMED CT dictionary from the global environment

View source: R/loadSNOMED.R

getSNOMEDR Documentation

Retrieves SNOMED CT dictionary from the global environment

Description

Returns an object named 'SNOMED' from the global environment. Returns an error if no such object exists, or if it is not an environment containing tables named CONCEPT, RELATIONSHIP, STATEDRELATIONSHIP and DESCRIPTION. There is no attempt to check that these tables are actually valid.

Usage

getSNOMED(SNOMEDname = "SNOMED")

Arguments

SNOMEDname

name of the SNOMED environment to search for

Value

SNOMED environment from the global environment

See Also

CONCEPT, DESCRIPTION, RELATIONSHIP, STATEDRELATIONSHIP, REFSET, SIMPLEMAP, EXTENDEDMAP, loadSNOMED, sampleSNOMED

Examples

SNOMED <- sampleSNOMED()
SNOMED2 <- getSNOMED()

# To display metadata for this SNOMED CT dictionary
SNOMED2$metadata

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