CH EMED (R4)
4.0.1 - trial-use Switzerland flag

This page is part of the CH EMED (R4) (v4.0.1: STU 4) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Extension: CH EMED Extension Substitution

Official URL: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution Version: 4.0.1
Active as of 2023-12-28 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

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

  • Element ID MedicationStatement

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Simple Extension of 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.)

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Open by type:$this
.... value[x]:valueCodeableConcept 1..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
.... value[x]:valueCodeableConcept 1..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred)

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of 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 & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Open by type:$this
.... value[x]:valueCodeableConcept 1..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCH EMED Extension
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution"
.... value[x]:valueCodeableConcept 1..1CodeableConceptWhether substitution is allowed or not
Binding: ActSubstanceAdminSubstitutionCode (preferred)

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x]:valueCodeableConceptpreferredActSubstanceAdminSubstitutionCode

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()