This page is part of the FHIR Specification (v0.05: DSTU 1 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Status: An infrastructure resource. This is an approved resource, and its status is draft for comment
Value Set - a set of defined codes from one or more code systems that may be bound to a context.
The resource name as it appears in a RESTful URL is /valueset/
A value set specifies a set of codes drawn from one or more code systems. Value sets don't actually define the code themselves - they just define what codes are included or excluded from the set. Value sets are defined to control what codes or concepts can be used in a particular context.
A value set resource is directly mappable to a CTS2 value set definition and an automated transform should be possible in order to use a CTS2 server to provide value set functionality
<ValueSet xmlns="http://hl7.org/fhir"> <id><!-- 1..1 id Fixed identifier for this value set resource --></id> <name><!-- 1..1 string Informal name for this value set --></name> <author> <!-- (Organisation or individual) --> <name><!-- 1..1 string Name of the recognised author --></name> <reference><!-- 0..1 uri Author contact --></reference> </author> <description><!-- 1..1 string Human language description of the value set --></description> <status><!-- 1..1 code draft | testing | production | withdrawn | superseded --></status> <date><!-- 1..1 dateTime Date for given status --></date> <identifier><!-- 1..1 id Logical id to reference this value set --></identifier> <version><!-- 1..1 id Logical id for this version of the value set --></version> <restricts><!-- 0..* uri Can replace these value sets when profiling --></restricts> <import><!-- 0..* uri Import the contents of another value set --></import> <include> <!-- 0..* Include one or more codes from a code system --> <system><!-- 1..1 uri The system the codes come from --></system> <version><!-- 0..1 string Specific version of the code system referred to --></version> <mode><!-- 1..1 code code | children | descendants | all --></mode> <code><!-- 0..* code Code or concept --></code> <filter> <!-- 0..* Celect codes/concepts by their properties --> <property><!-- 1..1 code A property defined by the code system --></property> <op><!-- 1..1 code = | is_a | is_not_a | regex --></op> <value><!-- 1..1 code Code from the system, or regex criteria --></value> </filter> </include> <exclude><!-- 0..* Content as for ValueSet.include Explicitly exclude codes --></exclude> <extension><!-- 0..* Extension See Extensions --></extension> <text><!-- 1..1 Narrative Text summary of value set for human interpretation --></text> </ValueSet>
Alternate definitions: Schema/Schematron, RDF (to do), XML, Resource Profile
Terminology Bindings
draft | This valueset is still under development | |
testing | This valueset was authored for testing purposes (or education/evaluation/evangelisation) | |
production | This valueset is ready for use in production systems | |
withdrawn | This valueset should no longer be used | |
superseded | This valueset has been replaced and a different valueset should be used in its place |
code | Only this code is selected | |
children | Only the immediate children (codes with a is_a relationship) are selected, but not this code itself | |
descendants | All descendants of this code are selected, but not this code itself | |
all | This code and any descendants are selected |
= | The property value has the concept specified by the value | |
is_a | The property value has a concept that has an is_a relationship with the value | |
is_not_a | The property value has a concept that does not have an is_a relationship with the value | |
regex | The property value representation matches the regex specified in the value |
Constraints
Notes:
Search Parameters for RESTful searches. The standard parameters also apply. See Searching for more information.
n : integer | Starting offset of the first record to return in the search set |
count : integer | Number of return records requested. The server is not bound to conform |
id : token | The id of the resource |
name : string | a portion of the name of the value set |
identifier : token | the identifier of the value set |
version : token | the version identifier of the value set |
status : token | the status of the value set |
system : token | a code system included or excluded in the value set |
code : token | a code contained in the include or exclude list of the value set (but not including descendant codes) |
restricts : token | a value set listed in the restricts list |
import : token | a value set listed in the import list |
(See Searching).
This is an old version of FHIR retained for archive purposes. Do not use for anything else
Implementers are welcome to experiment with the content defined here, but should note that the contents are subject to change without prior notice.
© HL7.org 2011 - 2012. FHIR v0.05 generated on Sun, Sep 9, 2012 03:28+1000. License