Relationships may be added in an extension for various reasons including:
- Specifying the defining characteristics of new extension concepts
- Improving the definition of an existing extension concept
- In exceptional cases, it may be to add defining relationships to
- Concepts which belong to the International Edition
- Concepts which belong to another module on which the extension depends
A SNOMED CT relationship involves three main concepts - the source concept, the destination concept, and the relationship type concept (also known as the 'attribute'). Each of the concepts in an extension relationship may belong to either a module from the extension itself, or a module upon which the extension depends (e.g. an international module).
When adding new relationships in an extension, the following principles apply:
- Source Concept: Except in exceptional cases (noted below), the relationship must represent a defining characteristic of a concept in a module for which the extension producer is responsible.
- Attribute: The type of relationship should usually be represented by an attribute concept which is part of the SNOMED International Edition.
- When using an attribute from the International Edition, concept model rules and editorial guidance should be followed. For example, relationships should comply with the rules stated in the MRCM.
In some cases, new attribute concepts may be added to an extension. While this is permitted, new attributes should be applied with caution, and concept model rules and editorial guidance should be clearly documented by the extension provider.
- Destination Concept: The target of the relationship may belong to the extension module, or any module on which the extension module depends (including an international module). However, care should be taken to avoid intermediate concepts as described in 188.8.131.52 Add Concept in an Extension). Additionally, it is important to ensure that the added relationships do not induce any cycles, i.e. it should be ensured that the added relationships retain the SNOMED CT hierarchy as a Directed Acyclic Graph.
|Cyclic Graph||Directed Acyclic Graph|
The table below provides a summary of the process to follow when adding a new relationship to an extension.
|Stated Axiom||A prerequisite for generating the relationships in the relationship file is that concepts have been authored and the defining properties stated and classified together with the SNOMED CT content it belongs to. Please see 184.108.40.206 Add Concept in an Extension.|
Once authoring is complete, the contents of the extension modules, together with every module on which these depend, are classified.
The resulting set of inferred relationships (i.e. the output of the classification process) is added to the Relationship file.
|A new row is added to the Relationship file for every inferred relationship that results from the classification process.|
The attributes of the inferred relationships are set as follows:
- id is set to a new relationship identifier allocated within the extension namespace.
- effectiveTime is set to the date the extension will be published
- active is set to '1' to indicate that the new relationship will be active at the time of publication
- moduleId is set to identify a module concept from the extension
- sourceId is set to the source concept in the relationship. This will usually belong to the extension module.
- destinationId is set to the destination concept in the relationship
- relationshipGroup is set to a number that indicates which relationships with the same sourceId are logically grouped together
- typeId is set to an attribute concept that represents the type of the relationship
- characteristicTypeId is usually set to 900000000000011006 |Inferred relationship|
- modifierId is usually set to 900000000000451002 |Existential restriction modifier|