HL7 v2.5.1 Specificationsv2.5.1

to moveEnter to openTry PID-5, ADT, 0004

ORP: Pharmacy/treatment order acknowledgment message

This page lists the structures and trigger events ORP defines, taken from the standard. The written commentary that theADT page carries has not been written for ORP.

Recognising ORP messages

ORP announces itself in MSH-9 like this:

MSH-9ORP^O10^ORP_O10
  1. MSH-9.1ORPmessage code: what kind of message this is
  2. MSH-9.2O10trigger event: what happened in the real world: pharmacy/treatment order acknowledgment
  3. MSH-9.3ORP_O10message structure: which segments to expect, and in what order

How to use these specifications explains MSH-9 in full, with a worked example.

Message structures

ORP takes 1 structure.

ORP_O10: Pharmacy/Treatment Order Acknowledgment

Sent when one thing happens: O10: Pharmacy/Treatment Order Acknowledgment.

You must always send: MSH, MSA. Everything else is optional, or required only inside a group you chose to send.

SegmentNameOPTCardinality
MSHMessage HeaderR1..1
MSAMessage AcknowledgmentR1..1
ERRErrorO0..*
SFTSoftwareO0..*
NTENotes and Comments (for each RXC)O0..*
RESPONSEa group of 2 segments, repeated togetherO0..1
PATIENTin RESPONSEa group of 2 segments, repeated togetherO0..1
PIDin PATIENTPatient IdentificationR1..1
NTEin PATIENTNotes and Comments (for each RXC)O0..*
ORDERin RESPONSEa group of 3 segments, repeated togetherR1..*
ORCin ORDERCommon OrderR1..1
TIMINGin ORDERa group of 2 segments, repeated togetherO0..*
TQ1in TIMINGTiming/QuantityR1..1
TQ2in TIMINGTiming/Quantity Order SequenceO0..*
ORDER_DETAILin ORDERa group of 4 segments, repeated togetherO0..1
RXOin ORDER_DETAILPharmacy/Treatment OrderR1..1
NTEin ORDER_DETAILNotes and Comments (for each RXC)O0..*
RXRin ORDER_DETAILPharmacy/Treatment RouteR1..*
COMPONENTin ORDER_DETAILa group of 2 segments, repeated togetherO0..*
RXCin COMPONENTPharmacy/Treatment ComponentR1..1
NTEin COMPONENTNotes and Comments (for each RXC)O0..*

R inside a group means required of that group. Send the group and you must include that segment; leave the group out and it never appears. This structure has 6 such groups: RESPONSE, PATIENT, ORDER, TIMING, ORDER_DETAIL, COMPONENT.

Trigger events

The trigger event is the real-world thing that made the message get sent. ORP defines 1.

EventNameStructure
O10Pharmacy/Treatment Order AcknowledgmentORP_O10