Anchor |
---|
| _f418064e-af16-45f6-b3a6-c55940fb6f0e |
---|
| _f418064e-af16-45f6-b3a6-c55940fb6f0e |
---|
|
Purpose
An
scg-expressionShowPartsid+term | allows a collection
ofto of to be defined with a specified given a priority ordering. This type
ofcan of can also be used to specify ordered associations between different
. These can be used to specify several interrelated subsets of components and to define alternative hierarchies for navigation and selection
oforof or .
Anchor |
---|
| _65975d1e-3ac7-4e5e-b926-808cc51f55f0 |
---|
| _65975d1e-3ac7-4e5e-b926-808cc51f55f0 |
---|
|
Data structure
An
Gloss |
---|
Space | true |
---|
t | Ordered reference set |
---|
|
is an IntegerAnis an Integeris used to represent ordered lists and alternative hierarchies. Its structure is shown in the following table.
...
_65975d1e-3ac7-4e5e-b926-808cc51f55f0__e | Table 22. Ordered reference set - Data structure | | Field | Data type | Purpose |
---|
id (field) | UUID (data type) | A 128 bit unsigned Integer (data type), uniquely identifying this . Different versions of a reference set member share the same id (field) but have different effectiveTime (field). This allows a reference set member to be modified or made active (field) (i.e. removed from the active set) at a specified time. |
effectiveTime (field) | Time (data type) | The inclusive date or time at which this version of the identifiedbecame identified Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| became the current version. The current version of thisat this Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| at time T is the version with the most recent effectiveTime (field) prior to or equal to time T . |
active (field) | Boolean (data type) | The state of the identifiedas identified Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| as at the specified effectiveTime (field) . If active (field) = 1 (true) theis the Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| is part of the current version of the set, if active (field) = 0 (false) theis the Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| is not part of the current version of the set. |
moduleId (field) | SCTID (data type) | Identifies thethat contains thisas the Gloss |
---|
Space | true |
---|
t | SNOMED CT module |
---|
| that contains this Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| as at the specified effectiveTime (field) . The value must be aof Scg expression |
---|
ShowParts | id+terma of Concept |
---|
t | 900000000000443000|Module |
---|
| concept)| | ShowFormat | inline |
---|
|
within the metadata . |
refsetId (field) | SCTID (data type) | Identifies theto which thisbelongsthe to which this Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| belongs. In this case, set to aof Scg expression |
---|
ShowParts | id+terma of |
referencedComponentId (field) | SCTID (data type) | The identifier of athat a Gloss |
---|
Space | true |
---|
t | SNOMED CT component |
---|
| that is included in the ordered list of alternative hierarchy. |
order (field) | Integer | Specifies the sort order (field) of the list. The list is ordered by applying an ascending sort of the order (field) value. The value of order (field) =1 represents the highest priority. A value of '0' is not allowed. Duplicate values are permitted and the sort order between two members with the same order value is not defined. If the linkedToId (field) value is not 0, sorting occurs within subgroups that share the same linkedToId (field). Note: The name "order" is a reserved word in some database environments. Please consider this when using this column. |
linkedToId (field) | SCTID (data type) | The identifier of athat a Gloss |
---|
Space | true |
---|
t | SNOMED CT component |
---|
| that acts as a grouper or hierarchy node, collecting together a subgroup from within the list. This field either enableslinked enables Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| linked into a number of subgroups. These subgroups can be nested allowing representation of alternative hierarchies. To link members into a subgroup, all components in the same subgroup should reference the same . This can either be a component that represents the name of that subgroup or the first member of the subgroup. In the latter case, the first row of each subgroup will contain the same identifier in referencedComponentId (field) and linkedToId (field) and with order (field) =1. To link a number ofto of to a single parent , one member record should exist per , with the referencedComponentId (field) field referencing the parent and this field referencing the . The order (field) field is then used to order (field) theunder the parent the under the parent . For ordered lists that do not require grouping or hierarchical arrangement the value of linkedToId (field) should be the digit zero (0). |
...
The following metadata in the "Foundation metadata
"
supports this
:
Anchor |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__2 |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__2 |
---|
|
Anchor |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__4 |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__4 |
---|
|
Scg expression |
---|
ShowParts | id+term Concept |
---|
t | 900000000000454005|Foundation |
---|
|
Anchor |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__9 |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__9 |
---|
|
Scg expression |
---|
ShowParts | id+term | 900000000000455006|Reference |
---|
|
Anchor |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__3 |
---|
| _be759981-811b-47ce-a5b1-38173d1c843a__3 |
---|
|
Scg expression |
---|
ShowParts | id+term ...
...
...
Anchor |
---|
| _11f92258-a710-44ee-b535-e1f2b648bd04 |
---|
| _11f92258-a710-44ee-b535-e1f2b648bd04 |
---|
|
Descriptor template and examples
The tables below show the descriptor that defines the structure of the
Scg expression |
---|
ShowParts | id+term pattern and an example of descriptor for a
specificthat follows this pattern.specific that follows this pattern. Anchor |
---|
_11f92258-a710-44ee-b535-e1f2b648bd04__3 | _11f92258-a710-44ee-b535-e1f2b648bd04__3 | Table 23. Refset Descriptor rows for Scg expression |
---|
|
447258008|Ordered type reference set| |
| | | | refsetId | referencedComponentId | attributeDescription | attributeType | attributeOrder |
---|
Scg expression |
---|
ShowParts | id+term | 900000000000456007|Reference |
---|
| Scg expression |
---|
ShowParts | id+term | | scg-expression ShowPartsid+term | Scg expression |
---|
ShowParts | id+term | Concept |
---|
t | 900000000000460005|Component |
---|
| | 0 |
scg-expressionShowPartsid+term | 900000000000456007|Reference |
| | scg-expression ShowPartsid+term | scg-expression | | scg-expression ShowPartsid+term | 900000000000478000|Unsigned |
| | 1 |
---|
Scg expression |
---|
ShowParts | id+term | 900000000000456007|Reference |
---|
| scg-expression | | scg-expression ShowPartsid+term | Scg expression |
---|
ShowParts | id+term | Concept |
---|
t | 900000000000460005|Component |
---|
| | 2 | Anchor |
---|
_11f92258-a710-44ee-b535-e1f2b648bd04__1 | _11f92258-a710-44ee-b535-e1f2b648bd04__1 | Table 24. Refset Descriptor rows for Scg expression |
---|
|
447570008|SNOMED CT top level navigation hierarchy ordered reference set| |
. |
| | | | |
---|
refsetId | referencedComponentId (Referenced component) | attributeDescription (Attribute description) | attributeType (Attribute type) | attributeOrder (Attribute order) | |
---|
Scg expression |
---|
ShowParts | id+term | 900000000000456007|Reference |
---|
| Scg expression |
---|
ShowParts | id+term | | scg-expression ShowPartsid+term | scg-expression | ShowPartsid+term | 900000000000461009|Concept |
| | 0 | |
scg-expression ShowPartsid+term | 900000000000456007|Reference |
| scg-expression | ShowPartsid+term | Scg expression |
---|
ShowParts | id+term | Concept |
---|
t | 900000000000479008|Attribute |
---|
| | scg-expression ShowPartsid+term | 900000000000478000|Unsigned |
| | 1 | |
Scg expression |
---|
ShowParts | id+term | 900000000000456007|Reference |
---|
| scg-expression | ShowPartsid+term | Scg expression |
---|
ShowParts | id+term | | id+term | 900000000000461009|Concept |
---|
| | 2 | |
Note: The table above omits the initial four columns of data present in the release file. These follow the standards versioning pattern id (field), effectiveTime (field), active (field), active (field). Additionally, to aid understanding, the table above also shows thefrom one of theassociated the
from one of the associated with each of the identified
. The release file only contains the
....
. ...
Anchor |
---|
| _234ed71d-be99-4417-bf50-120bf2536215 |
---|
|
...
| | _234ed71d-be99-4417-bf50-120bf2536215 |
---|
|
Ordered reference set example __3Table 25. Sample content from Scg expression |
---|
|
447570008|SNOMED CT top level navigation hierarchy ordered reference set| |
. | | | refsetId | referencedComponentId (Referenced component) | order (Attribute order) | linkedTo ("Linked to" reference set attribute) |
Scg expression |
---|
ShowParts | id+term scg-expression | | 1 | Scg expression |
---|
ShowParts | id+term scg-expression |
| scg-expression ShowPartsid+term | | 2 | scg-expression ShowPartsid+term | Scg expression |
---|
ShowParts | id+term |
| | 3 | Scg expression |
---|
ShowParts | id+term Scg expression |
---|
ShowParts | id+term |
| scg-expression ShowPartsid+term | | 4 | scg-expression ShowPartsid+term | scg-expression |
ShowPartsid+term | Scg expression |
---|
ShowParts | id+term | | 5 | Scg expression |
---|
ShowParts | id+term Scg expression |
---|
ShowParts | id+term |
| scg-expression ShowPartsid+term | | 6 | Scg expression |
---|
ShowParts | id+term Scg expression |
---|
ShowParts | id+term |
| scg-expression ShowPartsid+term | | 7 | scg-expression ShowPartsid+term | Scg expression |
---|
ShowParts | id+term |
| | 8 | scg-expression ShowPartsid+term | Scg expression |
---|
ShowParts | id+term |
| | 9 | scg-expression ShowPartsid+term | Scg expression |
---|
ShowParts | id+term |
| | 10 | Scg expression |
---|
ShowParts | id+term |