Search



Versions Compared

Key

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

Purpose

A

Concept
t900000000000512005|

...

A 900000000000512005 $$

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

...

A

Gloss
PreSpacefalse
t
Query specification reference set
is a
Specref
RefType(data type)
tString
 
Gloss
PreSpacefalse
treference set
containing queries
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.

...

 

...

 

...

Field

...

Data type

...

Purpose

...

id

...

UUID

...

A 128 bit unsigned integer, uniquely identifying this reference set member .
Different versions of a reference set member share the same id but have different effectiveTimes. This allows a reference set member to be modified or made inactive (i.e. removed from the active set) at a specified time.

...

effectiveTime

...

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 prior to or equal to time T .

...

active

...

Boolean

...

The state of the identified reference set member as at the specified effectiveTime .
If active = 1 (true) the reference set member is part of the current version of the set, if active = 0 (false) the reference set member is not part of the current version of the set.

...

moduleId

...

SCTID

...

Identifies the SNOMED CT module that contains this reference set member as at the specified effectiveTime .
The value must be a subtype of 900000000000443000 $$ Module (core metadata concept) $$ within the metadata hierarchy .

...

refsetId

...

SCTID

...

Identifies the reference set to which this reference set member belongs.
In this case, set to a subtype of 900000000000512005 $$ Query specification type $$

...

referencedComponentId

...

SCTID

...

The identifier ( refsetId) of the reference set for which members are to be generated.

...

query

...

String

...

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.

...

The following metadata in the "Foundation metadata concept " hierarchy supports this reference set :

...


Caption label
CapIdquery-specification-reference-set-data-structure
CapTypeTable
Query specification reference set - Data structure


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
:

Caption label
CapIdhierarchy-of-foundation-metadata-concept
CapTypeTable
Hierarchy of Foundation metadata concept


Scg expression
Borderridge

  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
nopaneltrue

Descriptor Template

...

Figure 14. Hierarchy of Foundation metadata concept

...

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 $$

|Query|

Concept
t900000000000465000

$$

|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, effectiveTime, active, moduleId. 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 .

...

|

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


Anchor_270fa207-4075-47c9-92bf-de81d7ba4efd__f_270fa207-4075-47c9-92bf-de81d7ba4efd__fTable 45. Example rows from Query Specification Reference Set

 

 

refsetId

referencedComponentId

query

$$

Concept
t900000000000513000|Simple query specification

$$

|

Concept
t|

$$

Target reference set

$$

Serialized text of the query ...

...

The specification of the query language has yet to be defined / selected, but it should be capable of:

...

|


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


References