Guide · 7 min read

Lab analyser interfacing: ASTM and HL7 explained

Quick answer

Analyser interfacing connects lab machines such as cell counters and biochemistry analysers to the lab software so results flow in automatically instead of being typed. Most analysers use the ASTM protocol over a serial cable or network, and some use HL7. Interfacing removes transcription errors and saves technicians several minutes per sample.

Updated 2026-11-21

What is analyser interfacing in a lab?

Every modern analyser produces results electronically. Without interfacing, a technician reads them from the screen or printout and types them into the software – slow, and a frequent source of errors such as swapped digits or values entered for the wrong patient. Interfacing lets the analyser send results directly to the LIS, matched by sample barcode or ID.

What are ASTM and HL7?

ProtocolTypical useNotes
ASTM (E1381/E1394, now CLSI LIS1/LIS2)Most haematology, biochemistry, immunoassay and electrolyte analysersRecord-based messages (header, patient, order, result); works over serial RS-232 or TCP/IP
HL7 v2Newer analysers, middleware and hospital systemsSegment-based messages (MSH, PID, OBR, OBX); usually TCP/IP
Vendor formatsSome small or older machinesCustom text output needing a specific driver

QLab interfaces analysers over ASTM; see machine interfacing.

What is the difference between unidirectional and bidirectional interfacing?

  • Unidirectional – the analyser sends results to the LIS. The technician still selects tests on the machine.
  • Bidirectional – the LIS also sends the test orders to the analyser (often when it scans the barcode), so the machine knows what to run. Saves more time but needs analyser support and more setup.

How is an analyser connected?

  1. Check the analyser's LIS settings and host interface manual (protocol, baud rate, port or IP).
  2. Connect by serial cable (often with a USB-serial adapter) or by network to the interfacing computer.
  3. Map each analyser parameter code to the matching test parameter in the LIS.
  4. Run test samples and compare values on both screens.
  5. Go live, keeping manual entry available as a fallback.

What should you ask your LIS vendor about interfacing?

  • Is my exact analyser model already supported?
  • Is interfacing included or charged per machine?
  • Do results still require technician review and pathologist approval before release? (They should.)
  • What happens to results if the interfacing PC is off?
  • Does it work with the offline version as well as the cloud version?

Ask these during a QLab demo.

Is interfacing worth it for a small lab?

If you run a 3-part or 5-part cell counter, interfacing is usually the first to pay off: a CBC has 15–25 parameters, so typing each one is slow and error-prone. Biochemistry analysers with many tests per sample follow. Labs doing mostly manual tests (serology cards, urine microscopy) gain less and can keep using fast manual result entry.

Which analysers are commonly interfaced in Indian labs?

Analyser typeWhy interface it
3-part / 5-part haematology counter15–25 parameters per CBC; the highest typing load
Fully automatic biochemistry analyserMany tests per sample, high daily volume
Electrolyte analyserSeveral values per run, frequent repeats
Immunoassay / hormone analyserPrecise numeric values where typos matter
HbA1c analyserSteady diabetes-driven volume
Urine analyserStrip parameters captured by machine

What does an ASTM message contain?

An ASTM transmission is a sequence of records, each starting with a letter:

  • H – header: sender, analyser model, date and time.
  • P – patient record (often minimal; the sample ID is what matters).
  • O – order: sample ID or barcode and requested tests.
  • R – result: test code, value, unit, flags.
  • L – terminator: end of message.

The LIS reads the sample ID from the O record, finds the matching bill and places each R value in the mapped test parameter. Low-level framing (checksums and ENQ/ACK handshakes) makes sure nothing is lost on the cable.

What goes wrong during interfacing, and how is it fixed?

  • No data received – wrong baud rate, cable type (straight vs null-modem) or port; check settings on both sides.
  • Results not matching patients – the analyser uses its own sequence number instead of the barcode; enable barcode reading.
  • Some parameters missing – incomplete code mapping; map every parameter the analyser sends.
  • Units differ – align units in the test master with the analyser output.

Good vendors handle these during setup; ask about your models in a demo.

Frequently asked questions

Which protocol do most lab analysers use?

Most clinical analysers support ASTM over serial or TCP/IP; some newer ones support HL7.

Does QLab support machine interfacing?

Yes. QLab connects analysers over ASTM so results flow in without typing, then go through review and approval.

Do interfaced results need approval?

Yes. Interfaced values should still be reviewed and approved by an authorised person before the report is released.

Can a semi-auto analyser be interfaced?

Only if it has a data output port and documented host protocol. Many semi-auto models do not, so results are entered manually.

Written by the QLab team at Qubha InfotechWe build pathology lab software used by Indian labs and update this guide when rules or prices change. Last updated 2026-11-21.

See QLab running on your own tests

Free 30-minute demo over video call or at your lab. Setup, data migration and training are included in every plan.