FHIR Mapping

FHIR R4 resource coverage and the boundary between core mapping and customer customization.

FireSonic converts supported HL7 v2 messages into FHIR R4 resources and assembles them into transaction Bundles suitable for downstream FHIR systems.

Generated resources

FHIR ResourceTypical HL7 Source
PatientPID / PD1
EncounterPV1 / PV2
PractitionerROL / XCN provider fields
OrganizationMSH / PV1
RelatedPersonNK1
CoverageIN1 / IN2
AllergyIntoleranceAL1 / IAM
ConditionDG1
ProcedurePR1
ObservationOBX
DiagnosticReportOBR
ServiceRequestORM / ORC / OBR
SpecimenSPM
AppointmentSCH / AIS / AIP / AIL / AIG
ImmunizationRXA / RXR
MedicationRequestRXO / ORC
MedicationAdministrationRXA
ChargeItemFT1
DocumentReferenceORU attachments/documents
MessageHeaderMSH

Transaction Bundle behavior

Bundle construction preserves relationships between generated resources and supports conditional create/update and idempotent delivery patterns where appropriate.

Customization boundary

Core mapping is deterministic Java-based interoperability logic. Site-specific normalization, enrichment, terminology reconciliation, or workflow-specific patching should be implemented with the SDK rather than modifying the mapper.