RRD: Pharmacy/treatment dispense acknowledgment message
This page lists the structures and trigger events RRD defines, taken from the standard. The written commentary that theADT page carries has not been written for RRD.
Recognising RRD messages
RRD announces itself in MSH-9 like this:
RRD^O14^RRD_O14- MSH-9.1
RRDmessage code: what kind of message this is - MSH-9.2
O14trigger event: what happened in the real world: pharmacy/treatment dispense acknowledgement message - MSH-9.3
RRD_O14message 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
RRD takes 1 structure.
RRD_O14: Pharmacy/Treatment Dispense Acknowledgement Message
Sent when one thing happens: O14: Pharmacy/Treatment Dispense Acknowledgement Message.
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 | R | 1..1 | |
| MSA | R | 1..1 | |
| ERR | O | 0..* | |
| SFT | O | 0..* | |
| NTE | 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 | R | 1..1 | |
| NTEin PATIENT | O | 0..* | |
| ORDERin RESPONSE | a group of 3 segments, repeated together | R | 1..* |
| ORCin ORDER | R | 1..1 | |
| TIMINGin ORDER | a group of 2 segments, repeated together | O | 0..* |
| TQ1in TIMING | R | 1..1 | |
| TQ2in TIMING | O | 0..* | |
| DISPENSEin ORDER | a group of 4 segments, repeated together | O | 0..1 |
| RXDin DISPENSE | R | 1..1 | |
| NTEin DISPENSE | O | 0..* | |
| RXRin DISPENSE | R | 1..* | |
| RXCin DISPENSE | 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 5 such groups: RESPONSE, PATIENT, ORDER, TIMING, DISPENSE.
Trigger events
The trigger event is the real-world thing that made the message get sent. RRD defines 1.
| Event | Name | Structure |
|---|---|---|
| O14 | Pharmacy/Treatment Dispense Acknowledgement Message | RRD_O14 |