HL7 RSP_Z86 Pharmacy Information Comprehensive Response
RSP_Z86 is the comprehensive pharmacy-information response. It is meant for a query that needs more than one pharmacy slice: the order, the encoded order, dispense information, give information, administration information, routes, components, and observations can all appear under the returned common-order group.
That breadth is useful, but it makes profile discipline essential. A receiver should know which optional pharmacy groups the sender can actually return and which group is authoritative for the workflow being displayed.
A small RSP Z86 example
What systems do with it
A medication reconciliation viewer, clinical repository, pharmacy portal, or integration service might request RSP_Z86 when it needs a broad picture of the patient's pharmacy activity. The sender is normally a pharmacy or medication-history system that can combine order and fulfillment data.
Use QAK for the query result, QPD for the echoed question, and then read the pharmacy groups by purpose. RXE is encoded order detail, RXD is dispense detail, RXG is give detail, and RXA is administration detail.
How to read the structure
The query-response group may include patient demographics and allergies, then one or more common-order groups. Each common-order group starts with ORC and can branch into timing, requested order, encoded order, dispense, give, administration, route, component, and observation content.
The local v2.5.1 structure does not include RCP in this response, unlike some nearby response profiles. That makes QAK, QPD, and any continuation pointer especially important for understanding what subset was returned.
Implementation traps
The danger is flattening everything into "medications." Orders, dispenses, gives, and administrations are different events. Mixing them can make a medication look active, supplied, and administered when only one of those things is true.
Another trap is ignoring route and component segments. RXR and RXC often carry the information that makes a compound, infusion, or treatment instruction usable downstream.
Reference notes
HL7 identifies event Z86 as Pharmacy Information Comprehensive (Response). Segment references and generated structure pages show the response grammar using ORC with optional RXO, RXE, RXD, RXG, RXA, RXR, RXC, and OBX content. See HL7 Europe event Z86.