Abstract
A blood test is the most common piece of clinical evidence a person owns, and it usually reaches them as a PDF, a scan or a photo. Extracting structured, coded results from that page is easy to do roughly and hard to do reliably, because a system that is right 99% of the time gives no sign of which 1% is wrong. We describe Sahha’s lab report reader and test it under protocols frozen before each run. Two small vision-language models from different providers read every page independently. Rows they agree on are accepted. Rows they disagree on are re-read by a larger model that sees neither reading, and a two-of-three vote decides. Code then standardises units and test codes, and a report goes to a person only when something on it could not be settled. We ask three questions. Can models read lab tables? Yes: no model misread a number on a clean page. Where do they fail? In four places: written comments, units on photographed pages, test codes, and model-specific misreads of text results. Does cross-checking catch the failures at low cost? Across 155 US reports read three times and 100 unseen Egyptian reports read once, the pipeline released no misread value (95% upper bound 1.8 per 1,000 values), sent 2 to 6% of reports to a person, and cost about a sixth of the large model reading every page. Each model on its own released a misread somewhere. The design has a blind spot, which we measure: it cannot notice a row that both readers leave out. We list every error it released.
Key findings
- Models read tables; they fail at the edges. No model misread a number on a clean page. Errors were left-out comments, dropped units on photos, wrong test codes and two-line text results.
- A single model cannot say which results to distrust. Two different models can. When two different models agree, both are wrong on 0.06% of rows. When one model agrees with itself, 0.34%.
- The pipeline released no misread value in testing. That is 0 in 1,668 released results on distinct pages, which bounds the rate below about 2 per 1,000. Each model alone released at least one.
- Few reports need a person, and those that do, need one. 2 to 6% of reports are routed, and 87% of them contained a real error in a reader’s output.
- About a sixth of the cost of a large model alone, because the large model reads only the rows the small ones dispute.
- The blind spot is shared omission. One to three rows per run were missed by both readers, almost all written comments. One of them matters: a contamination warning on a urine report.
1. Introduction
Wearables describe how a person lives. Lab results describe what is happening in their blood. An app that wants both has a problem: wearable data arrives through an API, and lab data arrives as a document. It may be a clean PDF from a national laboratory, a scan from a clinic, or a photo of a printout. Layouts differ between labs and countries, the same test goes by many names, and the same value can be printed in different units.
The traditional answer is a person typing. That is slow, and less accurate than most people assume. When clinic staff typed glucose results that an instrument had also recorded electronically, 3.7% of 6,930 manual entries differed from the instrument, and about 5 in 1,000 differed by a clinically significant amount [1]. Typing everything twice and comparing the two entries cuts keying errors by roughly a factor of eight [2], which is why double data entry became standard practice in clinical research.
Vision-language models (multimodal large language models, which take a page image and return text) can now read a lab report directly, and on a clean page they are very good at it. The difficulty is knowing when one is wrong. A model that drops a unit, skips a comment or takes a value from the neighbouring row produces output that looks exactly like correct output. In our tests a model’s own “uncertain” mark was a poor guide to its errors, in line with published findings that language models overstate their confidence [11]. An app cannot show a wrong potassium value to a user with nothing to indicate doubt, and it cannot afford to have a person check every report.
This paper describes Sahha’s lab report reader, which turns an uploaded report into standardised, coded results that sit beside a person’s wearable and behavioural data, and reports how well it works. The design borrows the logic of double data entry: two independent readers, and attention only where they differ. We organise the evidence around three questions.
- Can models read lab tables? How accurate are current vision-language models on printed laboratory results, across labs and countries (section 5)?
- Where do they fail? What kinds of error do they make, and which matter (section 6)?
- Does cross-checking catch the failures at low cost? Does the pipeline release fewer errors than any single model, how many reports does it send to a person, and what does it cost (section 8)?
We make four contributions:
- An extraction design that knows where to look. Two different small models and a targeted third read, with every routing rule justified by what it catches (section 3).
- Evidence that the two readers must be different models. Agreement between different models is a stronger signal than a model agreeing with itself (section 8.4).
- A held-out validation with baselines. Protocols, keys and code were frozen before each run. Every result is shown next to each model alone, and next to the pipeline with a part removed (section 8).
- An account of what still goes wrong, and of where the work is. Every scored error was traced to its cause, every error the pipeline released is listed, and we describe what reliable extraction needs beyond the model call (sections 6 and 9, and the appendix).
2. Related work
Manual transcription. Most errors in laboratory medicine arise outside the analysis itself, in the steps before and after it, and transcription is one of those steps [17]. Error rates for typed clinical data vary by an order of magnitude between databases [22]; the best-controlled study of laboratory values found 3.7% [1]. Double entry reduced keying errors from 0.37 to 0.046 per 1,000 fields in a controlled comparison [2]. These studies measure a different task from ours (keying one value, not reading a whole report), so they are context, not a benchmark.
Extracting lab reports automatically. General benchmarks for answering questions about documents and for parsing them [9, 10] have tracked rapid progress by vision-language models, and report that performance still varies by document type and by element, tables among them. For lab reports specifically, before vision-language models, systems chained optical character recognition to an information extraction step. A representative study reached an F1 score of 0.86 on 153 scanned reports from one hospital [3]. A recent benchmark of 1,900 Chinese examination and laboratory reports found end-to-end vision-language models behind text models given high-quality OCR, while judging them the more promising route for varied layouts [4]. Mapping test names to LOINC, the standard vocabulary for laboratory observations [5], is studied separately; a 2026 agent reaches 81 to 90% accuracy on emergency department test names [6].
Agreement between models. Combining diverse models to reduce error is a long-standing idea in machine learning [14]. For language models, sampling one model several times and taking the majority answer improves accuracy on reasoning tasks [7], and checking an answer against other samples, or against other models, is used to detect fabricated content [12, 13]. A model’s stated confidence is a weaker signal: models tend to be overconfident, and consistency between answers predicts errors better [11]. Self-agreement relies on a model’s errors being random. We find that a quarter or more of a model’s reading errors repeat on every run, which is why our two readers are different models.
Deciding what to release. Letting a system answer only when it is sure, and passing the rest to a person, is known as selective prediction; its central trade-off is between how much is released and how many errors are released with it [15]. Our routing is a selective predictor whose signal is disagreement.
Positioning. Checking one reader against another is an old idea. What this paper adds is a measured version of it for lab reports: protocols frozen in advance, single-model baselines on the same pages, the review workload and relative cost stated, and the remaining errors listed one by one.
3. The system
Two readers. Each page is read independently by two small vision-language models from different providers. We call them reader A and reader B. Each transcribes every printed laboratory result as one row: the test name, the result exactly as printed, the unit, the reference range, any high or low flag, and the collection date. Each also says which entry of our test catalogue the row corresponds to. The readers never see each other’s output.
Comparison. Code pairs the two readings row by row. A row is accepted when the readers agree on its value and unit. Differences of notation (“Percentage” and ”%”) are not disagreements; differences of substance are.
A targeted third read. For each disputed row, a larger model is shown the page and the name of the row, and asked to transcribe that row itself. It is never shown either reading, so its answer is an independent third vote. If it matches one reader, that reading is accepted. If it says the row is not a result at all, the row is dropped. If all three differ, the row is unsettled. Because the large model writes a handful of rows instead of the whole page, this step is cheap enough to run on every dispute.
Code standardises. Units are parsed to UCUM, the standard notation for units of measure [16], and values are converted to a standard unit where the conversion is unambiguous. Tests are attached to entries in a catalogue of 374 markers, each carrying its LOINC code. A unit or test name the code does not recognise is delivered exactly as printed and marked as not standardised. It is never guessed.
Routing. A report goes to a person when it has a row the vote could not settle, a page that could not be read, or a value that is impossible for its test and unit. The large model’s reading is offered as the suggestion. Nothing else routes a report. Section 7 explains why the list is that short.
What comes out. Every delivered result carries how it was verified: agreed by both readers, settled by the third read, or awaiting review. An application can treat the three differently, for example by showing agreed results immediately and holding the rest. In outline, one delivered result looks like this:
{
"name": "Haemoglobin",
"printed": { "value": "14.10", "unit": "g/dL", "range": "11.5 - 16", "flag": null },
"unit_ucum": "g/dL",
"code": { "system": "LOINC", "code": "718-7" },
"collected": "2021-08-26",
"verification": "agreed"
}The printed block is never altered. Standardised fields are added beside it, and are absent when code does not recognise what was printed.
Scope. The reader handles sample-based laboratory results, including word results (“Negative”), culture and smear text, and written findings such as a pathologist’s comment on a blood film. It does not read imaging, ECG, spirometry or examination findings, and it leaves out explanatory paragraphs and reference tables.
Models used in this validation. Reader A was Claude Haiku 5.5, reader B was GPT-6 Luna, and the large model was Claude Sonnet 5.5, all run on Amazon Bedrock at low reasoning effort with structured output. The design does not depend on these three. It depends on the readers being different from each other, which section 8.4 tests.
One principle runs through the design: models read, code standardises, and disagreement routes. The models are asked only to transcribe and to describe, which they do well. Arithmetic, unit conversion and code lookup are done by tested code. And a person’s attention is spent only on evidence that something is wrong.
4. How we tested it
4.1 Reports
| US set | Unseen Egyptian set | |
|---|---|---|
| Reports | 155 (234 pages) | 100 (single pages) |
| Printed results in the key | 1,179 | 788 |
| Sources | Public sample reports in 8 layouts: Labcorp test-menu samples, Quest-format reports from three ordering services, Mayo Clinic Laboratories, Sterling Accuris (India), Innoquest (Malaysia), Drlogy (India) | A public dataset of 260 reports from 24 Egyptian laboratories [8], a mix of PDF exports and scanned pages; 100 drawn at random from the 179 never opened during development |
| Copies | Clean PDF, and a simulated phone-photo copy of every page (dark desk, up to 3 degrees of tilt, blur) | As published |
| Runs | 3 clean, 3 photo | 1 |
Development used other data (figure 4), including a public medical records parsing set [21]. No result in this paper comes from development data.
4.2 Answer keys
Both keys were built before the pipeline read the reports, and a person checked every row against the page. The US key was drafted by fixed rules from each PDF’s text layer and corrected by consistency passes; the unseen-set key was drafted from the images by a model outside the pipeline. Neither is perfect, and a key error the readers share would be invisible to us. Appendix A describes how each was built, and section 10 what that limits.
4.3 Scoring
A printed result counts as right when it is found with the same value and the same unit. Different numbers are wrong. A missing unit is wrong. The scorer uses its own pinned unit rules, separate from the product’s, so a mistake in the product’s unit handling cannot hide itself. The appendix gives the rules in full.
Every scored error was then traced to the page and put in one class:
| Class | Meaning |
|---|---|
| Misread | A number, word result or unit that differs in meaning from the page. Includes a value taken from a neighbouring row, and “Reactive” for “Preliminary Reactive” |
| Unit dropped | Value right, printed unit not delivered |
| Missed text | A printed comment, interpretation or smear finding not delivered |
| Missed row | A printed tabular result not delivered |
| Wrong code | The result filed under a different test: another analyte, specimen or measure |
| Not a real error | Same meaning in different text, a lab’s misspelling corrected, text delivered under a neighbouring label, or a coding choice where the key and the catalogue differ by convention |
Three measures carry the results:
- Results right: printed in-scope results delivered with the right value and unit, divided by all printed in-scope results.
- Errors released: wrong or missing results in reports that were not sent to a person. As a rate, per 1,000 printed results in the whole set, so that every setup is divided by the same number.
- Review rate: reports with anything sent to a person, divided by all reports.
They trade off against each other [15]: a system can release fewer errors simply by sending more reports to a person, so we always report the three together.
4.4 Comparisons
On the same pages we scored each model alone with everything released (reader A, reader B, and the large model reading the full page), and the pipeline with a part removed. A run is one complete reading of every report in a set. The US set was run three times on clean pages and three times on photos, and its figures are averages over those runs; the unseen set was run once. So that sets of different sizes can be compared, errors are given per 1,000 printed results and review as a percentage of reports. Costs are reported relative to the pipeline’s cost, which is 1. Proportions carry 95% intervals. Repeated runs read the same pages and are not independent, so bounds on rare events use distinct pages or distinct rows.
5. Can models read lab tables?
Yes. Table 1 gives the share of printed results each system delivered with the right value and unit, before any person looked at anything.
| Clean US pages | Simulated photos | Unseen Egyptian pages | |
|---|---|---|---|
| Reader A alone | 99.35% (98.7 to 99.7) | 97.74% (96.7 to 98.4) | 98.10% (96.9 to 98.8) |
| Reader B alone | 99.46% (98.9 to 99.8) | 99.52% (98.9 to 99.8) | 99.49% (98.7 to 99.8) |
| Large model alone | 99.92% (99.5 to 100) | 98.47% (97.6 to 99.0) | 98.86% (97.8 to 99.4) |
| Pipeline | 99.77% (99.3 to 99.9) | 99.66% (99.1 to 99.9) | 99.49% (98.7 to 99.8) |
Table 1. Results delivered right, of 1,179 (US) and 788 (unseen), with Wilson 95% intervals [18] for one run of that size. US figures are means of 3 runs (large model: 1 run). The unseen pipeline figure is after the fix described in section 8.1; as frozen it was 98.10%.
Three things stand out.
No system misread a number on a clean page. Across both sets, three models and seven runs, every wrong number came from the simulated photos. On clean and scanned pages the only meaning-changing misreads were two text results on one page, described below. The layouts ranged from single-test reports to a 19-page health package, with English and bilingual pages, from laboratories in four countries. Reading the table is not the hard part.
The other fields hold up too. Of results the readers found, the printed reference range matched the key on 647 of 648 rows on the unseen set, for both readers, and on 97.6% and 98.1% of rows on the US set by a strict comparison whose differences we did not audit one by one. Every result the keys mark high or low (29 on the unseen set, 180 on the US set) carried the same flag from both readers.
The differences between systems are small in percentage terms and large in kind. A system at 98.1% and one at 99.5% differ by eleven results in 788, and their intervals overlap. Whether those eleven are harmless depends entirely on what they are, which is the next question.
| Layout (clean pages, mean of 3 runs) | Reports | Results | Right | Reports to a person |
|---|---|---|---|---|
| Labcorp, single test | 110 | 150 | 150 | 2.0 |
| Labcorp, panels | 22 | 316 | 315.3 | 3.3 |
| Quest format, 1 to 4 page panels | 17 | 549 | 548.3 | 3.0 |
| Other laboratories (India, Malaysia, Mayo) | 6 | 164 | 162.7 | 1.0 |
Table 2. The pipeline on the US set by layout. Errors are too few to say one layout is harder than another; what the table shows is that none stands out.
6. Where do they fail?
There are four failure modes.
1. Written comments get left out. Lab reports print findings in sentences as well as in tables: a pathologist’s comment on a blood film, an interpretation line under a screening test. Reader A left out 13 of the 15 on the unseen set. The large model left out 9. This is the largest class of error for every model, and the easiest to overlook, because a missing sentence leaves no gap in the output. Most of these comments restate what the numbers already show (“Normal blood picture”). Some do not. On the US set, both small readers left out a comment reading “abnormal lymphocytes are present; consider chronic lymphocytic leukemia” in at least one run.
2. Units vanish on photos. On photographed pages reader A dropped the unit on about 11 results in every 1,000. The large model dropped 12 per 1,000 in its one photo run, nearly all on a single page. The values were right. A value without its unit cannot be standardised, and for tests reported in more than one unit it cannot be interpreted.
3. Results get filed under the wrong test. Choosing the right code needs context a name alone does not give. Reader A filed serum albumin as urine albumin, estrone as estradiol, and a body-fluid protein as serum total protein, the same rows in every run: about 7 wrong codes per 1,000 results on clean pages, against fewer than 1 for reader B and the large model. The value is delivered correctly; it is attached to the wrong test.
4. Each model has its own misreads. Reader B shortened two two-line text results on one HIV report in every clean run: “Preliminary Reactive” became “Reactive”, and “HIV-1 Indeterminate” became “Indeterminate”. Reader A, on photos, took values from the neighbouring row on dense white-cell tables, swapped two adjacent results, and read “/lpf” for “/hpf”. Reader B read 0.21 for 0.27 where a watermark crossed the digit. The large model made the same “Reactive” error on a photo.
The pattern in the fourth mode is what makes the design work. These are not random slips. Between a quarter and two fifths of a model’s errors recurred on every run (5 of 13 rows for reader A and 3 of 13 for reader B on clean pages). Reading the page again with the same model would repeat them. But the two models’ errors fall on different rows.
7. The first test, and what it changed
Before the third question, a step back. The design tested in section 8 is the second one. The first was frozen on 13 November 2026 and run on the US set (figure 4), and its failure shaped the principle the current design rests on.
That first design read just as well: 99.04% of results right on clean pages and 98.81% on photos, with no serious error released in any run. But it sent 28 of 155 reports to a person, 18%, and because the routed reports were the large panels, fewer than half of all results were released automatically. When we traced why, almost none of the routing was earned:
| Routing rule in the first design | Reports routed | With a real error |
|---|---|---|
| Value far outside its own printed range | 10 | 0 |
| Unit not recognised by our tables | 6 | 0 |
| Two rows mapped to the same test | 10 | 3, of which 2 were already routed by a disagreement |
Table 3. What three of the first design’s routing rules caught on the first clean run. Together they account for most of the 28 reports routed.
Extreme values on a lab report are usually real: that is why the test was ordered. A unit our code had not seen was, in every case, a correct unit our code had not seen. These rules routed reports because of what our code did not know, not because of anything wrong on the page.
The second design follows from that. Route on evidence, not on ignorance. An unrecognised unit is delivered as printed and marked as not standardised. A value outside its range is flagged on the result. Neither sends a report to a person. Disagreement between readers, the one signal that found real errors, does. Replayed on the same saved model outputs, this cut routing from 18% to 6% and released more than three quarters of all results automatically, without releasing a misread. Because that replay was designed on the US set’s own errors, we then froze the design again and tested it on reports it had never seen.
8. Does cross-checking catch the failures at low cost?
8.1 The held-out test
The current design was frozen on 20 November 2026 and then read 100 Egyptian reports it had never seen, once.
| One run each | Results right, of 788 | Errors released | of which misreads | Reports to a person | Relative cost |
|---|---|---|---|---|---|
| Reader A alone | 773 | 15 | 0 | 0 | 0.36 |
| Reader B alone | 784 | 4 | 0 | 0 | 0.24 |
| Large model alone | 779 | 9 | 0 | 0 | 7.0 |
| Pipeline, as frozen | 773 | 15 | 0 | 2 | 1 |
| Pipeline, after one fix | 784 | 4 | 0 | 3 | 1 |
Table 4. The unseen set. Every tabular result was found and read correctly by every system; all differences are written comments.
The frozen result is the held-out result, and we report it as it stands: 773 of 788 results right, no wrong value delivered, 2 reports sent to a person, and 15 written comments left out.
Those 15 had one cause, and it was ours. The readers’ specification has treated a written finding as a result since 6 November. The instruction given to the third read had never been brought in line: it was told that a note or an interpretation paragraph is not a result. So when reader B kept a comment and reader A skipped it, the third read voted to drop it. We corrected that one instruction and re-ran only the third read on the same 14 disputed reports. The readers’ outputs were reused unchanged. After the fix, 13 of the 15 comments are delivered (figure 3 shows one), 784 results are right, and 3 reports go to a person. We show both rows because the fix was made after seeing the result, on the pages it was scored on.
The four remaining errors: two comments that neither reader transcribed, one comment delivered word for word under a neighbouring heading, and one in which reader B corrected the lab’s spelling of “aneamia”.
8.2 Against each model alone
Table 5 puts the pipeline beside each model alone and beside versions of itself with a part removed, on the US set.
| Setup | Reports to a person | Results released automatically | Errors released, per 1,000 | of which misreads | Wrong codes released, per 1,000 | Relative cost |
|---|---|---|---|---|---|---|
| Clean pages | ||||||
| Reader A alone | none | all | 6.5 | 0 | 6.8 | 0.34 |
| Reader B alone | none | all | 5.4 | 1.7 | 0.6 | 0.20 |
| Large model alone | none | all | 0.8 | 0 | 0.8 | 5.9 |
| Two readers, every dispute to a person | 18% | 42% | 0 | 0 | 0 | 0.54 |
| Pipeline | 6% | 78% | 0.6 | 0 | 0.3 | 1 |
| Simulated photos | ||||||
| Reader A alone | none | all | 22.6 | 6.8 | 4.0 | 0.35 |
| Reader B alone | none | all | 4.8 | 0.6 | 0.8 | 0.19 |
| Large model alone | none | all | 15.3 | 0.8 | 0 | 5.7 |
| Two readers, every dispute to a person | 17% | 39% | 0.6 | 0 | 0 | 0.54 |
| Pipeline | 5% | 85% | 1.7 | 0 | 0 | 1 |
Table 5. The US set: 155 reports and 1,179 printed results, averaged over 3 runs (large model: 1 run). Rates are per 1,000 printed results in the set. These are the current design replayed on the model outputs saved from the first frozen test (figure 4), so read this table as development evidence and table 4 as the test.
The pipeline is the only setup that released no misread. Reader B alone released its two HIV text misreads on every clean run, 1.7 per 1,000 results. Reader A alone released about 7 misread values per 1,000 on photos. The large model alone released one in its photo run. The pipeline did produce misreads on photos, about one per 1,000 results, and every one was in a report it had sent to a person: “/lpf” for “/hpf” in all three runs, and an allergy class in place of its value once.
On clean pages the large model alone is about as good. It released 0.8 errors per 1,000 results against the pipeline’s 0.6, and had slightly more results right before review. It cost about six times as much and flagged nothing. Off clean pages it fell behind: 15.3 errors released per 1,000 on photos against 1.7, and 9 errors on the unseen set against 4.
On the unseen set the cheaper reader alone ties the pipeline. Reader B also released 4 errors, three of them the same ones, at a quarter of the cost. So why not use it alone? Because on the US set it released two misreads on every clean run, and nothing in its output marked them. Which model happens to be right on a given layout cannot be known in advance. A single model can score well and still give no signal about which reports to check. The second reader is what turns “usually right” into “says when it is not”.
8.3 How much work is left for people
Between 2% and 6% of reports go to a person: 9, 8 and 11 of 155 on the three clean runs, 10, 7 and 7 on the photo runs, and 3 of 100 on the unseen set. Of the 55 routed across all runs, 48 (87%) had a real reading error or wrong code in at least one reader’s output. Nearly all were routed for the same reason: a disputed row that the third read could not settle.
A report takes seconds. On the unseen set the median was 6.2 seconds of model time per report, and 90% finished within 19 seconds; the third read added about 4 seconds on the 14 reports that needed it. On the multi-page US set the median was 8.5 seconds and 90% finished within 30. These are test-harness timings, not a service guarantee.
8.4 Why each part is there
Two different models, not one model twice. When readers A and B agreed on a row, both were wrong on 2 of 3,444 agreements (0.06%). When a model agreed with a second run of itself, both were wrong on 12 of 3,488 (0.34%). Tested at the level of reports, the difference is 0.29 points (bootstrap 95% interval 0.10 to 0.49, permutation p = 0.009) under the design as first frozen. Under the current code the same comparison is 0 of 3,447 against 5 of 3,492 and no longer reaches significance (p = 0.064). The direction holds in every comparison we ran; the counts are small.
The targeted third read is what makes two readers practical. Sending every disagreement to a person would mean reviewing 28 of 155 reports, 18%. The third read settles most of them and leaves 9, and more than doubles the share of results released with no person involved, from about 40% to about 80%, at a cost of about one additional low-severity error per 1,000 results. About half of all disagreements on clean pages turn out to be differences of format where both readers were right, so they cost a model call and not a person’s time. The third read is nonetheless the largest single item in the pipeline’s cost, at just under half.
Routing on code checks added nothing we could measure. With them removed, the same errors and the same wrong codes were released, and about two fewer reports in 155 went to a person. We keep the one check that guards against impossible values, and report plainly that this set gave it nothing to catch.
8.5 How sure can we be?
“None released” is only as strong as the number of chances there were to release one.
| Claim | Observed | 95% upper bound |
|---|---|---|
| Misreads released, per released result (clean US pages plus unseen set, distinct pages) | 0 of 1,668 | 1.8 per 1,000 |
| Same, unseen set alone | 0 of 733 | 4.1 per 1,000 |
| Same, simulated photos | 0 of 942 | 3.2 per 1,000 |
| A misread by either reader passing the agreement check | 0 of 50 distinct rows | 5.8% |
| Same, clean pages only | 0 of 13 distinct rows | 21% |
Table 6. Exact one-sided 95% upper bounds [19, 20].
The end-to-end claim is the strong one: fewer than about 2 misreads per 1,000 released results. The claim about the agreement check is weaker than “catches every misread”. The readers misread so little on clean pages that there are only 13 cases to test it on, and most of the 50 come from simulated photos. We state it as it is: no misread passed in 50 cases.
A second, coarser check points the same way. Among wrong readings where both the printed and the delivered value are numbers with a printed range, none on clean pages moved a result between high, normal and low. Two on simulated photos did, both from reader A, and both were disputed and settled before release.
8.6 What cross-checking cannot see
Two readers check each other’s readings. They do not check each other’s coverage. A row that neither reader delivers never becomes a disagreement, and so is never looked at.
Every run had one to three such rows. They were a second HbA1c figure printed in different units on one page, two “Non Reactive” interpretation lines whose numeric results were delivered, “Ovalocytes present” on one photo run, and two comments on the unseen set. Most repeat information the delivered numbers already carry.
One does not. A urine report on the unseen set printed: “Many epithelial cells may suggest the possibility of contamination … urine culture is recommended.” Neither reader transcribed it, so every system, the pipeline included, delivered that report’s abnormal-looking results without the warning that the sample may have been contaminated. It is one comment in 100 reports, and it is the kind of error the design cannot catch by construction. Section 9 says what we are doing about it.
9. Discussion
9.1 What this supports
An application can take a lab report as a PDF or scan and get back coded, standardised results for the large majority of reports with no person involved, in seconds, at a cost that makes it reasonable to do for every user. The results that come back unreviewed carry a measured risk: no misread in 1,668, and a small number of missing comments.
Building on the lab report reader
- Well supported by these results: numeric and word results from digital and scanned reports, with their units, ranges and flags; standard codes for common tests; a verification status on every result; knowing which reports need a second look.
- Use with care: written comments and interpretations, which are sometimes left out. Show users the original document alongside the extracted results, and do not treat the absence of a comment as the absence of a finding.
- Not supported by these results: real phone photographs of paper reports, handwritten reports, and any use that depends on interpreting results. The reader transcribes; it does not diagnose.
Lab results are most useful next to the rest of what an application knows about a person. A fasting glucose or an HbA1c means more beside months of sleep and activity, and a ferritin result means more beside training load. That is the reason the reader is being built into Sahha, with results stored against the same profile as wearable and behavioural data, and not as a separate document tool.
9.2 Beyond the model call
It would be easy to read sections 3 to 7 and conclude that reliable extraction is two model calls and a tie-breaker. The model calls were the smallest part of the work, and the least troublesome. Across the project, nearly every defect we found was in what surrounds them.
- Units. The first design recognised 124 spellings of units and 84 molar masses, and still met correct units it did not know on a new lab family. Reports print “mg/dL (calc)”, “x10(9)/L”, “micrograms per mL” and ”% of total Hgb”. Across the saved runs the readers returned 82,634 printed units to parse.
- Codes. The test catalogue went through three versions, from 286 entries to 494 and back to 374, after checking each against 27,108 model readings showed which entries were never used and which were confused with each other. LOINC codes written from memory, by people or by models, were often wrong; every code is verified by lookup.
- Documents. One PDF can hold two reports. Pages arrive sideways. A dense page of more than about 45 rows can make a model stop early, and has to be read in bands. A provider’s prompt cache silently never hit on requests containing images, which more than doubled one reader’s cost until it was found.
- Ground truth. Two people reviewing the same draft key agreed on over 99.7% of fields and both missed the same 8 errors, which a mechanical consistency check then found. The US key took 34 logged corrections.
- The harness itself. A decision from the third read was not applied to results on page 2 or later. The scorer counted a correct result as missed when it was printed under two names. The third read’s instruction disagreed with the readers’ specification (section 8.1). Each was found only because a frozen test forced every error to be traced.
- Change. The models in this paper will be replaced within months. Each replacement needs the whole evaluation run again, on reports the new model has not seen.
None of this is exotic. It is the long tail that every team extracting lab data meets, and it does not end. For teams weighing whether to take that on, our build versus buy guide sets out the trade-offs more generally.
9.3 Why not just use the best model?
On clean pages, one could. But the best model on one layout was not the best on another, every model had errors that repeat on every run, and none could say which of its rows to distrust. Two different readers are the smallest design we found that produces a usable “check this” signal, and making the readers small is what pays for the second one.
The useful division of labour was to let models make open-ended judgements (is this a result, which test is it) and keep code for what is exact (conversion, lookup, comparison), with a safe default whenever code meets something new.
9.4 Next steps
Three follow from the evidence. First, a coverage check for the blind spot: asking a reader specifically whether a page prints any comment that qualifies its results, since that is a question about the page and not about a row. Second, a test on real phone photographs of printed reports, which the simulated copies only approximate. Third, cutting false disputes, which are half of all disputes on clean pages and the main driver of cost.
10. Limitations
- Photos were simulated. The photo copies add a dark background, tilt and blur to clean pages. Real photographs add shadows, curvature, glare and cropping. Every misread number in this paper came from the simulated photos, so real photos are where we would expect more.
- The counts are small. Zero misreads released in 1,668 results bounds the rate below about 2 per 1,000; it does not show the rate is zero. The agreement check was tested on 50 misread rows, 13 of them on clean pages.
- The US set is sample reports. They are clean, well formed, and mostly normal values, in layouts their publishers chose to show. Their errors informed the current design, so the US results for that design are development evidence.
- One held-out run. The unseen set was read once. Run-to-run variation on it is not measured.
- Keys were drafted with AI and checked by a person who saw the draft. Opus 5.5 drafted the unseen-set keys and 19 US keys. It is from the same model family as two of the pipeline’s three models. The checker was the project owner. A key error that the reader models share would be invisible to this validation.
- Severity is not clinically rated. We classify errors by what they are, and list the released ones for readers to judge. We do not claim clinical safety, and no clinician rated the errors.
- Shared omissions are not caught (section 8.6), and one released omission, a contamination warning, changes how other results on its report should be read.
- Coverage of tests is finite. Results outside the 374-entry catalogue are delivered as printed without a code. One wrong code on the unseen set came from a gap: the catalogue had no entry for an antibody-only HIV screen.
- English-language report bodies only. Bilingual headers were present; results printed in other scripts were not tested.
- Three specific models. The results describe these models at these versions. The design is meant to outlast them, but that is an expectation, not a finding.
11. Responsible use and disclosures
Responsible use. Lab results are sensitive health information. The reader exists so that a person’s own results can be shown to them and used for their benefit, in line with Sahha’s Customer Data Use Policy. It transcribes and standardises what a laboratory printed. It does not interpret results, and it is not a diagnostic device. Extracted results should be shown with access to the original document.
Availability. The architecture, the models and their roles, the scoring rules, the error classes and the evaluation protocol are described in this paper. The unseen-set reports are public under CC BY 4.0 [8]. The US sample reports are public but not ours to redistribute. Prompts, the catalogue’s contents, the unit tables and the detailed agreement rules are not published.
Competing interests. This work was designed, run and written by Sahha staff, and the reader is being built into Sahha’s product. To limit the room for choices that favour the result, protocols, keys and code were frozen before each test, the unseen set was read and scored once, the frozen results are reported with their errors, and each later fix is shown beside the result it changes.
Appendix A: methods in detail
Reading. Each page is rendered to an image and sent to each reader with the same instructions and the test catalogue. Output is constrained to a fixed schema: one row per printed result with name, result as printed, unit, range, flag, date, specimen, catalogue entry, and whether the row is a result or a cell that says there is none. Multi-page documents are read page by page.
Agreement. Rows from the two readers are paired within a page by name, then by catalogue entry and value for what is left. A pair agrees when the values are the same after format normalisation and the units are the same or have the same UCUM reading. A row only one reader produced is a dispute.
Third read and vote. The large model receives the page image and, for each disputed row, the names the readers used and which occurrence on the page it is. It returns whether the row is a printed result and, if so, its value, unit, range and flag. If its reading agrees with one reader’s, that reading is delivered. If it finds no result where one reader had a row, the row is dropped. Otherwise the row is unsettled and the report is routed, with the large model’s reading as the suggestion.
Answer keys. US set. The key was drafted by fixed rules from each PDF’s text layer, with no model involved. Nineteen reports (13 without a usable text layer and the 6 from laboratories outside the two main US formats) were keyed by Claude Opus 5.5 before any run. A person checked every report against its page. Consistency passes then compared every key row with its page in both directions and made 22 logged corrections before the freeze. After the first run, rows where the system and the key disagreed were checked against the pages; 9 were key errors and were corrected. That audit can only remove errors that counted against the system, so the frozen key is kept and both are reported where they differ. A second reviewer checked a seeded 20% sample and agreed on 99.7% or more of every field, but both reviewers were confirming the same draft, so we do not offer that agreement as evidence of key quality.
Unseen set. Each key was drafted from the image by Claude Opus 5.5, which is not one of the pipeline’s models, without sight of any reader output. A person then checked all 788 rows against the images and changed none. The reviewer saw the drafts while checking, which may anchor toward agreement.
Scoring. Key rows and delivered rows are paired by name similarity after normalisation, then by catalogue entry and value. A value is right when equal after removing thousands separators, leading zeros and trailing dots; different numbers are wrong. A unit is right when it has the same spelling as the key’s or both parse to the same UCUM code under the scorer’s own pinned rules; a missing unit is wrong; word results ignore the unit. The scorer’s rules are separate from the pipeline’s agreement rules, so a loose pipeline rule still shows up as an error. A copy of the key scores 100% against itself.
Statistics. Proportions use Wilson 95% intervals [18]. Upper bounds on events that did not occur are exact one-sided 95% bounds [19]; for zero events in n trials the bound is 1 minus 0.05 to the power 1/n, which is close to the familiar 3/n [20]. The comparison of agreement between two models with agreement of one model with itself (section 8.4) is tested at the level of reports, with a cluster bootstrap over reports for the interval and a permutation test over reports for the p-value, because rows on one report are not independent.
Cost. Each run records the provider’s charge for every call. Relative cost is a setup’s total divided by the pipeline’s total on the same reports.
Appendix B: supporting tables
| Set | What was released | Class | Runs |
|---|---|---|---|
| Clean US | “Non Reactive” interpretation line for an HIV screen (the numeric result and its range were delivered) | Missed text | 1 of 3 |
| Clean US | “Non Reactive” interpretation line for a hepatitis B surface antigen test (numeric result delivered) | Missed text | 1 of 3 |
| Clean US | An insulin-resistance score from a lipoprotein panel filed as HOMA-IR, a different insulin-resistance measure | Wrong code | 1 of 3 |
| Photos | “POSITIVE” for “RH(D) POSITIVE” on a row named Rh type | Not a real error | 3 of 3 |
| Photos | The two “Non Reactive” interpretation lines above | Missed text | 1 of 3 |
| Photos | “Ovalocytes present” | Missed text | 1 of 3 |
| Photos | A confirmation row coded as the test it confirms | Coding convention | 2 of 3 |
| Unseen | “Many epithelial cells may suggest the possibility of contamination … urine culture is recommended” | Missed text | 1 of 1 |
| Unseen | “Mild hyperprolactinemia which may be due to stress or medication, follow up of prolactin is recommended” (the prolactin value, above its range, was delivered) | Missed text | 1 of 1 |
| Unseen | A blood film comment delivered word for word under the heading printed above it | Not a real error (wrong label) | 1 of 1 |
| Unseen | “aneamia” delivered as “anaemia” | Not a real error (spelling) | 1 of 1 |
| Unseen | An antibody-only HIV screen coded as the combined antigen and antibody test | Wrong code (catalogue gap) | 1 of 1 |
Table A1. Every distinct error the current pipeline released, on all sets and runs, excluding coding conventions on the unseen set (table A3).
| Rows with a reader error | Sent to the third read | Accepted with a wrong reading | Missed by both readers | |
|---|---|---|---|---|
| Clean US, runs 1 to 3 | 18, 9, 13 | 14, 8, 11 | 0, 0, 0 | 3, 1, 1 |
| Simulated photos, runs 1 to 3 | 28, 30, 33 | 26, 27, 28 | 1, 2, 1 | 1, 1, 3 |
| Unseen | 17 | 13 | 1 | 3 |
Table A2. What the agreement check did with rows where a reader was wrong or missing. The accepted rows are the Rh type prefix (photos) and the comment delivered under a neighbouring heading (unseen): none changes a result’s meaning.
| Coded results right | Wrong codes released, real | Wrong codes released, convention | |
|---|---|---|---|
| Unseen set, pipeline | 723 of 733 | 1 | 14 |
| Unseen set, reader A alone | 724 of 733 | 1 | 21 |
| Unseen set, reader B alone | 726 of 733 | 1 | 22 |
| Unseen set, large model alone | 724 of 733 | 1 | 17 |
Table A3. Codes on the unseen set. A convention difference is a row the key leaves uncoded that a system coded, or a broader or narrower catalogue entry for the same thing (a named urine crystal against “urine crystals”).
| Date | Change after a freeze | Effect |
|---|---|---|
| 13 Nov | Post-run audit of the US key: 9 key errors corrected | Both keys reported where they differ |
| 13 Nov | Third-read decisions on page 2 or later were not being applied (harness defect) | Fixed; lowers errors, routing unchanged |
| 16 Nov | Scorer paired rows by name only, so a correct result read under another printed name counted as missed | Fixed for every system |
| 16 Nov | Scorer’s unit rules pinned to a frozen copy, separate from the product’s | Scores unchanged |
| 16 Nov | One extra run: the large model alone on photos | Added as a baseline; spend cap exceeded and logged |
| 20 Nov | Third read’s instruction brought in line with the readers’ specification on written findings | Reported beside the frozen result (table 4) |
Table A4. Deviations from the plans fixed in advance.
| Misread | Unit dropped | Missed text | Missed row | Wrong code | |
|---|---|---|---|---|---|
| Clean US pages | |||||
| Reader A alone | 0 | 2.0 | 4.0 | 0.7 | 8.0 |
| Reader B alone | 2.0 | 1.3 | 1.3 | 1.0 | 0.7 |
| Large model alone | 0 | 0 | 1 | 0 | 1 |
| Pipeline | 0 | 0.7 | 2.0 | 0 | 0.7 |
| Simulated photos | |||||
| Reader A alone | 8.0 | 13.3 | 2.7 | 0 | 4.7 |
| Reader B alone | 0.7 | 2.0 | 1.7 | 0.3 | 1.0 |
| Large model alone | 1 | 14 | 3 | 0 | 0 |
| Pipeline | 1.3 | 0.3 | 1.0 | 0 | 0 |
| Unseen Egyptian pages | |||||
| Reader A alone | 0 | 0 | 13 | 0 | 1 |
| Reader B alone | 0 | 0 | 2 | 0 | 1 |
| Large model alone | 0 | 0 | 9 | 0 | 1 |
| Pipeline | 0 | 0 | 2 | 0 | 1 |
Table A5. Real errors by class, as mean counts per run of each set (1,179 results on the US set, 788 on the unseen set), in everything each system produced. Figure 5 shows the same data per 1,000 results. The pipeline’s figures include reports it sent to a person.
Related research
- Estimating Sleep From a Smartphone Alone: the same approach to validation, with a frozen analysis plan and held-out people, applied to passive sleep estimation.
- The Sahha Research Study: Protocol and Methodology: how Sahha’s earlier studies collected and labelled smartphone data.
References
- Mays, J. A., & Mathias, P. C. (2019). Measuring the rate of manual transcription error in outpatient point-of-care testing. Journal of the American Medical Informatics Association, 26(3), 269-272.
- Paulsen, A., Overgaard, S., & Lauritsen, J. M. (2012). Quality of data entry using single entry, double entry and automated forms processing: an example based on a study of patient-reported outcomes. PLoS ONE, 7(4), e35087.
- Ma, M.-W., Gao, X.-S., Zhang, Z.-Y., et al. (2023). Extracting laboratory test information from paper-based reports. BMC Medical Informatics and Decision Making, 23, 251.
- Shang, F., Xia, Y., Yang, D., Wang, Y., & Yang, B. (2025). MedRepBench: a comprehensive benchmark for medical report interpretation. arXiv:2508.16674.
- McDonald, C. J., Huff, S. M., Suico, J. G., et al. (2003). LOINC, a universal standard for identifying laboratory observations: a 5-year update. Clinical Chemistry, 49(4), 624-633.
- Wu, L., Huang, J., Wang, H., et al. (2026). Clinical laboratory terminology standardization for semantic interoperability using a large language model-based agent: methodological study. Journal of Medical Internet Research, 28, e92499.
- Wang, X., Wei, J., Schuurmans, D., et al. (2023). Self-consistency improves chain of thought reasoning in language models. International Conference on Learning Representations (ICLR).
- Abdelmaksoud, E., Gadallah, A., & Asad, A. (2022). Clinical laboratory test reports (version 2). Mendeley Data. doi:10.17632/bygfmk4rx9.2.
- Mathew, M., Karatzas, D., & Jawahar, C. V. (2021). DocVQA: a dataset for VQA on document images. IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2199-2208.
- Ouyang, L., et al. (2025). OmniDocBench: benchmarking diverse PDF document parsing with comprehensive annotations. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 24838-24848.
- Xiong, M., Hu, Z., Lu, X., et al. (2024). Can LLMs express their uncertainty? An empirical evaluation of confidence elicitation in LLMs. International Conference on Learning Representations (ICLR).
- Zhang, J., Li, Z., Das, K., Malin, B., & Kumar, S. (2023). SAC3: reliable hallucination detection in black-box language models via semantic-aware cross-check consistency. Findings of EMNLP 2023, 15445-15458.
- Manakul, P., Liusie, A., & Gales, M. J. F. (2023). SelfCheckGPT: zero-resource black-box hallucination detection for generative large language models. Proceedings of EMNLP 2023, 9004-9017.
- Dietterich, T. G. (2000). Ensemble methods in machine learning. Multiple Classifier Systems, Lecture Notes in Computer Science 1857, 1-15.
- Geifman, Y., & El-Yaniv, R. (2017). Selective classification for deep neural networks. Advances in Neural Information Processing Systems, 30.
- Schadow, G., McDonald, C. J., Suico, J. G., Föhring, U., & Tolxdorff, T. (1999). Units of measure in clinical information systems. Journal of the American Medical Informatics Association, 6(2), 151-162.
- Plebani, M. (2010). The detection and prevention of errors in laboratory medicine. Annals of Clinical Biochemistry, 47(2), 101-110.
- Wilson, E. B. (1927). Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22(158), 209-212.
- Clopper, C. J., & Pearson, E. S. (1934). The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika, 26(4), 404-413.
- Hanley, J. A., & Lippman-Hand, A. (1983). If nothing goes wrong, is everything all right? Interpreting zero numerators. JAMA, 249(13), 1743-1745.
- Eka Care. (2025). Medical records parsing validation set. Hugging Face dataset, ekacare/medical_records_parsing_validation_set.
- Goldberg, S. I., Niemierko, A., & Turchin, A. (2008). Analysis of data errors in clinical research databases. AMIA Annual Symposium Proceedings, 242-246.