PipeHat Open PipeHat
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.

SegmentNameRequiredFHIR resources
MSHMessage HeaderYesBundle MessageHeader Provenance
[{ ARV }]Access RestrictionsNo · repeats—
[{ SFT }]Software SegmentNo · repeatsProvenance
[ UAC ]User Authentication CredentialNo—
EVNEvent TypeYesProvenance
PIDPatient IdentificationYesPatient Account Provenance
[ PD1 ]Additional DemographicsNoPatient
PV1Patient VisitYesEncounter Patient Basic Coverage
[ PV2 ]Patient Visit - Additional Info.NoEncounter
[{ DB1 }]Disability InformationNo · repeats—
OBSERVATION groupNo · repeats
OBXObservation/ResultNo · repeatsObservation
[{ PRT }]ParticipationNo · 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.