PRR: Patient problem response
This page lists the structures and trigger events PRR defines, taken from the standard. The written commentary that theADT page carries has not been written for PRR.
Recognising PRR messages
PRR announces itself in MSH-9 like this:
PRR^PC5^PRR_PC5- MSH-9.1
PRRmessage code: what kind of message this is - MSH-9.2
PC5trigger event: what happened in the real world: patient problem response - MSH-9.3
PRR_PC5message 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
PRR takes 1 structure.
PRR_PC5: Patient Problem Response
Sent when one thing happens: PC5: Patient Problem Response.
You must always send: MSH, MSA, QRD, PID, PRB. 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..* | |
| QAK | O | 0..1 | |
| QRD | R | 1..1 | |
| PATIENT | a group of 3 segments, repeated together | R | 1..* |
| PID | R | 1..1 | |
| PATIENT_VISIT | a group of 2 segments, repeated together | O | 0..1 |
| PV1in PATIENT_VISIT | R | 1..1 | |
| PV2in PATIENT_VISIT | O | 0..1 | |
| PROBLEM | a group of 8 segments, repeated together | R | 1..* |
| PRB | R | 1..1 | |
| NTE | O | 0..* | |
| VAR | O | 0..* | |
| PROBLEM_ROLE | a group of 2 segments, repeated together | O | 0..* |
| ROLin PROBLEM_ROLE | R | 1..1 | |
| VARin PROBLEM_ROLE | O | 0..* | |
| PROBLEM_PATHWAY | a group of 2 segments, repeated together | O | 0..* |
| PTHin PROBLEM_PATHWAY | R | 1..1 | |
| VARin PROBLEM_PATHWAY | O | 0..* | |
| PROBLEM_OBSERVATION | a group of 2 segments, repeated together | O | 0..* |
| OBXin PROBLEM_OBSERVATION | R | 1..1 | |
| NTEin PROBLEM_OBSERVATION | O | 0..* | |
| GOAL | a group of 5 segments, repeated together | O | 0..* |
| GOLin GOAL | R | 1..1 | |
| NTEin GOAL | O | 0..* | |
| VARin GOAL | O | 0..* | |
| GOAL_ROLEin GOAL | a group of 2 segments, repeated together | O | 0..* |
| ROLin GOAL_ROLE | R | 1..1 | |
| VARin GOAL_ROLE | O | 0..* | |
| GOAL_OBSERVATIONin GOAL | a group of 2 segments, repeated together | O | 0..* |
| OBXin GOAL_OBSERVATION | R | 1..1 | |
| NTEin GOAL_OBSERVATION | O | 0..* | |
| ORDER | a group of 2 segments, repeated together | O | 0..* |
| ORCin ORDER | R | 1..1 | |
| ORDER_DETAILin ORDER | a group of 4 segments, repeated together | O | 0..1 |
| CHOICEin ORDER_DETAIL | a group of 0 segments, repeated together | R | 1..1 |
| NTEin ORDER_DETAIL | O | 0..* | |
| VARin ORDER_DETAIL | O | 0..* | |
| ORDER_OBSERVATIONin ORDER_DETAIL | a group of 3 segments, repeated together | O | 0..* |
| OBXin ORDER_OBSERVATION | R | 1..1 | |
| NTEin ORDER_OBSERVATION | O | 0..* | |
| VARin ORDER_OBSERVATION | 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 13 such groups: PATIENT, PATIENT_VISIT, PROBLEM, PROBLEM_ROLE, PROBLEM_PATHWAY, PROBLEM_OBSERVATION, GOAL, GOAL_ROLE, GOAL_OBSERVATION, ORDER, ORDER_DETAIL, CHOICE, ORDER_OBSERVATION.
Trigger events
The trigger event is the real-world thing that made the message get sent. PRR defines 1.
| Event | Name | Structure |
|---|---|---|
| PC5 | Patient Problem Response | PRR_PC5 |