## Profile Comparison between https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispense vs https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispense

Left: | IHE Medication Dispense (https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispense)
Right: | IHE Medication Dispense (https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispense)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0-comment-2' vs '1.0.0-comment-3'
Information | StructureDefinition.date | Values for date differ: '2025-05-27T16:32:53+02:00' vs '2026-04-22T08:40:31+00:00'
Warning | MedicationDispense.note | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | StructureDefinition.short | Values for short differ: 'Why was substitution made' vs 'Why substitution was (or was not) done'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationDispense |
copyright | IHE http://www.ihe.net/Governance/#Intellectual_Property |
date | 2025-05-27T16:32:53+02:00 | 2026-04-22T08:40:31+00:00 | Values Differ
description | MedicationDispense profile for capturing dispensation information based on a medication prescription. |
experimental |  |
fhirVersion | 5.0.0 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | IHEMedicationDispense |
publisher | Integrating the Healthcare Enterprise (IHE) |
purpose |  |
status | active |
title | IHE Medication Dispense |
type | MedicationDispense |
url | https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispense |
version | 1.0.0-comment-2 | 1.0.0-comment-3 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MedicationDispense | C | 0..* | MedicationDispense | Dispensing a medication to a named patient | C | 0..* | MedicationDispense | Dispensing a medication to a named patient |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
|  | 0..1 | code | Language of the resource content Binding: ?? (required): IETF language tag for a human language
Additional Bindings | Purpose
?? | Starter
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
identifier | S | 0..* | Identifier | External identifier | S | 0..* | Identifier | External identifier |
basedOn |  | 0..* | Reference(CarePlan) | Plan that is fulfilled by this dispense |  | 0..* | Reference(CarePlan) | Plan that is fulfilled by this dispense |
partOf |  | 0..* | Reference(Procedure | MedicationAdministration) | Event that dispense is part of |  | 0..* | Reference(Procedure | MedicationAdministration) | Event that dispense is part of |
status | ?!S Σ | 1..1 | code | preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown Binding: ?? (required): Describes the lifecycle of the dispense. | ?!S Σ | 1..1 | code | preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown Binding: ?? (required): Describes the lifecycle of the dispense. |
notPerformedReason | S | 0..1 | CodeableReference(DetectedIssue) | Why a dispense was not performed Binding: ?? (example) | S | 0..1 | CodeableReference(DetectedIssue) | Why a dispense was not performed Binding: ?? (example) |
statusChanged |  | 0..1 | dateTime | When the status changed |  | 0..1 | dateTime | When the status changed |
category |  | 0..* | CodeableConcept | Type of medication dispense Binding: ?? (example): A code describing where the dispensed medication is expected to be consumed or administered. |  | 0..* | CodeableConcept | Type of medication dispense Binding: ?? (example): A code describing where the dispensed medication is expected to be consumed or administered. |
medication | S Σ | 1..1 | CodeableReference(IHE Medication) | What medication was supplied Binding: ?? (example): A coded concept identifying which substance or product can be dispensed. | S Σ | 1..1 | CodeableReference(IHE Medication) | What medication was supplied Binding: ?? (example): A coded concept identifying which substance or product can be dispensed. |
subject | S Σ | 1..1 | Reference(Patient | Group) | Who the dispense is for | S Σ | 1..1 | Reference(Patient | Group) | Who the dispense is for |
encounter |  | 0..1 | Reference(Encounter) | Encounter associated with event |  | 0..1 | Reference(Encounter) | Encounter associated with event |
supportingInformation |  | 0..* | Reference(Resource) | Information that supports the dispensing of the medication |  | 0..* | Reference(Resource) | Information that supports the dispensing of the medication |
performer |  | 0..* | BackboneElement | Who performed event |  | 0..* | BackboneElement | Who performed event |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
function |  | 0..1 | CodeableConcept | Who performed the dispense and what they did Binding: ?? (example): A code describing the role an individual played in dispensing a medication. |  | 0..1 | CodeableConcept | Who performed the dispense and what they did Binding: ?? (example): A code describing the role an individual played in dispensing a medication. |
actor | S | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Individual who was performing | S | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Individual who was performing |
location |  | 0..1 | Reference(Location) | Where the dispense occurred |  | 0..1 | Reference(Location) | Where the dispense occurred |
authorizingPrescription | S | 0..* | Reference(MedicationRequest) | Medication order that authorizes the dispense | S | 0..* | Reference(MedicationRequest) | Medication order that authorizes the dispense |
type |  | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc Binding: ?? (example): ActPharmacySupplyType |  | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc Binding: ?? (example): ActPharmacySupplyType |
quantity | S | 1..1 | ?? | Amount dispensed | S | 1..1 | ?? | Amount dispensed |
daysSupply |  | 0..1 | ?? | Amount of medication expressed as a timing amount |  | 0..1 | ?? | Amount of medication expressed as a timing amount |
recorded |  | 0..1 | dateTime | When the recording of the dispense started |  | 0..1 | dateTime | When the recording of the dispense started |
whenPrepared | Σ C | 0..1 | dateTime | When product was packaged and reviewed | Σ C | 0..1 | dateTime | When product was packaged and reviewed |
whenHandedOver | S C | 1..1 | dateTime | When product was given out | S C | 1..1 | dateTime | When product was given out |
destination |  | 0..1 | Reference(Location) | Where the medication was/will be sent |  | 0..1 | Reference(Location) | Where the medication was/will be sent |
receiver | S | 0..* | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered | S | 0..* | Reference(Patient | Practitioner | RelatedPerson | Location | PractitionerRole) | Who collected the medication or where the medication was delivered |
note |  | 0..* | Annotation | Information about the dispense | S | 0..* | Annotation | Information about the dispense | Elements differ in definition for mustSupport: 'false' vs 'true'
renderedDosageInstruction |  | 0..1 | markdown | Full representation of the dosage instructions |  | 0..1 | markdown | Full representation of the dosage instructions |
dosageInstruction |  | 0..* | Dosage | How the medication is to be used by the patient or administered by the caregiver |  | 0..* | Dosage | How the medication is to be used by the patient or administered by the caregiver |
substitution |  | 0..1 | BackboneElement | Whether a substitution was performed on the dispense |  | 0..1 | BackboneElement | Whether a substitution was performed on the dispense |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
wasSubstituted | S | 1..1 | boolean | Whether a substitution was or was not performed on the dispense | S | 1..1 | boolean | Whether a substitution was or was not performed on the dispense |
type |  | 0..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: ?? (example): ActSubstanceAdminSubstitutionCode |  | 0..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: ?? (example): ActSubstanceAdminSubstitutionCode |
reason |  | 0..* | CodeableConcept | Why was substitution made Binding: ?? (example): SubstanceAdminSubstitutionReason |  | 0..* | CodeableConcept | Why substitution was (or was not) done Binding: ?? (example): SubstanceAdminSubstitutionReason |
responsibleParty |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who is responsible for the substitution |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who is responsible for the substitution |
eventHistory |  | 0..* | Reference(Provenance) | A list of relevant lifecycle events |  | 0..* | Reference(Provenance) | A list of relevant lifecycle events |
Documentation for this format