...
Purpose
A
Concept |
---|
t | 900000000000512005|Query specification type reference set| |
---|
|
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.
...
...
Data structure
A
Gloss |
---|
t | Query specification reference set |
---|
|
is a
Specref |
---|
RefType | (data type) |
---|
t | String |
---|
|
containing
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.
specrefRefType(field) | t | Part of Primary Key |
id | | A 128 bit unsigned Specref |
---|
RefType | (data type) |
---|
t | Integer |
---|
| , uniquely identifying this .Different versions of a reference set member share the same but have different Specref |
---|
RefType | (field) |
---|
t | effectiveTime |
---|
| . This allows a reference set member to be modified or made (i.e. removed from the active set) at a specified time. | NO | YES (Full/Snapshot) |
Specref |
---|
RefType | (field) |
---|
t | effectiveTime |
---|
|
| | The inclusive date or time at which this version of the identified Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| became the current version.The current version of this Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| at time T is the version with the most recent Specref |
---|
RefType | (field) |
---|
t | effectiveTime |
---|
| prior to or equal to time T . | YES | YES (Full) Optional (Snapshot) |
| Specref |
---|
RefType | (data type) |
---|
t | Boolean |
---|
|
| The state of the identified Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| as at the specified Specref |
---|
RefType | (field) |
---|
t | effectiveTime |
---|
| .If = 1 (true) the Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| is part of the current version of the set, if = 0 (false) the Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| is not part of the current version of the set. | YES | NO |
| | Identifies the Gloss |
---|
Space | true |
---|
t | SNOMED CT module |
---|
| that contains this Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| as at the specified Specref |
---|
RefType | (field) |
---|
t | effectiveTime |
---|
| .The value must be a of Concept |
---|
t | 900000000000443000|Module (core metadata concept)| |
---|
ShowFormat | inline |
---|
| within the metadata . | YES | NO |
| | Identifies the to which this Gloss |
---|
Space | true |
---|
t | reference set member |
---|
| belongs.In this case, |
set to a subtype descendant of: Concept |
---|
t | 900000000000512005|Query specification type| |
---|
|
| NO | NO |
Specref |
---|
RefType | (field) |
---|
t | referencedComponentId |
---|
|
| |
The identifier ( Specref |
---|
RefType | (field)refsetId | ) of for which members are to be generated. . | NO | NO |
query | Specref |
---|
RefType | (data type) |
---|
t | String |
---|
|
| The serialised query that can be used to (re-)generate the members.A standard syntax for use in these queries is currently under development and is due for publication in late 2014. |
...
...
Metadata
The following metadata in the "Foundation metadata
"
supports this
:
...
Concept |
---|
t | 900000000000454005|Foundation metadata concept| |
---|
|
Scg expression |
---|
|
900000000000454005 |Foundation metadata concept|
900000000000455006 |Reference set|
900000000000512005 |Query specification type|
900000000000513000 |Simple query specification|
|
Excerpt Include |
---|
| REUSE:Notes on Reference Set Example Tables |
---|
| REUSE:Notes on Reference Set Example Tables |
---|
nopanel | true |
---|
|
Descriptor Template
...
Concept |
---|
t | 900000000000455006|Reference set| |
---|
|
...
Concept |
---|
t | 900000000000512005|Query specification type| |
---|
|
...
Concept |
---|
t | 900000000000513000|Simple query specification| |
---|
|
...
The table below shows the descriptor that defines the structure of the
Concept |
---|
t | 900000000000512005|Query specification type reference set| |
---|
|
pattern.
...
refsetId | referencedComponentId | attributeDescription | attributeType | attributeOrder |
---|
Concept |
---|
t | 900000000000456007|Reference set descriptor| |
---|
|
| Concept |
---|
t | 900000000000512005|Query specification type reference set| |
---|
|
| Concept |
---|
t | 900000000000514006|Generated reference set| |
---|
|
| Concept |
---|
t | 900000000000461009|Concept type component| |
---|
|
| 0 |
Concept |
---|
t | 900000000000456007|Reference set descriptor| |
---|
|
| Concept |
---|
t | 900000000000512005|Query specification type reference set| |
---|
|
| Concept |
---|
t | 900000000000515007|Query| |
---|
|
| Concept |
---|
t | 900000000000465000|String| |
---|
|
| 1 | |
...
...
Specref |
---|
RefType | (field) |
---|
t | effectiveTime |
---|
|
...
...
...
...
...
...
...
...
Example Data
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 |
---|
Concept |
---|
t | 900000000000513000|Simple query specification| |
---|
|
| | 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, ,
Specref |
---|
RefType | (field) |
---|
t | relationshipGroup |
---|
|
, 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 .
...
...
Scg expression |
---|
< 19829001 |disorder of lung|: 116676008 |associated morphology| = << 79654002 |edema| |
|
References
- The syntax for specifying the intensional definition of a concept subset is specified in the DOCECL