description: 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.) package_name: ch.fhir.ig.ch derivation: constraint name: CHEMEDExtSubstitution type: Extension elements: extension: {index: 0} url: type: uri pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution'} index: 1 valueCodeableConcept: type: CodeableConcept short: Whether substitution is allowed or not binding: {strength: preferred, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode'} index: 2 package_version: emed-3.0.0 extensions: {} class: extension kind: complex-type url: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution base: http://hl7.org/fhir/StructureDefinition/Extension version: 3.0.0 required: [valueCodeableConcept]