http://hl7.org/fhir/StructureDefinition/MedicationDispense|4.0.1

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.
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.
derivation: specialization
name: MedicationDispense
type: MedicationDispense
elements:
  category:
    short: Type of medication dispense
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-category'}
    index: 5
  whenHandedOver: {short: When product was given out, index: 20}
  whenPrepared: {short: When product was packaged and reviewed, isSummary: true, index: 19}
  eventHistory: {short: A list of relevant lifecycle events, array: true, index: 31}
  substitution:
    short: Whether a substitution was performed on the dispense
    index: 25
    elements:
      wasSubstituted: {short: Whether a substitution was or was not performed on the dispense, index: 26}
      type:
        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: 27
      reason:
        short: Why was substitution made
        array: true
        binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason'}
        index: 28
      responsibleParty: {short: Who is responsible for the substitution, array: true, index: 29}
    required: [wasSubstituted]
  detectedIssue: {short: Clinical issue with action, array: true, index: 30}
  type:
    short: Trial fill, partial fill, emergency fill, etc.
    binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType'}
    index: 16
  statusReason:
    short: Why a dispense was not performed
    choices: []
    index: 4
  note: {short: Information about the dispense, array: true, index: 23}
  supportingInformation: {short: Information that supports the dispensing of the medication, array: true, index: 10}
  status:
    isModifier: true
    short: preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown
    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: {short: How the medication is to be used by the patient or administered by the caregiver, array: true, index: 24}
  daysSupply: {short: Amount of medication expressed as a timing amount, index: 18}
  identifier: {short: External identifier, array: true, index: 0}
  context: {short: Encounter / Episode associated with event, index: 9}
  quantity: {short: Amount dispensed, index: 17}
  partOf: {short: Event that dispense is part of, array: true, index: 1}
  location: {short: Where the dispense occurred, index: 14}
  authorizingPrescription: {short: Medication order that authorizes the dispense, array: true, index: 15}
  receiver: {short: Who collected the medication, array: true, index: 22}
  subject: {short: Who the dispense is for, isSummary: true, index: 8}
  destination: {short: Where the medication was sent, index: 21}
  performer:
    short: Who performed event
    array: true
    index: 11
    elements:
      function:
        short: Who performed the dispense and what they did
        binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-performer-function'}
        index: 12
      actor: {short: Individual who was performing, index: 13}
    required: [actor]
  medication:
    short: What medication was supplied
    choices: []
    isSummary: true
    index: 7
class: resource
kind: resource
url: http://hl7.org/fhir/StructureDefinition/MedicationDispense
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 4.0.1
required: [status, medication]