Guide · 6 min read

Barcode sample tracking in pathology labs

Quick answer

Barcode sample tracking means printing a unique barcode label for every sample tube at collection, linked in the lab software to the patient, bill and tests. Technicians scan the tube instead of reading handwriting, so results always attach to the right patient. It needs a thermal label printer, a scanner and lab software that generates the codes.

Updated 2026-11-21

Why do labs need barcode sample tracking?

Hand-written tube labels fail in predictable ways: similar names, smudged ink, two patients with the same name on a busy morning, or a tube labelled after collection. Each failure risks a wrong report. Barcodes give every tube a unique identity that a scanner reads exactly, and the software knows which tests belong to that tube.

How does barcode sample tracking work step by step?

  1. Register and bill – the patient's tests are entered in the lab software.
  2. Print labels – the software prints one label per container type (EDTA, plain/serum, fluoride, urine), showing the barcode, patient name, age/sex and test codes.
  3. Collect and stick – the phlebotomist sticks the label on the tube at the time of collection.
  4. Receive – the lab scans tubes on arrival, which matters for samples from collection centres or home visits.
  5. Process – the analyser or technician scans the tube; results attach to the right patient automatically.
  6. Report – the report also carries a barcode and QR code for traceability.

What hardware is needed?

ItemRecommendation
Label printerThermal or thermal-transfer printer for small tube labels (commonly around 50 × 25 mm)
LabelsLabels that withstand refrigeration and handling
ScannerUSB 1D/2D barcode scanner at reception and in the processing area
AnalyserBuilt-in barcode reader if you plan interfacing

QLab lets you set label size and layout in barcode settings, and prints through its print agent so labels come out without browser print dialogs.

How does barcoding work with collection centres and home collection?

Collection centres and home-visit staff print or carry pre-generated labels, stick them at collection, and the main lab scans on receipt. That shows which samples arrived, which are pending and which were rejected. See collection centre and home collection management and QLab's home collection feature.

How do you roll out barcodes in an existing lab?

  • Start with one department (haematology is easiest), then extend.
  • Train phlebotomists to label at the patient's side, never in batches later.
  • Keep a few blank labels for re-prints and log every re-print.
  • Test label size and print quality on your actual tubes before going live.
  • Connect analysers with barcode readers so the scan also pulls results.

Learn more on the QLab barcode sample tracking page.

What should a tube label show?

ElementWhy
Barcode (sample ID)Read by scanners and analysers
Human-readable IDFallback if the scanner fails
Patient name, age/sexVisual check at the patient's side
Container or test groupShows which tests run from this tube
Collection date/timeNeeded for time-sensitive tests

Stick the barcode straight along the tube's length and leave a window so the sample level stays visible.

What are common barcode problems and their fixes?

  • Analyser cannot read the label – check print darkness, label size and that the barcode is not wrapped around a curve.
  • Labels peel in the fridge – use labels rated for cold storage.
  • Wrong number of labels – set container types per test so the software prints one per tube.
  • Browser print dialogs slow the desk – print directly through a print agent, as QLab does.
  • Duplicate IDs on re-print – re-print the same ID rather than creating a new sample.

How do barcodes connect to the rest of the lab software?

The barcode is the thread that ties everything together: the bill (what was paid), the worklist (what must be run), the analyser (which result belongs where), the approval (what the pathologist reviewed) and the report (what the patient receives). Once every sample is barcoded, analyser interfacing, turnaround tracking and accreditation records all become simpler. Read about analyser interfacing next.

Frequently asked questions

Which barcode type do labs use?

Most tube labels use a 1D code such as Code 128 because it fits narrow tubes and most analyser readers support it. Reports often add a QR code.

Do I need one label per test?

Usually one label per container. All tests run from the same tube share its label; the software knows which tests are on it.

Can barcode labels be printed from a browser-based LIS?

Yes. QLab prints labels to a thermal printer from the browser using its print agent, in both cloud and offline versions.

Is barcode tracking useful for a small lab?

Yes. Even at 30 patients a day, same-name mix-ups happen. A label printer and scanner are a small one-time cost.

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.