If you run a diagnostic laboratory, you have probably been told your analyzers are "integrated" with your information system. In most labs we look at, they are not. What has usually been installed is a one way result feed, and the difference between that and a genuine bidirectional interface is roughly the difference between a printer and a conversation.

This article is written for lab owners, pathologists and operations managers who are evaluating whether to build or buy an interface, and who want to understand what they are actually paying for. It assumes no software background, but it does not simplify the parts that matter.

1. The difference between one way and bidirectional

A unidirectional interface means the analyzer sends results out and something on the other end catches them. That is genuinely useful. It stops a technician retyping numbers, which is where most transcription errors come from. But the analyzer is still working blind. It does not know what tests were ordered for the sample sitting in the rack. Somebody has to tell it, usually by keying a worklist into the analyzer keypad or loading samples in a fixed sequence and hoping the order holds.

A bidirectional interface closes that loop. The analyzer reads the barcode on the tube, asks the host system "what do you want me to run on this sample", and the host answers with the exact test panel that was ordered. Results come back tagged to the right patient and the right order automatically.

The practical test

Ask your current vendor one question: can a technician load a rack of tubes in any order, with no worklist entered on the analyzer, and have every sample run the correct panel? If the answer is no, you have a one way feed, whatever the contract calls it.

The operational difference compounds quickly. Sample sequencing errors disappear. Rerun and reflex logic can be driven centrally instead of configured per instrument. A technician stops being the integration layer between two machines that could talk to each other directly.

2. The protocols your analyzers actually speak

Almost every clinical analyzer in service speaks one of two language families, and knowing which one you have determines most of the work.

ASTM E1381 and E1394, now published as CLSI LIS01-A2 and LIS02-A2

This is the older and still overwhelmingly common family, especially on biochemistry and haematology instruments. It defines a record structure, header, patient, order, result, comment and terminator records, each a delimited line, plus a low level framing and handshake layer. Messages are wrapped in control characters, split into frames if they exceed length limits, and each frame carries a checksum the receiver validates before acknowledging.

The handshake matters more than people expect. The sender raises an enquiry, waits for acknowledgement, transmits framed data, and waits for an acknowledgement or a negative acknowledgement per frame. Get the timing or the retry behaviour wrong and the interface appears to work in testing, then silently drops results under load when two instruments transmit at once.

HL7 version 2.x

Newer instruments and most middleware speak HL7 v2, typically wrapped in MLLP over a TCP socket. Order messages and result messages carry the clinical content in pipe delimited segments. HL7 is better documented and easier to reason about, but it is famously loose. Two vendors can both be "HL7 compliant" and still disagree on which field carries the sample identifier.

The honest summary: neither protocol is difficult in isolation. What makes these projects hard is that every instrument vendor implements the standard slightly differently, and the deviations are usually undocumented. You find them by connecting to the actual instrument and reading what comes down the wire, not by reading the specification.

3. Serial, TCP and the physical layer

A surprising number of analyzers still present an RS-232 serial port as the primary interface, including instruments purchased recently. If the analyzer and the server are not physically adjacent, that becomes a cabling question or a serial to ethernet converter question before it becomes a software question.

Things worth establishing early, because they change the estimate:

  • Serial or TCP for each instrument, and if serial, the baud rate, parity and flow control the vendor expects
  • Whether the analyzer initiates the connection or expects the host to listen
  • Whether the instrument can be configured for host query mode at all, or whether that requires a firmware or software option from the vendor
  • What happens to results generated while the host is unreachable, whether the analyzer queues them or discards them

That last point deserves attention. An interface that loses results during a network blip is worse than no interface, because staff stop trusting it and quietly go back to manual entry while still paying for the system.

4. Where these projects break

In our experience the protocol itself is rarely the thing that sinks a laboratory interface project. These are:

Sample identifier mismatch

The barcode on the tube, the accession number in the information system, and the sample identifier the analyzer transmits are three different things in many labs. Reconciling them is often the single largest piece of work, and it is a process design question as much as a technical one.

Quality control results arriving as patient results

Most analyzers transmit QC runs on the same channel as patient samples. If the interface does not recognise and divert them, QC values land in patient records. This needs to be handled explicitly and tested deliberately.

Flags, alarms and non numeric results

Real analyzer output is not a clean number. It carries abnormal flags, instrument alarms, dilution indicators, values reported as greater than or less than a threshold, and error codes. An interface built and tested only against clean numeric output will fail on the first haemolysed sample.

Units and reference ranges

Instruments can be configured in different unit systems and often transmit their own reference ranges, which may or may not match the ones your reports should show. Deciding which system is authoritative is a clinical decision that should be made before code is written, not after.

The second analyzer

Interfaces are almost always scoped for one instrument and then quietly expected to handle four. Multiple concurrent connections, per instrument configuration and independent failure handling are architectural decisions. Retrofitting them into a single instrument design is usually a rewrite.

Not sure which category your current setup falls into?

Send us the make and model of your analyzers and a description of how results reach your system today. We will tell you whether what you have is bidirectional, what it would take to get there, and whether it is worth doing. No charge and no obligation.

Book a Discovery Call

5. The interface licence trap

This is the part that catches most laboratories financially, and it has nothing to do with software difficulty.

Many analyzer manufacturers treat the data interface as a chargeable option rather than a standard capability. The instrument is fully capable of host query mode, but the feature is locked until you buy an interface licence, and in some cases the vendor will only enable it for their own information system or an approved partner. The protocol documentation may also be withheld or released only under agreement.

Before commissioning any interface work, get written answers to three questions from each analyzer vendor:

  1. Is host query, meaning bidirectional, supported on this exact model and firmware version, and is it currently enabled on our unit
  2. What is the one time and recurring cost to enable it, and does that cost differ depending on which system we connect to
  3. Will you supply the interface specification document, and under what conditions

If a vendor will not enable bidirectional mode for a third party system, that is a genuine constraint on your options and you should know it before you spend anything on development.

6. Middleware or direct integration

There are two credible architectures and the right answer depends on your instrument count.

ConsiderationDirect integrationMiddleware layer
Best suited toOne to three instruments, stable configurationFour or more instruments, or mixed vendors
Upfront costLowerHigher
Cost of adding an instrumentSignificant, often near the original buildIncremental, usually configuration only
Rules and reflex logicHandled in the information systemHandled centrally in the middleware
Failure isolationOne connection failing can affect the whole pathPer instrument isolation is straightforward

The mistake we see most often is a lab with six analyzers paying for six point to point integrations built at different times by different people, none of which log consistently, so when a result goes missing nobody can say which link dropped it.

7. How to scope the work before you commit budget

Whether you build this in house, hire us, or hire anyone else, insist on this information being gathered before a fixed price is quoted. Any competent vendor will want it too.

  • An inventory of every analyzer: make, model, firmware version, protocol, transport, and current interface licence status
  • A captured sample of real traffic from each instrument, meaning an actual log of what the machine transmits, not the specification
  • The current sample identifier flow, from requisition to barcode to accession number
  • A decision on which system owns units and reference ranges
  • An explicit answer on QC handling
  • Expected daily sample volume and peak concurrency
  • What must happen when the host is unavailable
A reasonable expectation

A single analyzer, one protocol, clean identifiers and no licence obstruction is a matter of weeks, not months. A multi instrument laboratory with mixed vendors, contested identifiers and no captured traffic is a different project entirely. Anyone who quotes you a firm price for the second scenario without seeing your actual instrument output is guessing.

Where we fit

Ponykaams has built laboratory information systems with direct analyzer interfacing, including bidirectional biochemistry and haematology work, alongside diagnostic centre booking platforms and healthcare reporting systems. We are a software consultancy, not an instrument reseller, so we have no incentive to steer you toward a particular analyzer or an unnecessary middleware purchase.

If the honest answer is that your existing setup is adequate and the money is better spent elsewhere, we will say so.

Common questions

Can any analyzer be made bidirectional?
No. Bidirectional operation requires host query support in the instrument firmware. Most modern clinical analyzers have it, but it may be a paid option, and some older or lower end instruments genuinely do not support it. This must be confirmed with the manufacturer for your exact model and firmware version before any development is scoped.
How long does a lab analyzer integration take?
A single instrument with a documented protocol, clean sample identifiers and the interface already licensed is typically a few weeks including testing. Multi instrument laboratories, undocumented vendor deviations, or unresolved identifier reconciliation extend this considerably. The variable is almost never the coding, it is the discovery and the testing against real samples.
What is the difference between ASTM and HL7 for lab interfaces?
ASTM E1381 and E1394, republished by CLSI as LIS01-A2 and LIS02-A2, is the older standard used by most installed clinical analyzers, with a strict framing and acknowledgement layer. HL7 version 2.x is newer, usually carried over TCP using MLLP, and is more common on recent instruments and middleware. Many laboratories need both because their instrument fleet spans generations.
Do we need middleware or can we connect analyzers directly?
With one to three instruments and a stable setup, direct integration is usually cheaper and simpler. Once you reach roughly four instruments, or you have mixed vendors and want centralised rules and reflex testing, a middleware layer generally costs less over time because adding an instrument becomes configuration rather than a new build.
Why does our analyzer vendor charge extra for the interface?
Many manufacturers treat the data interface as a chargeable option and license it separately from the instrument, sometimes with different pricing depending on which system you connect to. This is a commercial policy rather than a technical limitation. Confirm the cost and any restrictions in writing before commissioning integration work, because it can materially change which approach makes sense.
Will a bidirectional interface reduce errors?
It removes two specific error classes: manual transcription of results, and mismatches caused by samples being run in a different order than the worklist assumed. It does not address pre analytical errors such as mislabelled tubes at collection. Barcode driven positive sample identification at the point of collection is a separate and equally worthwhile piece of work.
Sandeep Kumar Vollala
Sandeep Kumar Vollala
Founder and Director, Ponykaams

Builds custom software and automation for healthcare providers, diagnostic labs and non profit organisations. Has delivered laboratory information systems with direct analyzer interfacing, medical association portals, diagnostic booking platforms, donation and reporting systems, and case management software for youth services.

Have a system that needs building?

Tell us what is slowing your team down. We reply within 24 business hours.