NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

The term "value set," when discussed in the context of HL7 can be somewhat ambiguous. There are at least three related artifacts that are sometimes called "value sets", including 1) a definition or algorithm that, when interpreted, produces a set of concept codes, 2) the actual set of concept codes that result from the execution of a definition or algorithm, and 3) a subset of this set of concept codes coupled with appropriate designations and identifying information. For this reason, the LexEVS model uses the names "value set definition", "value set resolution" and "pick list definition", "pick list resolution" respectively to represent the three different senses of "value set" described above.

Value Set Definition

...

Logical Model

The following figure shows an overview of the value set definition logical model described in the following section.

This graphic is an overview of the value set definition logical model.Image Modified

Value Set Definition logical MOdel description

...

Examples of Value Set Definitions

Example 1

So we have a Code System "Automobiles" that contains concept codes Domestic Automaker and Automobile. Domestic Automaker contains Ford and General Motors. Autombile contains Truck, Car, and Tires.

We define a Value Set Definition to contain all the concept codes to contain Code System 'Automobiles.

Code Block

valueSetDefinition
ValueSetDefinition URI : urn:VDexample1
ValueSetDefinition : All Automobiles
defaultcodingcheme: Automobiles

And when this definition is resolved, we will get back all the preferred designations.

This is example 1 as described above.Image Modified

Example 2

Using the same Code System "Automobiles" if you want to define the same value set definition to include all concept codes except "General Motors" and the children, it can be defined as follows:

Code Block

valueSetDefinition
ValueSetDefinition URI : urn:VDexample1
ValueSetDefinition : All Automobiles BUT GM
defaultcodingcheme: Automobiles

And when this definition is resolved, we will get back all the preferred designations.

This is example 2 as described above.Image Modified

Value Set Definition Resolution

...