Search



You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The basic reference set data structure consists of the following fields:

Table 14. Basic Reference Set Data Structure

 

 

 

Field

Data type

Immutable

Purpose

id

UUID

Y

A 128 bit unsigned integer, uniquely identifying the reference set member.

effectiveTime

Time

N

Specifies the inclusive date at which this change becomes effective.

active

Boolean

N

Specifies whether the member's state was active or inactive from the nominal release date specified by the effectiveTime field.

moduleId

SCTID

N

Identifies the member version's module. Set to a child of 900000000000443000 $$ Module $$ within the metadata hierarchy .

refsetId

SCTID

Y

Uniquely identifies the reference set that this extension row is part of. Set to a descendant of 900000000000455006 $$ Reference set $$ within the metadata hierarchy .

referencedComponentId

SCTID or UUID

Y

Uniquely identifies the component that this row relates to, thus defining membership of this component in the Reference Set. This field can be set to the Identifier of a record within the Concept, Description, Relationship or Reference Set member file. However, the content of this field can be further restricted for each reference set by the reference set descriptor (see the " SNOMED CT Release Format 2 - Reference Set Specifications" document for more details).

Zero or more other fields

SCTID, String, or Integer

N

Optional field

...

SCTID, String, or Integer

N

Optional field

Each reference set will be defined as a concept in the metadata hierarchy .
There will be one active row in the above table for each member of the reference set. Individual reference set members will be uniquely identified using a UUID. Each Reference Set member will belong to a single Reference Set (referred to by the refsetId field) and will also reference the member component that belongs to that reference set (using the referencedComponentId field). The member component may be a Concept, Description, Relationship or a RefSet member itself.
Only one reference set member record with the same id field will be current at any point in time. The current record will be the one with the most recent effectiveTimebefore or equal to the point in time under consideration.
If the active field of this record is false ('0'), then the reference set member is inactive at that point in time. If the active field is true ('1'), then the component referenced by the referencedComponentId field is deemed to be a member of the reference set identified by the refsetId field.
The refsetId and referencedComponentId fields will not change between two rows with the same id, in other words they are immutable. Where a change is required to one of these fields, then the current row will be de-activated (by appending a row with the same id and the active field set to false) and a new row with a new id will be appended.
A component may belong to any number of reference sets and to each reference set more than once. In the latter case, there will be more than one row with the same refsetId and referencedComponentId , each having different id fields, so co-existing at the same time.


Feedback
  • No labels