Laboratory glossary · Samples, cases and reports
What are barcodes and 2D DataMatrix codes in a laboratory?
Barcodes are machine-readable labels that carry a sample, block or slide identifier. Linear barcodes are a row of bars; 2D codes such as DataMatrix are small square patterns that hold more data in less space and can still be read when partly damaged.
Plain-English guidance, not accreditation or clinical advice. Definitions are our own summary for people choosing and running a laboratory system; confirm requirements with the official standard and your accreditation body. VipLIMS is currently offered for evaluation: use made-up test cases only, not real patient data.
Barcode and 2D DataMatrix explained
Scanning a code instead of typing a number removes a major source of transcription error at reception, in the cut-up room, at the microtome and at the microscope. DataMatrix is popular in histology because it fits on the narrow edge of a cassette or the label of a slide.
The code only helps if the system checks it: scanning should confirm that the item belongs to the case being worked on, and the label must survive the chemicals and temperatures it meets.
In practice
- Encode the identifier only, not patient details.
- Test that labels survive processing, staining and storage before going live.
- Use scanning at handover points, not just at registration.
In VipLIMS
VipLIMS does not yet print labels or barcodes to dedicated cassette and slide printers; case and block identifiers can be exported for use with existing printer software. See what VipLIMS does and its published list of what it does not do yet.
Related terms
- Specimen labelling: Specimen labelling is the marking of every sample container with enough identifiers, usually at least two such as full name and date of birth or a unique patient number, to match it without doubt to its request and patient.
- Histology cassette: A histology cassette is a small perforated plastic box that holds a piece of tissue through processing and embedding.
- Accession number: An accession number is the unique laboratory number given to a case or specimen when it is received.
- Block and slide tracking: Block and slide tracking is the recording of every tissue block and glass slide made from a specimen, each with its own identifier linked to the case, so that its location and status are known at every step.
Updated 27 November 2026. Written by the VipLIMS team in our own words; no text is reproduced from ISO, CLSI or other standards. Spotted an error? Tell us.
See these ideas in a working system
Open a free evaluation workspace, choose your lab-type pack, load sample cases and follow one from registration to authorised report. 60-day free trial, no card.