Segment AIS in FHIR

How segment AIS (Appointment Information) becomes FHIR R4 resources, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of AIS in HL7 v2 2.8
Maps
AppointmentServiceRequest
Used in messages
SIU_S12

To Appointment5 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
AIS-3Universal Service Identifier
CWEserviceTypeCodeableConcept
AIS-4Start Date/Time
DTMparticipant.period.start
AIS-5Start Date/Time Offset
NMparticipant.period.start
If IF AIS-4 NOT VALUEDValue /.start + AIS-5 according to AIS-6 units/
AIS-7Duration
NMparticipant.period.end
If IF AIS-4 IS VALUEDValue Appointment.participant.period.start + AIS-7
AIS-10Filler Status Code
CWEstatusCodeableConcept

To ServiceRequest6 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
AIS-3Universal Service Identifier
CWEidentifier[1]
AIS-4Start Date/Time
DTMoccurrencePeriod.startPeriod
AIS-5Start Date/Time Offset
NMoccurrencePeriod.startPeriod
If IF AIS-4 NOT VALUEDValue /.start + AIS-5 according to AIS-6 units/
AIS-7Duration
NMoccurrencePeriod.endPeriod
If IF AIS-4 IS VALUEDValue ServiceRequest.occurrencePeriod.start+ AIS-7
AIS-11Placer Supplemental Service Information
CWEidentifier[2]
AIS-12Filler Supplemental Service Information
CWEidentifier[3]