## Profile Comparison between http://hl7.org.nz/fhir/StructureDefinition/NzMedicationDispense vs http://hl7.org.nz/fhir/StructureDefinition/NzMedicationDispense

Left: | Medication Dispense resource for use in NZ (http://hl7.org.nz/fhir/StructureDefinition/NzMedicationDispense)
Right: | Medication Dispense resource for use in NZ (http://hl7.org.nz/fhir/StructureDefinition/NzMedicationDispense)

### Messages

Information | StructureDefinition.date | Values for date differ: '2024-08-14T09:20:22+12:00' vs '2026-07-24T15:52:23+12:00'
Information | StructureDefinition.jurisdiction | Added the item 'null#null'
Information | MedicationDispense.language | Example/preferred bindings differ at MedicationDispense.language using binding from NzMedicationDispense
Information | MedicationDispense.category | Example/preferred bindings differ at MedicationDispense.category using binding from NzMedicationDispense

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationDispense |
copyright |  |
date | 2024-08-14T09:20:22+12:00 | 2026-07-24T15:52:23+12:00 | Values Differ
description | Medication Dispense resource for use in NZ |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] |  | null#null | Added the item 'null#null'
kind | resource |
name | NzMedicationDispense |
publisher | HL7 New Zealand |
purpose |  |
status | draft |
title | Medication Dispense resource for use in NZ |
type | MedicationDispense |
url | http://hl7.org.nz/fhir/StructureDefinition/NzMedicationDispense |
version | 1.0.0 |

### 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: ?? (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
| Example/preferred bindings differ at MedicationDispense.language using binding from NzMedicationDispense
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 |  | 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 | ?!Σ | 1..1 | code | preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown Binding: ?? (required): A coded concept specifying the state of the dispense event. | ?!Σ | 1..1 | code | preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown Binding: ?? (required): A coded concept specifying the state of the dispense event. |
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 medication dispense Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered. |  | 0..1 | CodeableConcept | Type of medication dispense Binding: ?? (preferred): A code describing where the dispensed medication is expected to be consumed or administered. | Example/preferred bindings differ at MedicationDispense.category using binding from NzMedicationDispense
Slices for medication[x] | Σ | 1..1 | CodeableConcept, Reference(Medication) | What medication was supplied Slice: Unordered, Open by type:$this Binding: ?? (example): A coded concept identifying which substance or product can be dispensed. | Σ | 1..1 | CodeableConcept, Reference(Medication) | What medication was supplied Slice: Unordered, Open by type:$this Binding: ?? (example): A coded concept identifying which substance or product can be dispensed. |
subject | Σ | 0..1 | Reference(Patient | Group) | Who the dispense is for | Σ | 0..1 | Reference(Patient | Group) | Who the dispense is for |
context |  | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with event |  | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode 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 |  | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Individual who was performing |  | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson) | Individual who was performing |
location |  | 0..1 | Reference(Location) | Where the dispense occurred |  | 0..1 | Reference(Location) | Where the dispense occurred |
authorizingPrescription |  | 0..* | Reference(MedicationRequest) | Medication order that authorizes the dispense |  | 0..* | Reference(MedicationRequest) | Medication order that authorizes the dispense |
type |  | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: ?? (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. |  | 0..1 | CodeableConcept | Trial fill, partial fill, emergency fill, etc. Binding: ?? (example): Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc. |
quantity |  | 0..1 | ?? | Amount dispensed |  | 0..1 | ?? | Amount dispensed |
daysSupply |  | 0..1 | ?? | Amount of medication expressed as a timing amount |  | 0..1 | ?? | Amount of 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 |  | 0..1 | dateTime | When product was given out |  | 0..1 | dateTime | When product was given out |
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 |  | 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 |  | 1..1 | boolean | Whether a substitution was or was not performed on the dispense |  | 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