Skip to content
The Path

Module 1 · The foundations·9 min

Who is involved in an integration

Sender, receiver, interface engine, specification: who does what in a project.

New project at the Leleux Clinic: the sleep lab software must receive admissions from the patient record and send its results back. There are quite a few people around the table. And quite a few systems in the pipes. This lesson introduces them all.

We start with a message you know: Marie Dubois’s result. Click MSH-3, then MSH-5.

A sleep study report. The lab sends the hospital record an AHI of 28.5/h, flagged “high”: moderate sleep apnea.

ORU^R01^ORU_R01· Observation result (unsolicited)
||||||||||
|||||||||||
|||||||
|||||||||||||||||||||||||
|||||||||||
|||||||||||
|||||||||||
|||||||||||

MSH-3 is SLEEPLAB, MSH-5 is HIS. In two fields, the message says who is talking and to whom.

The sender: the one announcing a fact

The sender is the system where something happens. The technologist scores Marie’s night, the physician signs off the report: the lab software builds a message and sends it. It identifies itself in the header:

Field Name In our message
MSH-3 sending application SLEEPLAB
MSH-4 sending facility LELEUX
MSH-5 receiving application HIS
MSH-6 receiving facility LELEUX
MSH-10 message control ID MSG00001

The MSH-10 ID is unique for each message. You are about to see why.

The receiver: the one that files the data, and replies

The receiver reads the message, stores it in its database, then sends back an acknowledgement (an ACK). Here is the patient record’s reply. Click MSA-2.

The patient record confirms to the sleep lab that it has filed Marie Dubois’s result.

ACK^R01^ACK· Acknowledgement
||||||||||
||

MSA-2 echoes MSG00001, the ID of the original message. That is how the sender knows which delivery is confirmed. MSA-1 is AA: accepted. Notice also that the roles flip in the header: this time, HIS is the sender.

The interface engine: the switchboard in the middle

Wiring every system directly to every other one is called point to point. It is fine with two systems. With eight, you need 28 links, each one to monitor and maintain.

The usual answer is a piece of software in the middle: the interface engine. Each system sends its messages to the engine, which passes them on.

Architecture Links for 8 systems When one system changes
point to point 28 you touch every one of its links
engine in the middle 8 you adapt a single link, at the engine

At the Leleux Clinic, the engine is called ENGINE. It receives an admission from the patient record and sends it to the sleep lab, the clinical lab and billing. Along the way it can filter (the sleep lab only wants its own patients), transform (a date format, a local code) and log every message.

Watch out: very often it is the engine that sends the ACK back to the sender as soon as it has the message, not the final receiver. An AA then proves the engine got it, not that the patient record filed it.

The specification: the contract between both sides

HL7 leaves many choices open. A field can be optional, a code table can be local. The standard says so itself: it is a basis for negotiation, not a plug-and-play interface.

That negotiation is written down in an interface specification. At a minimum, it answers these questions:

  • which HL7 version (MSH-12);
  • which messages and events, in which direction;
  • which fields are filled, and with which codes;
  • which transport, and which acknowledgement is expected.

The standard even offers a formal way to describe all this: the message profile. We come back to it in the module on the integrator’s job.

The people around the table

Role What they bring
the sending system’s vendor what their software can send
the receiving system’s vendor what their software can read
the integrator the engine, the transformations, the tests
the clinical lead what the data means in daily practice
the project manager the schedule, the decisions, the go-live

The clinical lead is often forgotten. Yet they are the one who notices when a result lands in the wrong field.

What about FHIR?

The roles stay the same, under other names. A client sends an HTTP request, a FHIR server answers. In REST, the HTTP response code, with an OperationOutcome resource when needed, plays the part of the acknowledgement. In FHIR messaging, the MessageHeader.response element takes the place of the MSA segment.

Check your understanding

1 of 5

In a message header, what does MSH-5 hold?

+50 XPPass the quiz (4 correct answers) to complete the lesson.

Reviewed and checked on 27 September 2026