Notes · 3 November 2026 · 5 min read

Reading a supplier delivery docket by OCR: what can and cannot be trusted

OCR can read a delivery docket's lot, expiry, code and quantity, but no reading should be logged unchecked. What to trust, what to check and how to measure it.

Optical character recognition (OCR) can read a supplier delivery docket well enough to save the typing, but not well enough to be logged without a person checking it. Treat every reading as a proposal: the receiver confirms each line against the paper before anything is written.

  • Lot and expiry are the fields that matter most and the ones a misread hurts most
  • Quantities marked in pen are the most common failure
  • A misread lot that happens to match a real lot is more dangerous than a blank
  • A laboratory can measure how well its reader does on its own suppliers' dockets

What the standard asks for

ISO 15189:2022 does not mention OCR. It asks for records, and it asks that the systems producing them can be relied on.

  • Reception records (6.6.7). For each reagent and consumable the laboratory keeps its identity, lot, date received and expiry. A lot number misread at receipt is a wrong record, however it was captured.
  • Information systems (7.6). A system that captures or changes laboratory data is verified before use, and the laboratory checks that data are transferred correctly. A docket reader that writes to the reagent log falls within that.

Neither clause requires software. A receiver typing from the paper meets both, provided the entry is checked. The question for a reader is the same as for a person: how often is it wrong, and is the error caught before it is recorded?

What OCR reads reliably

A clean, upright scan of a printed docket from a known supplier is read well. The characters are machine printed, the columns are fixed and the same layout comes back every week.

  • Printed material numbers and descriptions in a fixed column
  • Lot and expiry printed in their own columns or on a labelled sub-line
  • Quantities printed and left unmarked

Most errors come not from reading a character but from putting it in the wrong field. A lot read as a code, or an expiry taken from the order date, is a layout fault. That is why knowing each supplier's layout matters more than the reading itself.

What it does not read reliably

  • Ink on the docket. A tick over a digit, a ringed quantity or a highlighter stripe can make a figure unreadable to OCR and to a person. Place ticks beside figures, not over them.
  • Look-alike characters. O and 0, I and 1, S and 5, B and 8. Lot numbers mix letters and digits, so context does not help.
  • Unfamiliar layouts. A new supplier, a reformatted docket or a two-line heading can move every value one column across.
  • Poor scans. A sideways, skewed or faint page loses characters before reading starts.

The error that matters most

A blank field is safe: the receiver sees it and fills it in. A wrong value that looks right is not. The worst case is a misread lot that matches a different lot already accepted for use. It passes every later check, and the record now says an accepted lot was received when it was not.

  • Check lot and expiry character by character against the paper
  • Leave an unclear quantity blank and count the stock
  • Never accept a lot match without looking at the paper

How to measure a reader

A vendor's accuracy figure says little about the dockets a laboratory actually receives. Measure it on site, on real dockets.

  1. Set pass marks before starting, for lot and expiry and for code and quantity.
  2. Enter each line from the paper without seeing the reader's version.
  3. Compare line by line. Count fields right, lines missed, lines invented, and misread lots that matched an accepted lot.
  4. Report each figure with a confidence interval, and by supplier. A small sample gives a wide interval.

Keep the result with the system's verification record. Repeat it when a supplier changes its docket.

How LotWarden reads a docket

LotWarden reads scanned delivery notes by OCR on the licensed PC. No document is sent to an external service.

  • Each supplier's layout is set once in the Docket library with Teach a docket, from one clean, unannotated delivery note, and confirmed by a person
  • Each reading states where its layout came from. A layout worked out from the page is never shown as confirmed
  • Sideways scans are turned upright, and a second reading of a colour-stripped copy helps with quantities marked in pen or highlighter
  • A quantity marked in pen is flagged with a best-effort reading, and its Qty Received is left blank for a person to count
  • Each delivery note is read, displayed and verified before anything is written. Only quantities confirmed by the operator are logged

Reader accuracy runs the blind check on site. The report gives field accuracy for lot and expiry and for code and quantity, each with a 95% confidence interval (Wilson), by supplier. It counts false acceptance matches, and it holds rates and counts only, with no value from a delivery note.

Plainly answered

Is OCR accurate enough to record reagent lots without checking?

No. Even a good reading should be treated as a proposal. Lot numbers mix letters and digits, so a single misread character gives a different lot, and a misread that matches another accepted lot passes every later check. A person should confirm each line against the paper before it is recorded.

Does ISO 15189:2022 allow delivery dockets to be read by OCR?

The standard does not mention OCR. It requires reception records that are complete and correct, and it requires information systems that capture laboratory data to be verified before use. A docket reader can meet both if its accuracy has been checked on the laboratory's own dockets and every reading is confirmed by a person.

Why do quantities marked in pen cause so many errors?

A tick, ring or highlighter stripe over a printed figure changes the shapes the reader sees, and a person reading a photocopy has the same trouble. The simplest fix is in the procedure: tick beside the figure, not over it. Where a quantity cannot be read with confidence, leave it blank and count the stock.

How many dockets are needed to measure a reader's accuracy?

There is no fixed number, but a small sample gives a wide confidence interval, so the result cannot be relied on. Set a minimum number of lines before starting, include each regular supplier, and report the interval alongside the rate so the reader of the report can see how certain the figure is.