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: hl7.fhir.r4.id.core derivation: specialization name: MedicationDispense type: MedicationDispense elements: statusReasonReference: short: Why a dispense was not performed refers: ['http://hl7.org/fhir/StructureDefinition/DetectedIssue'] type: Reference choiceOf: statusReason index: 6 category: short: Type of medication dispense type: CodeableConcept binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-category'} index: 7 whenHandedOver: {type: dateTime, short: When product was given out, index: 24} whenPrepared: {type: dateTime, short: When product was packaged and reviewed, isSummary: true, index: 23} eventHistory: type: Reference short: A list of relevant lifecycle events refers: ['http://hl7.org/fhir/StructureDefinition/Provenance'] index: 35 substitution: type: BackboneElement short: Whether a substitution was performed on the dispense index: 29 elements: wasSubstituted: {type: boolean, short: Whether a substitution was or was not performed on the dispense, index: 30} type: type: CodeableConcept short: Code signifying whether a different drug was dispensed from what was prescribed binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode'} index: 31 reason: type: CodeableConcept short: Why was substitution made binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason'} index: 32 responsibleParty: type: Reference short: Who is responsible for the substitution refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole'] index: 33 required: [wasSubstituted] detectedIssue: short: Clinical issue with action refers: ['http://hl7.org/fhir/StructureDefinition/DetectedIssue'] type: Reference index: 34 medicationCodeableConcept: {short: What medication was supplied, type: CodeableConcept, choiceOf: medication, isSummary: true, index: 10} type: type: CodeableConcept short: Trial fill, partial fill, emergency fill, etc. binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType'} index: 20 statusReason: short: Why a dispense was not performed choices: [statusReasonCodeableConcept, statusReasonReference] index: 4 note: {type: Annotation, short: Information about the dispense, index: 27} statusReasonCodeableConcept: {type: CodeableConcept, short: Why a dispense was not performed, choiceOf: statusReason, index: 5} supportingInformation: type: Reference short: Information that supports the dispensing of the medication refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] index: 14 status: isModifier: true short: preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-status|4.0.1'} isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid isSummary: true index: 2 dosageInstruction: {type: Dosage, short: How the medication is to be used by the patient or administered by the caregiver, index: 28} daysSupply: {type: Quantity, short: Amount of medication expressed as a timing amount, index: 22} identifier: {type: Identifier, short: External identifier, index: 0} context: type: Reference short: Encounter / Episode associated with event refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare'] index: 13 medicationReference: short: What medication was supplied refers: ['http://hl7.org/fhir/StructureDefinition/Medication'] type: Reference choiceOf: medication isSummary: true index: 11 quantity: {type: Quantity, short: Amount dispensed, index: 21} partOf: type: Reference short: Event that dispense is part of refers: ['http://hl7.org/fhir/StructureDefinition/Procedure'] index: 1 location: type: Reference short: Where the dispense occurred refers: ['http://hl7.org/fhir/StructureDefinition/Location'] index: 18 authorizingPrescription: type: Reference short: Medication order that authorizes the dispense refers: ['http://hl7.org/fhir/StructureDefinition/MedicationRequest'] index: 19 receiver: type: Reference short: Who collected the medication refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner'] index: 26 subject: short: Who the dispense is for refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Patient'] type: Reference isSummary: true index: 12 destination: type: Reference short: Where the medication was sent refers: ['http://hl7.org/fhir/StructureDefinition/Location'] index: 25 performer: type: BackboneElement short: Who performed event index: 15 elements: function: short: Who performed the dispense and what they did type: CodeableConcept binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-performer-function'} index: 16 actor: short: Individual who was performing refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference index: 17 required: [actor] medication: short: What medication was supplied choices: [medicationCodeableConcept, medicationReference] isSummary: true index: 9 package_version: 0.1.0 class: resource kind: resource url: https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationDispense base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 4.0.1 required: [medicationCodeableConcept, status, medication, medicationReference]