Segment AIL in FHIR

How segment AIL (Appointment Information - Location Resource) becomes FHIR R4 resources, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of AIL in HL7 v2 2.8
Maps
Appointment
Used in messages
SIU_S12

To Appointment4 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
AIL-3Location Resource Id
PLparticipant.actor[1]Reference(Location)
AIL-6Start Date/Time
DTMparticipant.period.start
AIL-7Start Date/Time Offset
NMparticipant.period.start
If IF AIL-6 NOT VALUEDValue /.start + AIL-7 according to AIL-8 units/
AIL-9Duration
NMparticipant.period.end
If IF AIL-6 IS VALUEDValue Appointment.participant.period.start + AIL-9