Search



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

Compare with Current View Page History

« Previous Version 2 Next »

Purpose

An 447258008 |Ordered type reference set| allows a collection ofto be defined with a specified given a priority ordering. This type ofcan 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 ofor.

Data structure

Anis an Integeris used to represent ordered lists and alternative hierarchies. Its structure is shown in the following table.

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 the current version.

The current version of thisat 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 at the specified effectiveTime (field) .

If active (field) = 1 (true) theis part of the current version of the set, if active (field) = 0 (false) theis not part of the current version of the set.

moduleId (field)

SCTID (data type)

Identifies thethat contains thisas at the specified effectiveTime (field) .

The value must be aof 900000000000443000 |Module (core metadata concept)| within the metadata.

refsetId (field)

SCTID (data type)

Identifies theto which thisbelongs.

In this case, set to aof 447258008 |Ordered type reference set|

referencedComponentId (field)

SCTID (data type)

The identifier of athat 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 acts as a grouper or hierarchy node, collecting together a subgroup from within the list.

This field either enableslinked 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 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.

For ordered lists that do not require grouping or hierarchical arrangement the value of linkedToId (field) should be the digit zero (0).

Metadata

The following metadata in the "Foundation metadata"supports this:

Figure 9. Ordered References Sets in the Metadata Hierarchy

Descriptor template and examples

The tables below show the descriptor that defines the structure of the 447258008 |Ordered type reference set| pattern and an example of descriptor for a specificthat follows this pattern.

Table 23. Refset Descriptor rows for 447258008 |Ordered type reference set|  

 

 

 

 

refsetId

referencedComponentId

attributeDescription

attributeType

attributeOrder

0

1

2

 

 

 

 

refsetId

referencedComponentId (Referenced component)

attributeDescription (Attribute description)

attributeType (Attribute type)

attributeOrder (Attribute order)

 

0

 

1

 

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 with each of the identified. The release file only contains the.

Ordered reference set example

 

 

 

refsetId

referencedComponentId (Referenced component)

order (Attribute order)

linkedTo ("Linked to" reference set attribute)

1

2

3

4

5

6

7

8

9

10


Feedback
  • No labels