Healthcare and diagnostics · Diagnostics pack

Sample lab report for OCR and extraction testing

A lab report lists each test with its result, unit, reference range and flag, along with patient and specimen details. GritWorks’ free sample lab report is a fictional CBC and CD4/CD8 panel, clean and in low light, with JSON ground truth for all 108 values, so you can test lab report OCR and extraction.

From the Diagnostics sample pack · Free by email · CC BY 4.0

FROM THE DIAGNOSTICS PACKPAGE 1
Lab report: readable sample from the Diagnostics packFICTIONAL
Same document.
Same expected values.

Anatomy of a lab report

The header identifies the patient and specimen: name, date of birth, age and sex, patient ID, an accession ID that ties the report to its requisition, the ordering physician and the collected, received and reported times. The body is one panel, a CD4/CD8 profile with CBC and differential, laid out as a results table.

Results table: value, unit, reference range, flag

Each of the 24 result rows has a test name, value, unit, reference range and flag. High results carry an H flag, and some reference ranges read “Not established”. The JSON keeps each of those as its own field.

Why unit and range must be scored separately

A correct number with the wrong unit is a wrong result, and a value read into the reference-range column is worse than a missed value. Score test, value, unit, range and flag as separate fields in the same row, and fail the row if any of them is wrong.

Low light: faint digits and decimal points

The degraded copy simulates a dim capture. Decimal points and the thin strokes of 1 and 7 disappear first, which turns 4.5 into 45. Compare the clean and low-light runs field by field to find those cases.

Not for clinical interpretation

The report is fictional and exists to test document ingestion and extraction. It does not validate diagnosis or clinical decision-making, and its values describe no real patient.

FROM THE PACK’S GROUND-TRUTH JSON

Fields with ground truth

Every annotated field in the document, with one example value. Repeated rows such as line items are shown once. Identifier values are withheld from this page and stay in the pack.

CD4/CD8 profile and CBC report108 annotated values · 1 page · degraded copy: low light
Annotated fields in lab_report_clean.pdf
FieldExample valueBounding box
patient_nameTAYLOR BROOKSYes
date_of_birth1990-08-14Yes
age_sexAge: 35 / Sex: FYes
patient_idPT-08217Yes
accession_idDX-260610-08217Yes
ordering_physicianOrdering physician: DR. MAYA COLLINSYes
collected_atCollected: 06/10/2026 08:15Yes
received_atReceived: 06/10/2026 09:20Yes
reported_atReported: 06/10/2026 13:40Yes
panel_nameCD4/CD8 Profile with CBC / DifferentialYes
results[].test24 rowsAbsolute CD4 helperYes
results[].value24 rows987Yes
results[].unit24 rows/uLYes
results[].reference24 rows359-1519Yes
results[].flag2 rowsHYes

FREE SAMPLE · BY EMAIL

Get the Diagnostics sample pack

These documents ship in the Diagnostics pack: 10 PDFs, five clean and five degraded, with structured JSON and bounding boxes. Enter your name, email and company and we’ll email the link. No call or platform account is required for the sample.

LARGER DATASETS · MORE FORMATS

Start with a sample.
Scale to your needs.

The sample is a starting point. We can support the volume your project needs. Book a call to discuss your document types, languages, formats and target volume.

We also provide Excel spreadsheets and images in JPEG, PNG and TIFF formats. Qualified teams can receive the full PDF dataset free after the booking form and call.

The free offer covers PDFs. Larger volumes and other formats are scoped on the call. Product support is available around GritWorks products.

We’ll open the calendar for your selected dataset. Add your details in the booking form.

  1. Choose a time and complete the form
  2. Discuss your documents and intended use
  3. Receive the dataset if it fits your team

Booking opens Google Calendar. Privacy policy

QUESTIONS

Lab report
test data, answered.

Is this a real patient’s lab report?

No. The patient, physician, identifiers and results are fictional. The report is for testing document intake and extraction, not for clinical use.

Which tests are on the report?

A CD4/CD8 profile with a complete blood count and differential: CD4 and CD8 counts and percentages, the CD4/CD8 ratio, WBC, RBC, hemoglobin, hematocrit, red cell indices, platelets and the five-part differential in percentages and absolute counts.

How are abnormal flags labelled?

Results above their reference range carry an H flag, recorded in the JSON as its own field on that result row. Rows without an established reference range say so.

Can I use it to train a lab report extraction model?

One report is enough to prototype a pipeline and to write regression tests, not to train a model. More panels, layouts and volumes are scoped on a call.

How do I get the sample?

Choose “Email me this pack” and enter your name, email and company. We’ll email the download link. No call or platform account is required for the sample.

Can I use my own tools?

Yes. Use the PDFs and reference files in your own evaluation, sandbox or testing workflow. The included reference data is not an automated scoring system. The sample pack is licensed CC BY 4.0: you may use, adapt and share it, including commercially, with attribution to GritWorks. Third-party names or logos that appear in some documents belong to their owners and are not covered by the license.

LET’S DISCUSS YOUR DATASET

Let’s find the right data for your team.

Tell us the volume, formats and scenarios you need. We support datasets at the volume your project needs, plus Excel spreadsheets and JPEG, PNG and TIFF images. Qualified teams can receive the full PDF dataset free after the call.

Your dataset request

Your selection opens its dedicated booking calendar.

Choose a time

Opens Google Calendar, where you register your details.
The full PDF dataset is free for qualified teams. Larger datasets and other formats are discussed separately.

A USEFUL START, IN YOUR INBOX

Your next dataset.
Delivered.

10 PDFs. Clean and challenging versions. JSON and bounding boxes included.

Use the inbox where you’d like to receive your pack.

Free sample · No call required · No platform account