HL7 V2 | TRIGGER EVENT A17
ADT^A17: Swap patients
Swaps the locations of two patients, such as a bed swap. The message carries two PID and PV1 pairs, one for each patient.
- Message type
ADT· ADT message- Trigger event
A17- Message structure
ADT_A17· per HL7's current table 0354; older versions sometimes paired events differently- In MSH-9
ADT^A17^ADT_A17- Response
ACK· General acknowledgment message
Segments in ADT_A17 and their FHIR resources
The segments of the ADT_A17 structure as listed in the HL7 v2-to-FHIR Implementation Guide, with the FHIR resources each one maps to. Square brackets mean optional and braces mean the segment can repeat. Indented segments belong to the group above them; “required” means required whenever that group is present.
| Segment | Name | Required | FHIR resources |
|---|---|---|---|
MSH | Message Header | Yes | Bundle MessageHeader Provenance |
[{ ARV }] | Access Restrictions | No · repeats | — |
[{ SFT }] | Software Segment | No · repeats | Provenance |
[ UAC ] | User Authentication Credential | No | — |
EVN | Event Type | Yes | Provenance |
PID | Patient Identification | Yes | Patient Account Provenance |
[ PD1 ] | Additional Demographics | No | Patient |
PV1 | Patient Visit | Yes | Encounter Patient Basic Coverage |
[ PV2 ] | Patient Visit - Additional Info. | No | Encounter |
[{ DB1 }] | Disability Information | No · repeats | — |
| OBSERVATION group | No · repeats | ||
OBX | Observation/Result | No · repeats | Observation |
[{ PRT }] | Participation | No · repeats | — |
Source: HL7 Terminology (THO) 7.4.0 and the HL7 v2-to-FHIR Implementation Guide 1.0.0, published by HL7 International under CC0. Check your trading partner's specification for the values they actually send.