Message MDM_T02 in FHIR

Which segments of MDM_T02 become which FHIR R4 resources in the Bundle, from the HL7 Version 2 to FHIR guide. Groups are shown as they appear in the structure.

HL7 v2 definition
Definition of MDM_T02 in HL7 v2 2.8
Resources produced
BundleMessageHeaderProvenancePatientEncounterBasicCoverageServiceRequestDocumentReference
SegmentNameFHIR elementConditions and notes
Message HeaderBundle
MessageHeader[1]
Provenance[1]
Provenance[2]
Software SegmentProvenance[1].entity.what(Device)
If the software does not represent the original source system
Provenance[1].entity.what(Device)
If the software represents the original source system
Event TypeProvenance[3]
Patient IdentificationPatient[1]
Provenance[4]
Patient VisitEncounter[1]
Basic
If IF PV1-43 VALUED
Patient[1]
Coverage[1]
If IF PV1-20 VALUE
ORCCOMMON_ORDER
Common OrderServiceRequest[1]
Provenance[3]
TQ1COMMON_ORDER.TIMING
Timing/quantityServiceRequest[1]
OBRCOMMON_ORDER
Observation RequestServiceRequest[1]
NTECOMMON_ORDER
Notes And CommentsServiceRequest[1]
Transcription Document HeaderDocumentReference[1]
Provenance
If IF TXA-8 IS VALUEDmust be valued to the seconds and with the appropriate/correct timezone
OBXOBSERVATION
Observation/resultDocumentReference[1]
NTEOBSERVATION
Notes And CommentsDocumentReference[1]