description: Whether and which type of substitution is allowed for this medication treatment line package_name: ihe.pharm.meow derivation: constraint name: Substitution type: Extension elements: extension: index: 0 slicing: slices: allowed: match: {} schema: _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: allowed} index: 3 value: choices: [valueCodeableConcept] index: 5 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6} reason: match: {} schema: index: 7 extensions: {} elements: extension: {index: 8} url: pattern: {type: Uri, value: reason} index: 9 value: choices: [valueCodeableConcept] index: 11 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 12} url: pattern: {type: Uri, value: 'https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/ihe-ext-medicationstatement-substitution'} index: 13 value: choices: [] index: 15 package_version: 1.0.0-preview extensions: allowed: url: null _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: allowed} index: 3 value: choices: [valueCodeableConcept] index: 5 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6} reason: url: null index: 7 extensions: {} elements: extension: {index: 8} url: pattern: {type: Uri, value: reason} index: 9 value: choices: [valueCodeableConcept] index: 11 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 12} class: extension kind: complex-type url: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/ihe-ext-medicationstatement-substitution base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0-preview required: [extension]