ADR: ADT response
This page lists the structures and trigger events ADR defines, taken from the standard. The written commentary that theADT page carries has not been written for ADR.
Recognising ADR messages
ADR announces itself in MSH-9 like this:
ADR^A19^ADR_A19- MSH-9.1
ADRmessage code: what kind of message this is - MSH-9.2
A19trigger event: what happened in the real world: patient query - MSH-9.3
ADR_A19message 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
ADR takes 1 structure.
ADR_A19: Patient Query
Sent when one thing happens: A19: Patient Query.
You must always send: MSH, MSA, QRD, PID, PV1. Everything else is optional, or required only inside a group you chose to send.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| SFT | O | 0..* | |
| MSA | R | 1..1 | |
| ERR | O | 0..1 | |
| QAK | O | 0..1 | |
| QRD | R | 1..1 | |
| QRF | O | 0..1 | |
| QUERY_RESPONSE | a group of 19 segments, repeated together | R | 1..* |
| EVN | O | 0..1 | |
| PID | R | 1..1 | |
| PD1 | O | 0..1 | |
| ROL | O | 0..* | |
| NK1 | O | 0..* | |
| PV1 | R | 1..1 | |
| PV2 | O | 0..1 | |
| ROL | O | 0..* | |
| DB1 | O | 0..* | |
| OBX | O | 0..* | |
| AL1 | O | 0..* | |
| DG1 | O | 0..* | |
| DRG | O | 0..1 | |
| PROCEDURE | a group of 2 segments, repeated together | O | 0..* |
| PR1in PROCEDURE | R | 1..1 | |
| ROLin PROCEDURE | O | 0..* | |
| GT1 | O | 0..* | |
| INSURANCE | a group of 4 segments, repeated together | O | 0..* |
| IN1in INSURANCE | R | 1..1 | |
| IN2in INSURANCE | O | 0..1 | |
| IN3in INSURANCE | O | 0..* | |
| ROLin INSURANCE | O | 0..* | |
| ACC | O | 0..1 | |
| UB1 | O | 0..1 | |
| UB2 | O | 0..1 | |
| 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 3 such groups: QUERY_RESPONSE, PROCEDURE, INSURANCE.
Trigger events
The trigger event is the real-world thing that made the message get sent. ADR defines 1.
| Event | Name | Structure |
|---|---|---|
| A19 | Patient Query | ADR_A19 |