The Path
Module 5 · The integrator’s job·9 min
Go-live and monitoring
Cutover, queues, alerts and replaying failed messages.
Acceptance is signed, the interface works in test. The trickiest moment remains: go-live. On the day, real patients flow through your rules. A slip no longer shows up as a red line in a tool, but as a result that never reaches the doctor.
Here is the first production message of the new sleep lab results interface. Click MSH-11: this time, it is P.
The first polysomnography result sent after cutover, to the Leleux Clinic hospital record.
The cutover plan
You prepare a cutover like an operation. On one page, you write:
| Item | Example |
|---|---|
| Date and time | A Tuesday at 7 am, outside peak activity, with the whole team around for the rest of the week |
| Change freeze | No configuration change the week before |
| Technical prerequisites | Network flows opened and tested, production certificates installed, production settings (addresses, ports, MSH-11 set to P, MSH-5 and MSH-6) checked the day before |
| Initial load | Patients already in, open orders |
| Timed steps | Stop the old feed, enable the channels, first live message |
| Who does what | Integrator, vendor, hospital IT, clinical lead |
| Success criteria | First live message received, AA acknowledgement, result visible on screen |
| Decision point | Who says “we carry on” or “we roll back”, and at what time |
Messages in flight at cutover time deserve their own row. Who sends them: the old circuit or the new one? A vague answer here and you get losses or duplicates.
Technical prerequisites push back more dates than code does. A firewall change request can take weeks. Production addresses, ports and certificates are not the test ones. Request them early, and check everything the day before.
The initial load
On day one, the sleep lab knows none of the patients already in hospital. The first A08 or the first result for a patient admitted the day before falls into the void. Any serious cutover therefore plans an initial load: patients already in, open orders, sometimes a history of results. It goes out as a batch file or as ADT messages, often marked P^I in MSH-11: the second component I means “initial load”.
The parallel run
When possible, run the old and new circuits side by side for a few days. Only one feeds real production. The other writes to a copy or a log. Compare the outputs, and explain every difference. As long as a gap is not understood, you do not switch.
That is not always feasible, especially when there was no interface before. In that case, make up for it with close monitoring during the first days.
Watching the queues
An interface engine stores messages in queues. In production, you watch four numbers per channel:
| Metric | What it reveals |
|---|---|
| Messages waiting | The receiver cannot keep up, or it is down |
| Age of the oldest waiting message | A blockage, even with few messages |
| Messages in error | A content or mapping problem |
| Time since the last message received | A sender that silently stopped |
The last one is the most underrated. A stopped interface produces no errors: it produces nothing. Only an alert on silence catches it.
Useful alerts
An alert must reach someone who can act, with enough information to get started. A few rules:
- thresholds that fit each feed: ten minutes without an admission on a Tuesday morning is suspicious; at night it is normal;
- a clear recipient, with on-call cover if the feed is clinical;
- a readable message: which channel, which metric, since when;
- few false alarms: an alert that fires every day ends up ignored.
Replaying failed messages
Once a cause is fixed, the blocked messages must go out again. Three precautions:
- Fix first, replay second. Replaying without a fix just refills the error queue.
- Keep the order for patient messages, like a blocking queue (acknowledgements lesson). An update replayed before the admission falls into the void.
- Think about duplicates. Some messages may already have been processed. Check on the receiver side before resending everything.
The standard itself makes the point: a simple one-to-one acknowledgement prevents out-of-sequence messages between two systems, but only sequence numbers truly prevent duplicates.
The rollback plan
Before cutover, write down how to roll back: re-enable the old circuit, or fall back to a paper procedure. Set a criterion (“if the first live message is not visible by 8 am”) and name the person who decides. A rollback that is not written down does not exist: under pressure, nobody improvises one correctly.
Do not forget the messages processed during the failed window. They may need to be resent through the old circuit.
Also write down the downtime procedure on the clinical side during the outage (the lab prints, the front desk re-enters), and how the data entered by hand gets caught up afterwards.
After go-live
During the first days, watch closely. A simple checklist:
- the first message of each type has arrived and displays correctly;
- daily volumes look like those planned in the specification;
- the error queue is empty, or every error is explained;
- clinical users confirm the data lands in the right place;
- the alerts have been tested once, for real.
Documentation
Operational documentation fits in a few documents, kept up to date:
| Document | Content |
|---|---|
| Specification and mapping table | The version in production, dated |
| Runbook | Channels, addresses, ports, alerts, replay, rollback |
| Contacts | Vendor, IT, clinical lead, on-call |
| Incident log | Date, symptom, cause, fix |
| Engine configuration | Versioned and backed up; every change goes through the test set again |
And in FHIR?
The principles stay the same: planned cutover, monitoring, replay, rollback. REST calls replace MLLP queues, and you watch HTTP status codes and response times instead of MSA acknowledgements.
Check your understanding
1 of 4It is 3 am. The queue to the sleep lab holds 40 failed messages, including an A01 admission and several A08 updates for the same patient. The cause is fixed. How do you replay?
+50 XPPass the quiz (3 correct answers) to complete the lesson.
Reviewed and checked on 27 September 2026