Blog
Blog
In many medical labs, analysers produce accurate results that still have to travel the last few metres by hand. The device speaks one protocol, the lab's information system expects another, and someone ends up re-typing values — or a legacy middleware box nobody wants to touch does the translation.
We built an IoT device that closes that gap: it connects to the lab analyser, captures results in ASTM, converts them to HL7 and delivers them to the lab's system automatically. Here's what that kind of project actually involves.
ASTM (today maintained as CLSI LIS1/LIS2) is the protocol many lab analysers have used for decades. It was designed for point-to-point communication between an instrument and a computer, often over a serial connection, with its own framing, checksums and record structure.
HL7 v2 is the messaging standard most hospital and laboratory information systems use to exchange clinical data. It organises information into segments — patient, order, observation — and expects messages in a specific structure, with acknowledgements confirming each one was received.
Both describe the same thing — a test result — but in very different ways. Connecting them is less about "converting a file" and more about translating between two systems with different assumptions.
ASTM defines a structure, but manufacturers interpret it differently: which fields are used, how test codes are named, how results and units are formatted. A reliable integration needs mapping rules per instrument, not one generic parser.
A result is only useful if it lands on the right patient, the right sample and the right test code in the receiving system. Field mapping has to be agreed with the people who own the lab's data, and validated with real samples before going live.
Networks drop, systems restart, receiving servers go down for maintenance. A device sitting between an analyser and a medical record has to handle that without losing or duplicating results — which is why acknowledgements, retries and logging matter as much as the conversion itself.
Unlike a cloud service, an IoT device lives next to the instrument. It has to be stable for long periods, easy to configure on site and updatable without disrupting the lab's daily work.
Projects like this succeed when the integration is treated as part of the product from day one, not an add-on at the end. Get sample output from the actual instruments early, involve the people who own the receiving system, and design for failure before designing for speed.
Working on a medical device, lab system or healthcare integration? Talk to our team — we've built this kind of bridge before and know where the hard parts are.
