SNOMED_RELATIONSHIP: Sample relationship tables from SNOMED CT dictionary

SNOMED_RELATIONSHIPR Documentation

Sample relationship tables from SNOMED CT dictionary

Description

Samples of the SNOMED CT tables of stated relationships (RELATIONSHIP) and inferred relationships (RELATIONSHIP).

Usage

data(RELATIONSHIP); data(STATEDRELATIONSHIP)

STATEDRELATIONSHIP

Format

An object of class "data.table"

An object of class data.table (inherits from data.frame) with 329 rows and 10 columns.

Details

  • id integer64: ID of the relationship record (primary key)

  • active logical: whether this concept is currently active

  • moduleId integer64: class of SNOMED CT concept (whether it is used for recording information or is a metadata concept)

  • sourceId integer64: source SNOMED CT concept for the relationship

  • destinationId integer64: destination SNOMED CT concept for the relationship

  • relationshipGroup integer: group ID for relationships that are grouped

  • characteristicTypeId integer64: 900000000000011006 = Inferred relationship

  • modifierId integer64: 900000000000451002 = Existential restriction modifier

  • effectiveTime IDate: when the concept became active

  • typeId integer64: type of relationship, e.g. 116680003 = Is a, 42752001 = Due to, 246090004 = Associated finding, 363698007 = Finding site, 363702006 = Has focus

See Also

Other SNOMEDsample: HISTORY, QUERY

Examples

# Create a TEST environment and load the sample dictionaries
TEST <- new.env()
data(CONCEPT, envir = TEST)
data(DESCRIPTION, envir = TEST)
data(RELATIONSHIP, envir = TEST)
data(STATEDRELATIONSHIP, envir = TEST) 

# Show properties of the relationship tables
str(TEST$RELATIONSHIP)
str(TEST$STATEDRELATIONSHIP)

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