Skip to main content

MedicationDispense

ResourceClinical · MedicationsTrial useMaturity 2

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.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
15 of 15 parameters tested

Structure​

ElementCard.TypeDescription
identifier
0..*IdentifierExternal identifier
partOf
0..*Reference(Procedure)Event that dispense is part of
statusRequired?!Σ
1..1codepreparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknownBinding (required): medicationdispense-status
statusReason[x]
0..1CodeableConcept | Reference(DetectedIssue)Why a dispense was not performedBinding (example): medicationdispense-status-reason
category
0..1CodeableConceptType of medication dispenseBinding (preferred): medicationdispense-category
medication[x]RequiredΣ
1..1CodeableConcept | Reference(Medication)What medication was suppliedBinding (example): medication-codes
subjectΣ
0..1Reference(Patient | Group)Who the dispense is for
context
0..1Reference(Encounter | EpisodeOfCare)Encounter / Episode associated with event
supportingInformation
0..*Reference(Resource)Information that supports the dispensing of the medication
performer
0..*BackboneElementWho performed event
function
0..1CodeableConceptWho performed the dispense and what they didBinding (example): medicationdispense-performer-function
actorRequired
1..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson)Individual who was performing
location
0..1Reference(Location)Where the dispense occurred
authorizingPrescription
0..*Reference(MedicationRequest)Medication order that authorizes the dispense
type
0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.Binding (example): v3-ActPharmacySupplyType
quantity
0..1QuantityAmount dispensed
daysSupply
0..1QuantityAmount of medication expressed as a timing amount
whenPreparedΣ
0..1dateTimeWhen product was packaged and reviewed
whenHandedOver
0..1dateTimeWhen product was given out
destination
0..1Reference(Location)Where the medication was sent
receiver
0..*Reference(Patient | Practitioner)Who collected the medication
note
0..*AnnotationInformation about the dispense
dosageInstruction
0..*DosageHow the medication is to be used by the patient or administered by the caregiver
substitution
0..1BackboneElementWhether a substitution was performed on the dispense
wasSubstitutedRequired
1..1booleanWhether a substitution was or was not performed on the dispense
type
0..1CodeableConceptCode signifying whether a different drug was dispensed from what was prescribedBinding (example): v3-ActSubstanceAdminSubstitutionCode
reason
0..*CodeableConceptWhy was substitution madeBinding (example): v3-SubstanceAdminSubstitutionReason
responsibleParty
0..*Reference(Practitioner | PractitionerRole)Who is responsible for the substitution
detectedIssue
0..*Reference(DetectedIssue)Clinical issue with action
eventHistory
0..*Reference(Provenance)A list of relevant lifecycle events

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/MedicationDispense?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
codetoken

Returns dispenses of this medicine code

(MedicationDispense.medication.ofType(CodeableConcept))
contextreference

Returns dispenses with a specific context (episode or episode of care)

MedicationDispense.context
destinationreference

Returns dispenses that should be sent to a specific destination

MedicationDispense.destination
identifiertoken

Returns dispenses with this external identifier

MedicationDispense.identifier
medicationreference

Returns dispenses of this medicine resource

(MedicationDispense.medication.ofType(Reference))
patientreference

The identity of a patient to list dispenses for

MedicationDispense.subject.where(resolve() is Patient)
performerreference

Returns dispenses performed by a specific individual

MedicationDispense.performer.actor
prescriptionreference

The identity of a prescription to list dispenses from

MedicationDispense.authorizingPrescription
receiverreference

The identity of a receiver to list dispenses for

MedicationDispense.receiver
responsiblepartyreference

Returns dispenses with the specified responsible party

MedicationDispense.substitution.responsibleParty
statustoken

Returns dispenses with a specified dispense status

MedicationDispense.status
subjectreference

The identity of a patient for whom to list dispenses

MedicationDispense.subject
typetoken

Returns dispenses of a specific type

MedicationDispense.type
whenhandedoverdate

Returns dispenses handed over on this date

MedicationDispense.whenHandedOver
whenprepareddate

Returns dispenses prepared on this date

MedicationDispense.whenPrepared

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition