SRM: Schedule request message
This page lists the structures and trigger events SRM defines, taken from the standard. The written commentary that theADT page carries has not been written for SRM.
Recognising SRM messages
SRM announces itself in MSH-9 like this:
SRM^S01^SRM_S01- MSH-9.1
SRMmessage code: what kind of message this is - MSH-9.2
S01trigger event: what happened in the real world - MSH-9.3
SRM_S01message 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
SRM takes 1 structure.
SRM_S01
No trigger event in the standard names this structure.
You must always send: MSH, ARQ, RGS. Everything else is optional, or required only inside a group you chose to send.
| Segment | Name | OPT | Cardinality |
|---|---|---|---|
| MSH | R | 1..1 | |
| ARQ | R | 1..1 | |
| APR | O | 0..1 | |
| NTE | O | 0..* | |
| PATIENT | a group of 5 segments, repeated together | O | 0..* |
| PIDin PATIENT | R | 1..1 | |
| PV1in PATIENT | O | 0..1 | |
| PV2in PATIENT | O | 0..1 | |
| OBXin PATIENT | O | 0..* | |
| DG1in PATIENT | O | 0..* | |
| RESOURCES | a group of 5 segments, repeated together | R | 1..* |
| RGS | R | 1..1 | |
| SERVICE | a group of 3 segments, repeated together | O | 0..* |
| AISin SERVICE | R | 1..1 | |
| APRin SERVICE | O | 0..1 | |
| NTEin SERVICE | O | 0..* | |
| GENERAL_RESOURCE | a group of 3 segments, repeated together | O | 0..* |
| AIGin GENERAL_RESOURCE | R | 1..1 | |
| APRin GENERAL_RESOURCE | O | 0..1 | |
| NTEin GENERAL_RESOURCE | O | 0..* | |
| LOCATION_RESOURCE | a group of 3 segments, repeated together | O | 0..* |
| AILin LOCATION_RESOURCE | R | 1..1 | |
| APRin LOCATION_RESOURCE | O | 0..1 | |
| NTEin LOCATION_RESOURCE | O | 0..* | |
| PERSONNEL_RESOURCE | a group of 3 segments, repeated together | O | 0..* |
| AIPin PERSONNEL_RESOURCE | R | 1..1 | |
| APRin PERSONNEL_RESOURCE | O | 0..1 | |
| NTEin PERSONNEL_RESOURCE | 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 6 such groups: PATIENT, RESOURCES, SERVICE, GENERAL_RESOURCE, LOCATION_RESOURCE, PERSONNEL_RESOURCE.
Trigger events
The trigger event is the real-world thing that made the message get sent. SRM defines 1.
| Event | Name | Structure |
|---|---|---|
| S01 | S01 |