Medication Prescription and Dispense (MPD)
1.0.0-comment-3 - ballot
Medication Prescription and Dispense (MPD), published by Integrating the Healthcare Enterprise (IHE). This guide is not an authorized publication; it is the continuous build for version 1.0.0-comment-3 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/IHE/pharm-mpd/tree/101-pc-pharm-9-copy-paste-error and changes regularly. See the Directory of published versions
Built from commit 154cb545. Branch: 101-pc-pharm-9-copy-paste-error.
This section corresponds to transaction [PHARM-9] of the IHE Technical Framework. Transaction [PHARM-9] is used by the Dispense Consumer and the Dispense Responder actors. The Retrieve Medication Dispense [PHARM-9] transaction is used to retrieve existing MedicationDispense resources for further handling.
The Retrieve Dispenses [PHARM-9] transaction allows the Dispense Consumer to query the Dispense Responder for Dispenses.
Table X:Y.Z.2-1: Actor Roles
| Actor | Role |
|---|---|
| Dispense Consumer | Queries existing Dispenses from the Dispense Responder |
| Dispense Responder | Provides access to stored Dispenses |
FHIR-R5 HL7 FHIR Release 5.0
Figure X:Y.Z.4-1: Retrieve Dispenses Interactions
The Dispense Consumer submits a query using the HTTP GET or POST method to the /MedicationDispense endpoint, with the search parameters indicated below.
Alternatively, the Dispense Consumer can submit a query using the HTTP GET or POST method to the / endpoint with the _type search parameter populated - _type=MedicationDispense.
This method is invoked when needing to view or further processing medication dispenses.
Search parameters that SHALL be supported:
identifier — Search by the identifier of the MedicationDispense.patient — Search by the patient subject of the MedicationDispense.status — Filter MedicationDispenses by their status (e.g., active, completed).prescription — Filter by the prescription IDThe Retrieve Dispense transaction is a search query.
Upon receiving the query, the Dispense Responder is expected to respond with the medication dispenses if the conditions are met:
The Dispense Responder SHALL respond with a Search Bundle, containing the resources that correspond to the search and can be accessed (e.g. are allowed by any access control mechanisms).
The response is always expected.
The Response SHALL be a search Bundle containing the matching MedicationDispense resources.
The content of the MedicationDispense resources in the Bundle SHALL conform to the profiles defined in the IHE MedicationDispense profile.
In case of error, the response SHALL contain an OperationOutcome.
Upon receiving the response, the Dispense Consumer will store, process or initiate handling of the dispenses as part of the business process.