Reference

Segment mappings

Field-level mappings from the HL7 v2-to-FHIR Implementation Guide, as implemented in this converter, targeting FHIR R4. Each page is generated from the same config the mapper uses.

MSH

MSH to MessageHeader

Bundle, MessageHeader, Provenance

EVN

EVN to Provenance

Provenance

PID

PID to Patient

Patient, Account

PD1

PD1 to Patient

Patient, Observation

NK1

NK1 to RelatedPerson

RelatedPerson, Patient.contact

PV1

PV1 to Encounter

Encounter, Coverage

PV2

PV2 to Encounter

Encounter

AL1

AL1 to AllergyIntolerance

AllergyIntolerance

DG1

DG1 to Condition

Condition

IN1

IN1 to Coverage

Coverage

ORC

ORC to ServiceRequest

ServiceRequest, DiagnosticReport, Immunization

OBR

OBR to DiagnosticReport

DiagnosticReport, ServiceRequest, Specimen

OBX

OBX to Observation

Observation

SPM

SPM to Specimen

Specimen

NTE

NTE to note

Observation.note, DiagnosticReport.note

PR1

PR1 to Procedure

Procedure

PRT

PRT to PractitionerRole

PractitionerRole

RXO

RXO to MedicationRequest

MedicationRequest

RXA

RXA to Immunization

Immunization, MedicationAdministration

RXR

RXR to route

Immunization, MedicationRequest

SCH

SCH to Appointment

Appointment

RGS

RGS resource group

Appointment

AIS

AIS to Appointment

Appointment

AIL

AIL to Appointment

Appointment

AIP

AIP to Appointment

Appointment

AIG

AIG to Appointment

Appointment

TXA

TXA to DocumentReference

DocumentReference

FT1

FT1 to ChargeItem

ChargeItem

GT1

GT1 to RelatedPerson

RelatedPerson

TQ1

TQ1 to timing

ServiceRequest, MedicationRequest

MRG

MRG to prior Patient

Patient

RF1

RF1 to ServiceRequest

ServiceRequest

PRD

PRD to PractitionerRole

PractitionerRole

PRB

PRB to Condition

Condition

RXE

RXE to MedicationRequest

MedicationRequest

RXC

RXC to component

MedicationRequest, MedicationDispense

RXD

RXD to MedicationDispense

MedicationDispense

IAM

IAM to AllergyIntolerance

AllergyIntolerance

ROL

ROL to PractitionerRole

PractitionerRole

ACC

ACC to Condition

Condition

ARQ

ARQ to Appointment

Appointment

IN2

IN2 to Coverage

Coverage

MSA

MSA to OperationOutcome

OperationOutcome

QPD

QPD to Parameters

Parameters

RCP

RCP query control

Parameters