Page History
Anchor | ||||
---|---|---|---|---|
|
A 900000000000512005 $$ Query specification type reference set $$
Scg expression | ||
---|---|---|
| ||
900000000000512005|Query specification type reference set| |
The members of the resulting subset may also be represented in an enumerated form as a Simple reference set . An enumerated representation of a subset is referred to as an extensional definition.
Anchor | ||||
---|---|---|---|---|
|
A Query specification reference set is a String reference set containing queries (data type) containing query (field) that represent intensional definitions of subsets of components . The result of running the query is an extensional representation of the subset of components which can be represented as a Simple reference set . Its structure is shown in the following table.
|
|
| |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Field | Data type | Purpose | |||||||||
A 128 bit unsigned | integerInteger (data type), uniquely identifying this | reference set member . Different versions of a reference set member share the same id (field) but have different | effectiveTimeseffectiveTime (field). This allows a reference set member to be modified or made | inactive active (field) (i.e. removed from the active set) at a specified 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 (field) prior to or equal to time T . | |||||||||
The state of the identified | reference set member as at the specified effectiveTime (field) . If active (field) = 1 (true) the | reference set member is part of the current version of the set, if active (field) = 0 (false) the | reference set member is not part of the current version of the set. | ||||||||
Identifies the | SNOMED CT module that contains this | reference set member as at the specified effectiveTime (field) . The value must be a | subtype of 900000000000443000 $$ Module (core metadata concept) $$ of
| hierarchy . | |||||||
Identifies the | reference set to which this | reference set member belongs. In this case, set to a subtype of | 900000000000512005 $$ Query specification type $$
| ||||||||
SCTID | The identifier ( refsetId (field)) of the | reference set for which members are to be generated. | |||||||||
The serialised query that can be used to (re-)generate the | reference set members. A standard syntax for use in these queries is currently under development and is due for publication in late 2014. |
Anchor | ||||
---|---|---|---|---|
|
The following metadata in the "Foundation metadata concept " hierarchy supports this reference set :
Anchor _244489f5-8635-41de-9ee6-7763c3ecbd79__5 _244489f5-8635-41de-9ee6-7763c3ecbd79__5
$$Scg expression ShowParts id+term 900000000000454005
$$|Foundation metadata concept
|
Anchor _244489f5-8635-41de-9ee6-7763c3ecbd79__a _244489f5-8635-41de-9ee6-7763c3ecbd79__a
$$Scg expression ShowParts id+term 900000000000455006
$$|Reference set
|
Anchor _244489f5-8635-41de-9ee6-7763c3ecbd79__d _244489f5-8635-41de-9ee6-7763c3ecbd79__d
900000000000512005 $$ Query specification type $$Scg expression ShowParts id+term 900000000000512005|Query specification type|
Anchor _244489f5-8635-41de-9ee6-7763c3ecbd79__7 _244489f5-8635-41de-9ee6-7763c3ecbd79__7
$$Scg expression ShowParts id+term 900000000000513000
$$|Simple query specification
|
Figure 14. Hierarchy of Foundation metadata concept
Anchor | ||||
---|---|---|---|---|
|
The table below shows the descriptor that defines the structure of the 900000000000512005 $$ Query specification type reference set $$
Scg expression | ||
---|---|---|
| ||
900000000000512005|Query specification type reference set| |
|
|
|
|
| ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
refsetId | referencedComponentId | attributeDescription | attributeType | attributeOrder |
| |||||||||||||||||||||||||
900000000000512005 $$ Query specification type reference set $$ | 0 |
| ||||||||||||||||||||||||||||
|
|
|
| 0 |
| |||||||||||||||||||||||||
|
|
|
| 900000000000512005 $$ Query specification type reference set $$ | 900000000000465000 $$ String $$ | 1 |
|
Note: The tables above omit the initial four columns of data present in the release file. These follow the standards versioning pattern id (field), effectiveTime (field), active , moduleId(field), active (field). Additionally, to aid understanding, the tables above also show the term from one of the descriptions associated with each of the identified concept . The release file only contains the identifier .
Anchor | ||||
---|---|---|---|---|
|
In the example below, "serialised query 1" is a text string that can be used to generate members for Reference set 1, which is a simple member reference set (without any additional fields within its member records).
|
|
| |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
refsetId | referencedComponentId | query | |||||||||||||
|
| $$ Target reference set $$ | Serialized text of the query ... |
Anchor | ||||
---|---|---|---|---|
|
The specification of the query language has yet to be defined / selected, but it should be capable of:
- Selecting concepts using primary fields, subsumption testing, relationships, relationship groups, relationshipGroup (field), set operators ( union , intersection , excludes), and lexical query ;
- Selecting descriptions , relationships and reference sets using similar mechanisms;
- Calculation of values for the reference set 's extended fields. Identifying the version of the syntax and any language syntax variations.
- Queries that support definitions for terminologies other than SNOMED CT should also be supported. For example, queries to link or include codes in ICD-10, ICD-11, ICPC and LOINC .
Note: During 2014 work is underway to develop and pilot a standard approach to representation of queries including queries for generation of subset of SNOMED CT concepts .