Skip to main content

MLLP port reference

JamBridge opens 8 MLLP TCP listeners. Each has its own Camel route, retry configuration, and FHIR resource mapping.

Port map​

PortMessage typeTrigger eventsFHIR resources produced
:2575ADTA01 admit, A02 transfer, A03 discharge, A04 register, A08 update, A11 cancel, A52 cancelPatient, Encounter, Location
:2576ORUR01 observation resultObservation, DiagnosticReport
:2577ORM / OMLO01 order, O21 lab orderServiceRequest, Specimen
:2578MDMT02 document, T04 addendumDocumentReference, Composition
:2579QBPQ22 patient demographics queryPatient (query response)
:2580RDEO11 pharmacy orderMedicationRequest
:2581SIUS12 appointment new, S14 modify, S15 cancelAppointment, Slot
:2582MFNM01 master file general, M05 providerPractitioner, PractitionerRole, Location

Planned: :2583​

Port :2583 is reserved for VXU^V04 immunisation records in JamBridge v1.1. WHO VDS-NC digital vaccination certificate generation is already available in JamPHR today.

Message validation​

All inbound messages are validated against the HAPI HL7v2 conformance profiles before entering the pipeline. Messages that fail validation receive MSA|AE with a structured error code:

Error codeMeaning
ERR-001MSH segment missing or malformed
ERR-002Unsupported message type on this port
ERR-003PID segment missing required field
ERR-004Failed deduplication check (duplicate)
ERR-005Consent denied
ERR-006HAPI FHIR write failed (circuit open)