Prescription Search Support
1.0.0 - STU1

Publication Build: This will be filled in by the publication tooling

## Extension: Code ValueSet

Official URL: https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/CodeValueSet | Version: 1.0.0
Active as of 2025-05-14 | Computable Name: CodeValueSet
Other Identifiers: OID:2.16.840.1.113883.2.51.22.2.42.2

A ValueSet used when a question / item can correspond not just to a single code but to a set of concepts

Context of Use

This extension may be used on the following element(s):

- Element ID: `Questionnaire.item`
- Element ID: `ValueSet.compose.include.concept`
- Element ID: `ValueSet.expansion.contains`
- Element ID: `Questionnaire.item.answerOption`

Usage info

Usage:

- Use this Extension: PSS Data Acquisition Form
- Examples for this Extension: Bundle/getdatatocollect-a-response and Questionnaire/30551ce1-5a28-4356-b684-2e639094ad4c

### Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Code ValueSet
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/CodeValueSet"
value[x] |  | 0..1 | canonical() | Value of extension
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Code ValueSet
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/CodeValueSet"
value[x] |  | 0..1 | canonical() | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type canonical: A ValueSet used when a question / item can correspond not just to a single code but to a set of concepts

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Code ValueSet
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/CodeValueSet"
value[x] |  | 0..1 | canonical() | Value of extension
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension | Code ValueSet
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..0 |  |
url |  | 1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/pss/StructureDefinition/CodeValueSet"
value[x] |  | 0..1 | canonical() | Value of extension
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type canonical: A ValueSet used when a question / item can correspond not just to a single code but to a set of concepts

Other representations of profile: CSV, Excel, Schematron

#### Constraints

Id | Grade | Path(s) | Details | Requirements
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |