Segment EVN in FHIR

How segment EVN (Event Type) becomes FHIR R4 resources, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of EVN in HL7 v2 2.8
Maps
Provenance
Used in messages
ADT_A01ADT_A02ADT_A05ADT_A06ADT_A09ADT_A11ADT_A17MDM_T02

To Provenance8 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EVNwhole segment
activity.coding.displayCodeableConcept
Value "event - :"+MSG.1+"^"+MSG.2
EVN-2Recorded Date/Time
DTMrecordedinstant
EVN-4Event Reason Code
CWEreasonCodeableConcept
If IF EVN-4 NOT "U"Code map v3-actreason
EVN-4Event Reason Code
CWEreason.extension[1].urluri
If IF EVN-4 IS "U"Value "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
EVN-4Event Reason Code
CWEreason.extension[1].valueCodeableConceptCodeableConcept
If IF EVN-4 IS "U"Value "unknown"
EVN-5Operator Id
XCNagent.who(Practitioner)Reference(Practitioner)
EVN-6Event Occurred
DTMoccurredDateTimedateTime
EVN-7Event Facility
HDlocation(Location)