Anchor |
---|
| _c9862d6e-865f-42ec-b039-1faedd870fb5 |
---|
| _c9862d6e-865f-42ec-b039-1faedd870fb5 |
---|
|
Purpose
A
Scg expression |
---|
ShowParts | id+term Concept |
---|
t | 900000000000512005|Query |
---|
|
allows a serialised query to represent the membership of a subset of
. A
query contained in the
is run against the content of
to produce a subset of
,
or
. The query is referred to an intensional definition of the subset. It can be run against future releases of
to generate an updated set of subset members.
The members of the resulting subset may also be represented in an enumerated form as a
. An enumerated representation of a subset is referred to as an extensional definition.
Anchor |
---|
| _944c2242-eb5c-4dcd-8c98-83134a1869f0 |
---|
| _944c2242-eb5c-4dcd-8c98-83134a1869f0 |
---|
|
Data structure
A
Gloss |
---|
t | Query specification reference set |
---|
|
is a
String (data type) containing
query (field) that represent intensional definitions of subsets of
. The result of running the
query is an extensional representation of the subset of
which can be represented as a
. Its structure is shown in the following table
. ...
.
...
...
...
The following metadata in the "Foundation metadata
"
supports this
:
Anchor |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__5 |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__5 |
---|
|
Scg expression |
---|
ShowParts | id+term Concept |
---|
t | 900000000000454005|Foundation |
---|
|
Anchor |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__a |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__a |
---|
|
Scg expression |
---|
ShowParts | id+term | 900000000000455006|Reference |
---|
|
Anchor |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__d |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__d |
---|
|
Scg expression |
---|
ShowParts | id+term Anchor |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__7 |
---|
| _244489f5-8635-41de-9ee6-7763c3ecbd79__7 |
---|
|
- scg-expressionShowParts
id+term | 900000000000513000|Simple |
|
...
Anchor |
---|
| _451cc169-c8f1-4b1e-93d8-7ae10bd70fe7 |
---|
| _451cc169-c8f1-4b1e-93d8-7ae10bd70fe7 |
---|
|
Descriptor template
The table below shows the descriptor that defines the structure of the
Scg expression |
---|
ShowParts | id+term Concept |
---|
t | 900000000000512005|Query |
---|
|
pattern
. ...
.
...
...
...
| refsetId | referencedComponentId | attributeDescription | attributeType | attributeOrder | |
---|
Scg expression |
---|
| ShowParts | id+term | 900000000000456007|Reference |
---|
|
Scg expression |
---|
ShowParts | id+term Concept |
---|
t | 900000000000512005|Query |
---|
| Scg expression |
---|
| ShowParts | id+term | 900000000000514006|Generated |
---|
| | scg-expression ShowParts | id+term | 900000000000461009|Concept |
|
0 | scg-expression |
---|
ShowParts | id+term | 900000000000456007|Reference |
|
Scg expression |
---|
ShowParts | id+term Concept |
---|
t | 900000000000512005|Query |
---|
| Scg expression |
---|
| ShowParts | id+term | 900000000000515007|Query| |
---|
|
| scg-expression ShowParts | id+term | 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 (field), active (field). Additionally, to aid understanding, the tables above also show the
from one of the
associated with each of the identified
. The release file only contains the
.
Anchor |
---|
| _270fa207-4075-47c9-92bf-de81d7ba4efd |
---|
| _270fa207-4075-47c9-92bf-de81d7ba4efd |
---|
|
Example usage
In the example below, "serialised query 1" is a text string that can be used to generate members for 1, which is a simple member
(without any additional fields within its member records)
. ...
.
...
...
refsetId | referencedComponentId | query |
---|
Scg expression |
---|
| ShowParts | term | 900000000000513000|Simple |
---|
|
Scg expression |
---|
ShowParts | term | Serialized text of the query ... |
---|
...
The specification of the query
has yet to be defined / selected, but it should be capable of:
- Selecting using primary fields, subsumption testing, , relationshipGroup (field), set operators ( , , excludes), and lexical query ;
- Selecting , and using similar mechanisms;
- Calculation of values for the 's extended fields. Identifying the version of the syntax and any syntax variations.
- Queries that support definitions for terminologies other than should also be supported. For example, queries to link or include codes in ICD-10, ICD-11, ICPC and .
Note: During D uring 2014 work is underway to develop and pilot a standard approach to representation of queries including queries for generation of subset of
.