description: Indicates that a medication product is to be or has been dispensed for a named person/patient. This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order. package_name: ca.healthpei.io.core derivation: constraint name: MedicationDispense type: MedicationDispense elements: category: mustSupport: true index: 4 elements: coding: mustSupport: true index: 5 elements: system: pattern: {type: uri, value: 'http://hl7.org/fhir/ValueSet/medicationdispense-category'} mustSupport: true type: uri index: 6 code: pattern: {type: code, value: community} mustSupport: true type: code index: 7 display: pattern: {type: string, value: community} mustSupport: true type: string index: 8 text: pattern: {type: string, value: community} mustSupport: true type: string index: 9 whenHandedOver: {mustSupport: true, index: 36} whenPrepared: {mustSupport: true, index: 35} status: {mustSupport: true, index: 3} dosageInstruction: mustSupport: true index: 37 elements: text: {mustSupport: true, index: 38} daysSupply: mustSupport: true index: 30 elements: value: {mustSupport: true, index: 31} unit: {mustSupport: true, index: 32} system: {mustSupport: true, index: 33} code: {mustSupport: true, index: 34} identifier: mustSupport: true index: 0 elements: system: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} required: [system, value] medicationReference: refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: medication index: 14 slicing: slices: medicationReference: match: {} schema: refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference mustSupport: true choiceOf: medication index: 14 min: 0 max: 1 quantity: mustSupport: true index: 25 elements: value: {mustSupport: true, index: 26} unit: {mustSupport: true, index: 27} system: {mustSupport: true, index: 28} code: {mustSupport: true, index: 29} location: type: Reference mustSupport: true refers: ['http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-Location'] index: 21 elements: reference: {mustSupport: true, index: 22} authorizingPrescription: type: Reference mustSupport: true refers: ['http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-MedicationRequest'] index: 23 elements: reference: {mustSupport: true, index: 24} subject: type: Reference mustSupport: true refers: ['http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-Patient'] index: 15 elements: reference: {mustSupport: true, index: 16} performer: mustSupport: true index: 17 elements: actor: mustSupport: true index: 18 elements: type: {mustSupport: true, index: 19} display: {mustSupport: true, index: 20} medication: mustSupport: true choices: [] index: 11 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: medicationReference: match: {} schema: mustSupport: true choices: [medicationReference] index: 13 min: 0 max: 1 package_version: 0.1.3-DFT class: profile kind: resource url: http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-MedicationDispense base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: null required: [identifier, subject]