Anchor |
---|
| _848bae5e-6edd-43f2-aaa0-f9ea40714de6 |
---|
| _848bae5e-6edd-43f2-aaa0-f9ea40714de6 |
---|
|
PurposeThe
$$ |Reference set descriptor |
|
$$ is a
that
is used to specify the format of all
included in a release. The data type and meaning of the referenced component and each additional field within each
is described by this
.
descriptor can be used to define
- The order of appearance of additional attributes (other than those mandatory for all );
- The name and purpose of the additional attributes;
- The data types for the additional attributes.
This allows for a
to be validated using the metadata embedded within the
descriptor in the following ways:
- the data type of its attributes may be validated against the data type declared in the descriptor;
- the column order can be checked against the descriptor.
Anchor |
---|
| _5c7e8c94-101c-450c-827d-573470153540 |
---|
| _5c7e8c94-101c-450c-827d-573470153540 |
---|
|
Data structureThe
Gloss |
---|
t | Reference set descriptor reference set |
---|
|
is a
-
-
Integer that specifies the structure of reference sets. Its structure is shown in the following table.
...
...
...
Field
...
Data type
...
Purpose
...
id
...
UUID
...
A 128 bit unsigned integer, uniquely identifying this reference set member .
Different versions of a reference set member share the same id but have different effectiveTimes. This allows a reference set member to be modified or made inactive (i.e. removed from the active set) at a specified time.
...
effectiveTime
...
Time
...
The inclusive date or time at which this version of the identified reference set member became the current version.
The current version of this reference set member at time T is the version with the most recent effectiveTime prior to or equal to time T .
...
active
...
Boolean
...
The state of the identified reference set member as at the specified effectiveTime .
If active = 1 (true) the reference set member is part of the current version of the set, if active = 0 (false) the reference set member is not part of the current version of the set.
...
moduleId
...
SCTID
...
Identifies the SNOMED CT module that contains this reference set member as at the specified effectiveTime .
The value must be a subtype of 900000000000443000 $$ Module (core metadata concept) $$ within the metadata hierarchy .
...
refsetId
...
SCTID
...
Identifies the reference set to which this reference set member belongs.
In this case, set to 900000000000456007 $$ Reference set descriptor $$
...
referencedComponentId
...
SCTID
...
Identifies the reference set (or type of reference set ) that is specified by this descriptor.
Set to a descendant of 900000000000455006 $$ reference set (foundation metadata concept) $$ in the metadata hierarchy .
...
attributeDescription
...
SCTID
...
Specifies the name of an attribute that is used in the reference set to which this descriptor applies.
Set to a descendant of 900000000000457003 $$ Reference set attribute (foundation metadata concept) $$ in the metadata hierarchy, that describes the additional attribute extending the reference set .
...
attributeType
...
SCTID
...
Specifies the data type of this attribute in the reference set to which this descriptor applies.
Set to a descendant of 900000000000459000 $$ attribute type (foundation metadata concept) $$ in the metadata hierarchy, that describes the type of the additional attribute extending the reference set .
...
attributeOrder
...
Integer
...
Specifies the position of this attribute in the reference set to which this descriptor applies. A zero value identifies the referencedComponentId within the reference set. Other values specify an additional attributes by its position relative to the referencedComponentId. Within a particular descriptor, attributeOrder values for a particular referencedComponentId must be contiguous.
An unsigned integer, providing an ordering for the additional attributes extending the reference set .
Refset spec table |
---|
Size | fs7 |
---|
RefsetType | Reference Set Descriptor Reference Set |
---|
|
|
At least one row must exist for each
included in a release. This row must have an Specref |
---|
RefType | (field) |
---|
t | attributeOrder |
---|
|
value of '0' and an Specref |
---|
RefType | (field) |
---|
t | attributeType |
---|
|
of ' type' (or one of its ). The Specref |
---|
RefType | (field) |
---|
t | referencedComponentId |
---|
|
identifies the At least one row must exist for each reference set included in a release. This row must have an attributeOrder value of '0' and an attributeType of ' component type' (or one of its descendants). The referencedComponentId identifies the reference set defined by the descriptor.
There is one additional row for each additional column present in the specified
.
Creation of
descriptor data is mandatory when creating a new
in the
or in a
.
Creation of a
descriptor is optional when creating a
in another
. If a descriptor is not created, the descriptor of the closest
of the
is used when validating
member records.
...
...
Metadata
The following metadata in the |Foundation metadata
|
supports the
descriptor
.
The
Descriptor
is specified by the
$$ |Reference set descriptor |
|
$$ concept in the metadata hierarchy.
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__d |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__d |
---|
|
$$ |SNOMED CT Model Component |
|
$$ Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__8 |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__8 |
---|
|
- $$
|Foundation metadata concept |
|
$$ Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__2 |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__2 |
---|
|
- $$ $$
- $$
|Reference set descriptor |
|
$$
Values in the
Figure 6. Reference Set Descriptor Concept in the Metadata Hierarchy Values in the Reference Set are populated from:
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__e |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__e |
---|
|
$$ concept $$- $$ $$
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__f |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__f |
---|
|
- $$ $$
- $$ $$
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__b |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__b |
---|
|
- $$ $$
- $$ $$
- $$
|Description type component |
|
$$ - $$
|Relationship type component |
|
$$ - $$
|Reference set member type component |
|
$$
- $$ $$
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__a |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__a |
---|
|
- $$ $$
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__7 |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__7 |
---|
|
- $$ $$
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__0 |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__0 |
---|
|
- $$ UUID $$
- $$ Time $$
- $$ $$
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__c |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__c |
---|
|
Anchor |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__4 |
---|
| _d3887261-8892-4cad-a1c5-fd2ec50eb656__4 |
---|
|
$$ $$ ...- $$ $$ ...
- $$ $$ ...
- $$ $$
- $$ $$ ...
Figure 7. Reference Set Attribute Metadata Hierarchy
...
Excerpt Include |
---|
| REUSE:Notes on Reference Set Example Tables |
---|
| REUSE:Notes on Reference Set Example Tables |
---|
nopanel | true |
---|
|
Descriptor Template
...
The table below shows the descriptor that defines the structure of the
$$ |Reference set descriptor |
|
$$ ....
. Note that this descriptor is itself part of the Concept |
---|
t | 900000000000456007|Reference set descriptor| |
---|
|
that it describes!...
...
...
...
refsetId | referencedComponentId (Referenced component) | attributeDescription (Attribute description) | attributeType (Attribute type) | attributeOrder (Attribute order) |
---|
|
$$ |Reference set descriptor |
|
|
$$ $$ |Reference set descriptor |
|
|
$$ $$ $$ $$ $$ $$ |Reference set descriptor |
|
|
$$ $$ |Reference set descriptor |
|
|
$$ $$ $$ $$ $$ $$ |Reference set descriptor |
|
|
$$ $$ |Reference set descriptor |
|
|
$$ $$ $$ $$ $$ $$ |Reference set descriptor |
|
|
$$ $$ |Reference set descriptor |
|
|
$$ $$ $$ $$ $$3 | | ...