RDR: Pharmacy/treatment dispense information
This page lists the structures and trigger events RDR defines, taken from the standard. The written commentary that theADT page carries has not been written for RDR.
Recognising RDR messages
RDR announces itself in MSH-9 like this:
RDR^RDR^RDR_RDR- MSH-9.1
RDRmessage code: what kind of message this is - MSH-9.2
RDRtrigger event: what happened in the real world - MSH-9.3
RDR_RDRmessage 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
RDR takes 1 structure.
RDR_RDR
Sent when one thing happens: RDR: RDR.
You must always send: MSH, MSA, QRD, ORC, RXD, RXR. 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..* | |
| DEFINITION | a group of 4 segments, repeated together | R | 1..* |
| QRD | R | 1..1 | |
| QRF | O | 0..1 | |
| PATIENT | a group of 2 segments, repeated together | O | 0..1 |
| PIDin PATIENT | R | 1..1 | |
| NTEin PATIENT | O | 0..* | |
| ORDER | a group of 3 segments, repeated together | R | 1..* |
| ORC | R | 1..1 | |
| ENCODING | a group of 3 segments, repeated together | O | 0..1 |
| RXEin ENCODING | R | 1..1 | |
| RXRin ENCODING | R | 1..* | |
| RXCin ENCODING | O | 0..* | |
| DISPENSE | a group of 3 segments, repeated together | R | 1..* |
| RXD | R | 1..1 | |
| RXR | R | 1..* | |
| RXC | O | 0..* | |
| DSC | O | 0..1 |
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: DEFINITION, PATIENT, ORDER, ENCODING, DISPENSE.
Trigger events
The trigger event is the real-world thing that made the message get sent. RDR defines 1.
| Event | Name | Structure |
|---|---|---|
| RDR | RDR | RDR_RDR |