The function of this message is to respond to an OMG message. An ORG message is the application acknowledgment to an OMG message. See Chapter 2 for a description of the acknowledgment paradigm.
In ORG the PID and ORC segments are optional, particularly in case of an error response. However, ORC segments are always required in ORG when the OBR is present. For example, a response ORG might include only the MSH and MSA.
The function (e.g., cancel, new order) of both OMG and ORG messages is determined by the value in ORC-1-order control. (See the table of order control values for a complete list.)
Segment | Cardinality | Implement | Status |
---|---|---|---|
![]() | |||
[1..1] | SHALL | ||
[1..1] | SHALL | ||
[0..1] | |||
![]() ![]() |
[0..1] | ||
![]() ![]() ![]() |
[0..1] | ||
[1..1] | SHALL | ||
B | |||
![]() ![]() ![]() |
[1..*] | SHALL | |
[1..1] | SHALL | ||
![]() ![]() ![]() ![]() |
|||
[1..1] | SHALL | ||
![]() ![]() ![]() ![]() |
[0..1] | ||
[1..1] | SHALL | ||
![]() ![]() ![]() ![]() |
|||
[1..1] | SHALL | ||
MSH-15 | MSH-16 | Immediate ACK | Application Ack |
---|---|---|---|
Blank | Blank | ACK^O20^ACK | - |
NE | NE | - | - |
AL, ER, SU | NE | ACK^O20^ACK | - |
There is not supposed to be an Application Level acknowledgement to an Application Level Acknowledgement message. In Enhanced Mode, MSH-16 SHALL always be set to NE (Never).