Skip to main content

ValueSet

ResourceFoundation · TerminologyNormativeMaturity 5

A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between `CodeSystem` definitions and their use in coded elements.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
16 of 18 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriCanonical identifier for this value set, represented as a URI (globally unique)
identifierΣ
0..*IdentifierAdditional identifier for the value set (business identifier)
versionΣ
0..1stringBusiness version of the value set
nameΣ
0..1stringName for this value set (computer friendly)
titleΣ
0..1stringName for this value set (human friendly)
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
description
0..1markdownNatural language description of the value set
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for value set (if applicable)Binding (extensible): jurisdiction
immutableΣ
0..1booleanIndicates whether or not any change to the content logical definition may occur
purpose
0..1markdownWhy this value set is defined
copyright
0..1markdownUse and/or publishing restrictions
compose
0..1BackboneElementContent logical definition of the value set (CLD)
lockedDateΣ
0..1dateFixed date for references with no specified version (transitive)
inactiveΣ
0..1booleanWhether inactive codes are in the value set
includeRequiredΣ
1..*BackboneElementInclude one or more codes from a code system or other value set(s)
systemΣ
0..1uriThe system the codes come from
versionΣ
0..1stringSpecific version of the code system referred to
concept
0..*BackboneElementA concept defined in the system
codeRequired
1..1codeCode or expression from system
display
0..1stringText to display for this code for this value set in this valueset
designation
0..*BackboneElementAdditional representations for this concept
language
0..1codeHuman language of the designationBinding (preferred): languages
use
0..1CodingTypes of uses of designationsBinding (extensible): designation-use
valueRequired
1..1stringThe text value for this designation
filterΣ
0..*BackboneElementSelect codes/concepts by their properties (including relationships)
propertyRequiredΣ
1..1codeA property/filter defined by the code system
opRequiredΣ
1..1code= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | existsBinding (required): filter-operator
valueRequiredΣ
1..1stringCode from the system, or regex criteria, or boolean value for exists
valueSetΣ
0..*canonical(ValueSet)Select the contents included in this value set
exclude
0..*Same as ValueSet.compose.includeExplicitly exclude codes from a code system or other value sets
expansion
0..1BackboneElementUsed when the value set is "expanded"
identifier
0..1uriIdentifies the value set expansion (business identifier)
timestampRequired
1..1dateTimeTime ValueSet expansion happened
total
0..1integerTotal number of codes in the expansion
offset
0..1integerOffset at which this resource starts
parameter
0..*BackboneElementParameter that controlled the expansion process
nameRequired
1..1stringName as assigned by the client or server
value[x]
0..1string | boolean | integer | decimal | uri | code | dateTimeValue of the named parameter
contains
0..*BackboneElementCodes in the value set
system
0..1uriSystem value for the code
abstract
0..1booleanIf user cannot select this entry
inactive
0..1booleanIf concept is inactive in the code system
version
0..1stringVersion in which this code/display is defined
code
0..1codeCode - if blank, this is not a selectable code
display
0..1stringUser display for the concept
designation
0..*Same as ValueSet.compose.include.concept.designationAdditional representations for this item
contains
0..*Same as ValueSet.expansion.containsCodes contained under this entry

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/ValueSet?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
codetoken

This special parameter searches for codes in the value set. See additional notes on the ValueSet resource

ValueSet.expansion.contains.code | ValueSet.compose.include.concept.code
contexttoken

A use context assigned to the value set

(ValueSet.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the value set

(ValueSet.useContext.value.ofType(Quantity)) | (ValueSet.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the value set

ValueSet.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the value set

ValueSet.useContext
context-type-valuecomposite

A use context type and value assigned to the value set

ValueSet.useContext
datedate

The value set publication date

ValueSet.date
descriptionstring

The description of the value set

ValueSet.description
expansionuri

Identifies the value set expansion (business identifier)

ValueSet.expansion.identifier
identifiertoken

External identifier for the value set

ValueSet.identifier
jurisdictiontoken

Intended jurisdiction for the value set

ValueSet.jurisdiction
namestring

Computationally friendly name of the value set

ValueSet.name
publisherstring

Name of the publisher of the value set

ValueSet.publisher
referenceuri

A code system included or excluded in the value set or an imported value set

ValueSet.compose.include.system
statustoken

The current status of the value set

ValueSet.status
titlestring

The human-friendly name of the value set

ValueSet.title
urluri

The uri that identifies the value set

ValueSet.url
versiontoken

The business version of the value set

ValueSet.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition