HL7 v2 & integration
Monitor, reprocess and back up channels
Day-to-day engine work: the dashboard, searching messages, reprocessing failures, alerts, pruning and exporting channels.
The dashboard#
| Column | Watch for |
|---|---|
| Received | Rising means traffic is arriving |
| Filtered | Messages your filter dropped on purpose |
| Queued | Above zero for a long time means the destination is down or slow |
| Errored | Anything above zero needs a look |
Find a message#
In the Message Browser, filter by time and status. Advanced lets you search by content (for example the MRN) or by metadata columns. Enable custom metadata on a channel (for example MRN from ${mrn}) so you can search a column instead of scanning raw text.
Reprocess#
Select errored messages → Reprocess. You can choose to overwrite the existing message or create new ones, and which destinations to send to. Typical flow: fix the transformer, redeploy, then reprocess the errors.
Queueing#
On a destination, enable Queue Messages (On Failure or Always) so a HAPI outage queues messages instead of failing them. Set Retry Interval and Rotate: without rotate, one stuck message blocks the queue, which protects ordering. Choose deliberately.
Alerts#
Settings → Alerts: send an email when a channel errors. In the lab, the Dashboard is enough. In production, alerts are mandatory.
Pruning#
Channel → Summary → Message Storage and Message Pruning. The engine stores every message at every stage, which adds up fast. In the lab, prune content after 7 days.
Back up your work#
Channels, code templates and settings live in the engine's database. Export them as files you can keep in git:
- One channel: right-click → Export Channel →
.xml. - Everything: Settings → Backup Config → one XML file containing all channels, templates, alerts and settings.
Version your channels
Keep exported channel XML in a git repository, one file per channel. Diffs then show exactly what changed in a transformer between versions.