Search



Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

A

Concept
t900000000000512005|Query specification type reference set|
allows a serialised query to represent the membership of a subset of
Gloss
PreSpacefalse
tSNOMED CT components
. A query contained in the
Gloss
PreSpacefalse
treference set
is run against the content of
Gloss
PreSpacefalse
tSNOMED CT
to produce a subset of
Gloss
PreSpacefalse
tconcepts
,
Gloss
PreSpacefalse
tdescriptions
or
Gloss
PreSpacefalse
trelationships
. The query is referred to an intensional definition of the subset. It can be run against future releases of
Gloss
PreSpacefalse
tSNOMED CT
to generate an updated set of subset members.

The members of the resulting subset may also be represented in an enumerated form as a

Gloss
PreSpacefalse
tSimple reference set
. An enumerated representation of a subset is referred to as an extensional definition.

Data structure

A

Gloss
PreSpacefalse
tQuery specification reference set
is a
Specref
RefType(data type)
tString
 
Gloss
PreSpacefalse
treference set
containing
Specref
RefType(field)
tquery
that represent intensional definitions of subsets of
Gloss
PreSpacefalse
tcomponents
. The result of running the query is an extensional representation of the subset of
Gloss
PreSpacefalse
tcomponents
which can be represented as a
Gloss
PreSpacefalse
tSimple reference set
. Its structure is shown in the following table.

...

Refset spec table
Sizefs7
RefsetTypeQuery Specification Reference Set

Metadata

The following metadata in the "Foundation metadata

Gloss
PreSpacefalse
tconcept
"
Gloss
PreSpacefalse
thierarchy
supports this
Gloss
PreSpacefalse
treference set
:

...


Excerpt Include
REUSE:Notes on Reference Set Example Tables
REUSE:Notes on Reference Set Example Tables
nopaneltrue

Descriptor Template

The table below shows the descriptor that defines the structure of the

Concept
t900000000000512005|Query specification type reference set|
pattern.

...

Caption label
CapIddescriptor-template-for-query-specification-reference-sets
CapTypeTable
Descriptor Template for Query Specification Reference Sets


refsetId

referencedComponentId

attributeDescription

attributeType

attributeOrder

Concept
t900000000000456007|Reference set descriptor|

Concept
t900000000000512005|Query specification type reference set|

Concept
t900000000000514006|Generated reference set|

Concept
t900000000000461009|Concept type component|

0

Concept
t900000000000456007|Reference set descriptor|

Concept
t900000000000512005|Query specification type reference set|

Concept
t900000000000515007|Query|

Concept
t900000000000465000|String|

1

Example Data

In the example below, "serialised query 1" is a text string that can be used to generate members for

Gloss
PreSpacefalse
tReference set
1, which is a simple member
Gloss
PreSpacefalse
treference set
(without any additional fields within its member records).

...

Caption label
CapIdexample-rows-from-query-specification-reference-set
CapTypeTable
Example rows from Query Specification Reference Set


refsetId

referencedComponentId

query

Concept
t900000000000513000|Simple query specification|

Concept
t|Target reference set|


Scg expression
< 19829001 |disorder of lung|: 116676008 |associated morphology| = << 79654002 |edema|


References

...