CH Core (R4)
6.0.0-ci-build - ci-build Switzerland flag

CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 6.0.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-core/ and changes regularly. See the Directory of published versions

Extension: Substitution

Official URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution Version: 6.0.0-ci-build
Active as of 2025-09-02 Computable Name: CHEMEDExtSubstitution

Copyright/Legal: CC0-1.0

This extension is used to indicate whether the medication can be substituted for this patient, i.e. whether it is allowed. (For a prescription, MedicationRequest.substitution is used to record whether a substitution is allowed or not. When dispensing, a performed substitution is recorded in MedicationDispense.substitution.)

Context of Use

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension Extension
... extension 0..0
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Optional Extensions Element
... id 0..1 string Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type CodeableConcept: This extension is used to indicate whether the medication can be substituted for this patient, i.e. whether it is allowed. (For a prescription, MedicationRequest.substitution is used to record whether a substitution is allowed or not. When dispensing, a performed substitution is recorded in MedicationDispense.substitution.)

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension Extension
... extension 0..0
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
... value[x] 1..1 CodeableConcept Whether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Optional Extensions Element
... id 0..1 string Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type CodeableConcept: This extension is used to indicate whether the medication can be substituted for this patient, i.e. whether it is allowed. (For a prescription, MedicationRequest.substitution is used to record whether a substitution is allowed or not. When dispensing, a performed substitution is recorded in MedicationDispense.substitution.)

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.value[x]preferredActSubstanceAdminSubstitutionCode
http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()