Learn R Programming

Rdiagnosislist (version 1.4.0)

compose: Select more specific SNOMED CT concepts based on attributes

Description

Finds the most specific SNOMED CT concepts that matches the combination of a root concept and attributes. Based on a composeLookup table

Usage

compose(
  conceptId,
  CDB,
  attributes_conceptIds = bit64::integer64(0),
  due_to_conceptIds = bit64::integer64(0),
  without_conceptIds = bit64::integer64(0),
  with_conceptIds = bit64::integer64(0),
  SNOMED = getSNOMED()
)

Value

a refined SNOMED concept Id

Arguments

conceptId

SNOMED CT concept to refine

CDB

SNOMED CT concept database, as created by createCDB. An environment containing the following data tables: FINDINGS, QUAL, CAUSES, BODY, FINDINGS, OTHERSUB, OVERLAP, TRANSITIVE. Must also contain a COMPOSELOOKUP table created by addComposeLookupToCDB

attributes_conceptIds

SNOMED concept Ids of attributes of concept e.g. laterality, severity, acuteness

due_to_conceptIds

SNOMED concept Ids of cause

without_conceptIds

SNOMED concept Ids of conditions stated to be absent

with_conceptIds

SNOMED concept Ids of conditions also present

SNOMED

environment containing SNOMED CT tables

See Also

decompose, batchDecompose, addComposeLookupToCDB