## Profile Comparison between http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense vs http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense

Left: | PDex MedicationDispense (http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense)
Right: | PDex MedicationDispense (http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense)

### Messages

Error | StructureDefinition.version | Values for version differ: '2.1.0' vs '2.1.1'
Information | StructureDefinition.date | Values for date differ: '2025-06-18T00:57:14+00:00' vs '2025-12-18T03:22:36+00:00'
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense' vs 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense|7.0.0'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense | http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense|7.0.0 | Values Differ
copyright | Used by permission of HL7 International, all rights reserved Creative Commons License |
date | 2025-06-18T00:57:14+00:00 | 2025-12-18T03:22:36+00:00 | Values Differ
description | Prescription Medications dispensed by a pharmacy to a health plan member and paid for in full, or in part, by the health plan |
experimental | true |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | PdexMedicationDispense |
publisher | HL7 International / Financial Management |
purpose |  |
status | active |
title | PDex MedicationDispense |
type | MedicationDispense |
url | http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense |
version | 2.1.0 | 2.1.1 | 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..* | USCoreMedicationDispenseProfile(7.0.0) | Dispensing a medication to a named patient | C | 0..* | USCoreMedicationDispenseProfile(7.0.0) | 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: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier |  | 0..* | Identifier | External identifier |  | 0..* | Identifier | External identifier |
partOf |  | 0..* | Reference(Procedure) | Event that dispense is part of |  | 0..* | Reference(Procedure) | Event that dispense is part of |
status | ?!S Σ C | 1..1 | code | completed Binding: ?? (required) | ?!S Σ C | 1..1 | code | completed Binding: ?? (required) |
statusReason[x] |  | 0..1 | CodeableConcept, Reference(DetectedIssue) | Why a dispense was not performed Binding: ?? (example): A code describing why a dispense was not performed. |  | 0..1 | CodeableConcept, Reference(DetectedIssue) | Why a dispense was not performed Binding: ?? (example): A code describing why a dispense was not performed. |
category |  | 0..1 | CodeableConcept | Type of dispense action Binding: ?? (required) |  | 0..1 | CodeableConcept | Type of dispense action Binding: ?? (required) |
Slices for medication[x] | S Σ | 1..1 | CodeableConcept | What medication was supplied Slice: Unordered, Closed by type:$this Binding: ?? (extensible) | S Σ | 1..1 | CodeableConcept | What medication was supplied Slice: Unordered, Closed by type:$this Binding: ?? (extensible) |
subject | S Σ | 1..1 | Reference(US Core Patient Profile(7.0.0) S) | The patient who is prescribed the medication | S Σ | 1..1 | Reference(US Core Patient Profile(7.0.0) S) | The patient who is prescribed the medication |
context | S | 0..1 | Reference(US Core Encounter Profile(7.0.0) S | EpisodeOfCare) | Encounter associated with MedicationDispense | S | 0..1 | Reference(US Core Encounter Profile(7.0.0) S | EpisodeOfCare) | Encounter associated with MedicationDispense |
supportingInformation |  | 0..* | Reference(Resource) | Information that supports the dispensing of the medication. Reference any US Core, HRex or PDex profile. |  | 0..* | Reference(Resource) | Information that supports the dispensing of the medication. Reference any US Core, HRex or PDex profile. |
performer | S | 0..* | BackboneElement | Who performed the dispense event | S | 0..* | BackboneElement | Who performed the dispense 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(US Core Practitioner Profile(7.0.0) S | US Core PractitionerRole Profile(7.0.0) | US Core Organization Profile(7.0.0) S) | Individual or device performing the dispense | S | 1..1 | Reference(US Core Practitioner Profile(7.0.0) S | US Core PractitionerRole Profile(7.0.0) | US Core Organization Profile(7.0.0) S) | Individual or device performing the dispense |
location |  | 0..1 | Reference(US Core Location Profile(7.0.0)) | Where the dispense occurred |  | 0..1 | Reference(US Core Location Profile(7.0.0)) | Where the dispense occurred |
authorizingPrescription | S | 0..* | Reference(US Core MedicationRequest Profile(7.0.0)) | Medication order that authorizes the dispense | S | 0..* | Reference(US Core MedicationRequest Profile(7.0.0)) | Medication order that authorizes the dispense |
type | S | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: ?? (required) | S | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: ?? (required) |
quantity | S | 0..1 | ?? | Billing, service, product, or drug code Binding: ?? (preferred)
Additional Bindings | Purpose
?? | Max Binding
| S | 0..1 | ?? | Billing, service, product, or drug code Binding: ?? (preferred)
Additional Bindings | Purpose
?? | Max Binding
daysSupply |  | 0..1 | ?? | Medication expressed as a timing amount. |  | 0..1 | ?? | Medication expressed as a timing amount. |
whenPrepared | Σ | 0..1 | dateTime | When product was packaged and reviewed | Σ | 0..1 | dateTime | When product was packaged and reviewed |
whenHandedOver | S C | 0..1 | dateTime | When product was given out or mailed | S C | 0..1 | dateTime | When product was given out or mailed |
destination |  | 0..1 | Reference(Location) | Where the medication was sent |  | 0..1 | Reference(Location) | Where the medication was sent |
receiver |  | 0..* | Reference(Patient | Practitioner) | Who collected the medication |  | 0..* | Reference(Patient | Practitioner) | Who collected the medication |
note |  | 0..* | Annotation | Information about the dispense |  | 0..* | Annotation | Information about the dispense |
dosageInstruction | S | 0..* | Dosage | How the medication is to be used by the patient or administered by the caregiver | S | 0..* | Dosage | How the medication is to be used by the patient or administered by the caregiver |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
sequence | Σ | 0..1 | integer | The order of the dosage instructions | Σ | 0..1 | integer | The order of the dosage instructions |
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG |
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions | Σ | 0..1 | string | Patient or consumer oriented instructions |
timing | S Σ | 0..1 | Timing | When medication should be administered | S Σ | 0..1 | Timing | When medication should be administered |
asNeeded[x] | Σ | 0..1 | boolean, CodeableConcept | Take "as needed" (for x) Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. | Σ | 0..1 | boolean, CodeableConcept | Take "as needed" (for x) Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. |
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body. | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body. |
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: ?? (example): A coded concept describing the technique by which the medicine is administered. | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: ?? (example): A coded concept describing the technique by which the medicine is administered. |
doseAndRate | S Σ | 0..* | Element | Amount of medication administered | S Σ | 0..* | Element | Amount of medication administered |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
type | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: ?? (example): The kind of dose or rate specified. | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: ?? (example): The kind of dose or rate specified. |
dose[x] | S Σ | 0..1 | ??, Range | Amount of medication per dose Binding: ?? (preferred)
Additional Bindings | Purpose
?? | Max Binding
| S Σ | 0..1 | ??, Range | Amount of medication per dose Binding: ?? (preferred)
Additional Bindings | Purpose
?? | Max Binding
rate[x] | Σ | 0..1 | Ratio, Range, ?? | Amount of medication per unit of time | Σ | 0..1 | Ratio, Range, ?? | Amount of medication per unit of time |
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |
maxDosePerAdministration | Σ | 0..1 | ?? | Upper limit on medication per administration | Σ | 0..1 | ?? | Upper limit on medication per administration |
maxDosePerLifetime | Σ | 0..1 | ?? | Upper limit on medication per lifetime of the patient | Σ | 0..1 | ?? | Upper limit on medication per lifetime of the patient |
substitution | S | 0..1 | BackboneElement | Whether a substitution was performed on the dispense | S | 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): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription. |  | 0..1 | CodeableConcept | Code signifying whether a different drug was dispensed from what was prescribed Binding: ?? (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription. |
reason |  | 0..* | CodeableConcept | Why was substitution made Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. |  | 0..* | CodeableConcept | Why was substitution made Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed. |
responsibleParty |  | 0..* | Reference(Practitioner | PractitionerRole) | Who is responsible for the substitution |  | 0..* | Reference(Practitioner | PractitionerRole) | Who is responsible for the substitution |
detectedIssue |  | 0..* | Reference(DetectedIssue) | Clinical issue with action |  | 0..* | Reference(DetectedIssue) | Clinical issue with action |
eventHistory |  | 0..* | Reference(Provenance) | A list of relevant lifecycle events |  | 0..* | Reference(Provenance) | A list of relevant lifecycle events |
Documentation for this format