description: This extension is used to indicate whether the medication can be substituted for this patient, i.e. whether it is allowed. \n (For a prescription, MedicationRequest.substitution is used to record whether a substitution is allowed or not. \n When dispensing, a performed substitution is recorded in MedicationDispense.substitution.) package_name: ch.fhir.ig.ch-core derivation: constraint name: CHEMEDExtSubstitution type: Extension elements: extension: {index: 0} url: pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-ext-substitution'} index: 1 value: short: Whether substitution is allowed or not choices: [valueCodeableConcept] index: 3 valueCodeableConcept: {type: CodeableConcept, short: Whether substitution is allowed or not, choiceOf: value, index: 4} package_version: 5.0.0-ballot 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: 5.0.0-ballot required: [value, valueCodeableConcept]