The function of this message is to respond to an ORM message. An ORR message is the application acknowledgment to an ORM message. See Chapter 2 for a description of the acknowledgment paradigm.
In ORR the PID and ORC segments are optional, particularly in case of an error response. However, ORC segments are always required in ORR when an order detail segment is present. For example, a response ORR might include only the MSH and MSA, but if an RQ1 is present, it must be preceded by an ORC.
The function (e.g., cancel, new order) of both ORM and ORR messages is determined by the value in ORC-1-order control. (See the table of order control values for a complete list.)
ORR General Order Acknowledgment Message Chapter
MSH Message Header 2
MSA Message Acknowledgment 2
[ERR] Error 2
[{NTE}] Notes and Comments (for Header) 2
[
[PID Patient Identification 3
[{NTE}]] Notes and Comments (for Patient ID) 2
{
ORC Common Order 4
[Order Detail Segment] OBR, etc. 4
[{NTE}] Notes and Comments (for Detail) 2
[{CTI}] Clinical Trial Identification 7
}
]
Note: ORRs for supply, pharmacy, and dietary orders all have slightly different message syntax; refer to the appropriate sections as detailed in Section 4.2.1.1, "ORM use notes," for exact details. |