ORR: General order response message response to any ORM
This page lists the structures and trigger events ORR defines, taken from the standard. The written commentary that theADT page carries has not been written for ORR.
Recognising ORR messages
ORR announces itself in MSH-9 like this:
ORR^O02^ORR_O02- MSH-9.1
ORRmessage code: what kind of message this is - MSH-9.2
O02trigger event: what happened in the real world: general order response message response to any orm - MSH-9.3
ORR_O02message 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
ORR takes 1 structure.
ORR_O02: general order response message response to any ORM
Sent when one thing happens: O02: general order response message response to any ORM.
You must always send: MSH, MSA. Everything else is optional, or required only inside a group you chose to send.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | Message Header | R | 1..1 |
| MSA | Message Acknowledgment | R | 1..1 |
| ERR | Error | O | 0..* |
| NTE | Notes and Comments (for Detail) | O | 0..* |
| RESPONSE | a group of 2 segments, repeated together | O | 0..1 |
| PATIENTin RESPONSE | a group of 2 segments, repeated together | O | 0..1 |
| PIDin PATIENT | Patient Identification | R | 1..1 |
| NTEin PATIENT | Notes and Comments (for Detail) | O | 0..* |
| ORDERin RESPONSE | a group of 4 segments, repeated together | R | 1..* |
| ORCin ORDER | Common Order | R | 1..1 |
| CHOICEin ORDER | a group of 0 segments, repeated together | R | 1..1 |
| NTEin ORDER | Notes and Comments (for Detail) | O | 0..* |
| CTIin ORDER | Clinical Trial Identification | O | 0..* |
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 4 such groups: RESPONSE, PATIENT, ORDER, CHOICE.
Trigger events
The trigger event is the real-world thing that made the message get sent. ORR defines 1.
| Event | Name | Structure |
|---|---|---|
| O02 | general order response message response to any ORM | ORR_O02 |