PipeHat Open PipeHat
HL7 V2 | TRIGGER EVENT S12

SIU^S12: Notification of new appointment booking

Notifies other systems that an appointment has been booked. SCH carries the appointment, and the resource groups (AIS, AIG, AIL, AIP) carry the services, resources, locations and staff.

Message type
SIU · Schedule information unsolicited
Trigger event
S12
Message structure
SIU_S12 · per HL7's current table 0354; older versions sometimes paired events differently
In MSH-9
SIU^S12^SIU_S12
Response
ACK · General acknowledgment message

Segments in SIU_S12 and their FHIR resources

The segments of the SIU_S12 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
SCHSchedule Activity InformationYesAppointment ServiceRequest Provenance
[ { NTE } ]Notes and CommentsNo · repeatsAppointment
PATIENT groupNo · repeats
PIDPatient IdentificationYesPatient Appointment Provenance
[ PV1 ]Patient VisitNoEncounter Basic Patient Coverage
[ PV2 ]Patient Visit - Additional InfoNoEncounter
[ { OBX } ]Observation/ResultNo · repeatsObservation
[ { DG1 } ]DiagnosisNo · repeatsCondition
{--- RESOURCES begin RGSYes · repeats—
RGSResource Group SegmentYes—
[{--- SERVICE begin AISNo · repeats—
AISAppointment Information - ServiceYesAppointment ServiceRequest
[ { NTE } ]Notes and CommentsNo · repeatsAppointment
[{--- GENERAL_RESOURCE begin AIGNo · repeats—
AIGAppointment Information - General ResourceYesAppointment
[ { NTE } ]Notes and CommentsNo · repeats—
[{--- LOCATION_RESOURCE begin AILNo · repeats—
AILAppointment Information - Location ResourceYes · repeatsAppointment
[ { NTE } ]Notes and CommentsNo · repeats—
[{--- PERSONNEL_RESOURCE begin AIPNo · repeats—
AIPAppointment Information - Personnel ResourceYes · repeatsAppointment
[ { NTE } ]Notes and CommentsNo · repeats—

Other events with the SIU_S12 structure

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.