description: This profile sets minimum expectations for a MedicationDispense resource to record, search, and fetch medication dispense history associated with a patient. It is based on the [AU Base Medication Dispense](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medicationdispense.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the MedicationDispense when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context. package_name: hl7.fhir.au.core derivation: constraint name: AUCoreMedicationDispense type: MedicationDispense elements: category: {mustSupport: true, index: 5} whenHandedOver: {mustSupport: true, index: 26} substitution: mustSupport: true index: 29 elements: wasSubstituted: {mustSupport: true, index: 30} medication[x]: elements: coding: index: 11 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: pbs: match: {system: null} schema: {mustSupport: true, index: 12} amt: match: {system: null} schema: {mustSupport: true, index: 13} medicationCodeableConcept: type: CodeableConcept choiceOf: medication index: 10 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, choiceOf: medication, index: 10} statusReason: {mustSupport: true, index: 4} note: {mustSupport: true, index: 27} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: dispenseNumber: match: {url: null} schema: {type: Extension, mustSupport: true, url: 'http://hl7.org.au/fhir/StructureDefinition/dispense-number', index: 1} max: 1 status: {mustSupport: true, index: 3} dosageInstruction: {mustSupport: true, index: 28} daysSupply: {mustSupport: true, index: 25} identifier: {mustSupport: true, index: 2} context: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter'] index: 18 medicationReference: type: Reference choiceOf: medication refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication'] index: 16 slicing: slices: medicationReference: match: {} schema: type: Reference choiceOf: medication refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication'] index: 16 quantity: {mustSupport: true, index: 24} location: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-location'] index: 22 authorizingPrescription: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest'] index: 23 subject: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient'] index: 17 performer: mustSupport: true index: 19 elements: function: {mustSupport: true, index: 20} actor: type: Reference mustSupport: true refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole', 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson'] index: 21 medication: choices: [medicationReference] index: 15 slicing: slices: medicationReference: match: {} schema: choices: [medicationReference] index: 15 package_version: 0.1.0-draft extensions: dispenseNumber: {url: 'http://hl7.org.au/fhir/StructureDefinition/dispense-number', max: 1, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationdispense base: http://hl7.org.au/fhir/StructureDefinition/au-medicationdispense version: 0.1.0-draft required: [subject]