HL7 RSP_Z88 Dispense Information Response
RSP_Z88 returns dispense information in response to a pharmacy query. It looks close to RSP_Z82, but the emphasis is less "history over a range" and more "dispense information for the query that was asked." The structure still has enough room for patient, allergy, order, encoded order, actual dispense, route, component, and observation details.
Because this is a response, the top of the message matters as much as the pharmacy payload. MSA acknowledges the query message, QAK reports the query outcome, and QPD echoes the exact request.
A small RSP Z88 example
What systems do with it
The sender is usually the pharmacy system that owns the dispense record. The receiver might be an EHR medication viewer, an audit tool, a charge-review process, or an integration engine filling in details for a downstream workflow.
When allergies or visit information are returned, treat them as context for the dispense, not as a complete patient summary. The dispense itself is still anchored by ORC and RXD.
How to read the structure
The query-response group can include patient context, an optional allergy/visit branch, and one or more common-order groups. The common-order group can carry the requested order, encoded order, dispense, route, component, and observation information.
The local imported structure marks DSC as required. That is unusual enough to document in the interface profile. If your partner sends no continuation pointer, decide whether an empty DSC is valid or whether the profile should be corrected.
Implementation traps
Do not use the presence of an RXD segment as proof that the dispense is billable, active, or administered. Dispense status, quantity, return/waste workflows, and charge rules still need explicit handling.
Also avoid treating AL1 as a medication-allergy master update. In this response it is contextual. If the receiver updates the patient allergy list from it, that behavior needs a separate safety rule.
Reference notes
HL7 identifies event Z88 as Dispense Information (Response). The local v2.5.1 structure contains MSH, SFT, MSA, ERR, QAK, QPD, RCP, pharmacy query-response groups, and required DSC. See HL7 Europe event Z88.