Learn R Programming

Rdiagnosislist (version 1.4.0)

getSNOMED: 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")

Value

SNOMED environment from the global environment

Arguments

SNOMEDname

name of the SNOMED environment to search for

See Also

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

Examples

Run this code
SNOMED <- sampleSNOMED()
SNOMED2 <- getSNOMED()

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

Run the code above in your browser using DataLab