description: Medical and pharmaceutical information for the dispense information package_name: rs/de.gematik.erp derivation: constraint name: ERPServiceRequestMedicationDispense type: MedicationDispense elements: identifier: mustSupport: true index: 0 slicing: rules: open ordered: false description: Slicing for identifier elements discriminator: - {path: $this, type: pattern} min: 1 slices: prescriptionID: match: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} _required: true index: 1 min: 1 max: 1 medication: mustSupport: true choices: [medicationReference] index: 3 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Compounding', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_FreeText', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_Ingredient', 'https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN'] index: 4 subject: type: Reference short: Patient for whom a dispense is requested on behalf of the patient. mustSupport: true refers: ['https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-patient'] index: 5 package_version: servicerequest-1.2.0-rc1 class: profile kind: resource url: https://gematik.de/fhir/erp-servicerequest/StructureDefinition/erp-service-request-medication-dispense base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: '1.2' required: [identifier]