*** September 2026 Major Release ***Read and watch
Document type

Extracting data from food sensitivity reports

A reference laboratory returns one report per panel, scoring a fixed list of foods for IgG antibody response. Every lab picks its own panel, its own codes and its own layout. Clinics receive them in a steady stream by portal download, secure email and fax, one per patient tested.

A clinician needs each food, its category and its reactivity level, plus the Total IgE result and whether it falls in range. Those populate the patient record and set the elimination diet the practice sends the patient home with.

Page 1 of a sample Food Sensitivity Report, with extracted values outlined
17,355Markdown characters
149parse blocks
275fields extracted
The problem

What makes food sensitivity reports hard

The results are a picture

87 foods sit in four columns under category headings that break at different heights, with nothing ruled between the cells.

Color is a value

Each result is a code and a colored box, with a legend mapping five colors to five reactivity levels.

Panels change between laboratories

Each lab sets its own food list, its own reactivity scale and its own page design, so no two panels line up field for field.

How it works

Parse, extract, verify

1

Parse

Parse turns the document into reading-order Markdown and a hierarchy of blocks (text, tables, figures), and grounds each block to its exact location on the page.

2

Extract

You define the fields in a JSON schema, and Extract returns their values in a consistent, structured format, each linked back to where it appears in the Markdown.

3

Verify

Each value links back to where it appears, down to the character range in the Markdown, and the page and bounding box in the source document, so every result can be verified.

Worked example

One food sensitivity report, end to end

About this document: Genova Diagnostics' sample IgG Food Antibodies profile, published on gdx.net for clinicians. Four portrait pages. Page 1 is the results grid, 87 foods in seven categories with the Total IgE panel beneath it. Page 2 restates the same results grouped by level, and pages 3 and 4 are elimination diet guidance. The patient is the specimen SAMPLE PATIENT, with date of birth, sex and record numbers left blank.

Processing objective: The objective is to read the report header and one result out of the grid itself. Page 2 lists the high reactors as plain text and would have been the easier choice; page 1 is shown because a clinical system reading these at volume gets the grid.

Demonstration fields: Test profile, Methodology, Patient, Gluten result (from the results grid)

The document

4 of 4 pages
  • Page 1 of the sample Food Sensitivity ReportPage 1shown below
  • Page 2 of the sample Food Sensitivity ReportPage 2
  • Page 3 of the sample Food Sensitivity ReportPage 3
  • Page 4 of the sample Food Sensitivity ReportPage 4

Where each value came from

Page 1 of the sample Food Sensitivity Report, with every featured field outlined
Test profilereport.test_name
1001 IgG Food Antibodies Profile
The region of the sample Food Sensitivity Report containing Test profile, with the extracted value outlined
extraction_metadata["report.test_name"]
{
  "value": "1001 IgG Food Antibodies Profile",
  "page": 1,
  "range": {
    "end": 216,
    "start": 176
  },
  "box": {
    "xmin": 0.02839,
    "ymin": 0.2602,
    "xmax": 0.36351,
    "ymax": 0.27465
  }
}
Methodologyreport.methodology
EIA and Chemiluminescent
The region of the sample Food Sensitivity Report containing Methodology, with the extracted value outlined
extraction_metadata["report.methodology"]
{
  "value": "EIA and Chemiluminescent",
  "page": 1,
  "range": {
    "end": 256,
    "start": 217
  },
  "box": {
    "xmin": 0.02877,
    "ymin": 0.27737,
    "xmax": 0.27385,
    "ymax": 0.28894
  }
}
Patientreport.patient_name
SAMPLE PATIENT
The region of the sample Food Sensitivity Report containing Patient, with the extracted value outlined
extraction_metadata["report.patient_name"]
{
  "value": "SAMPLE PATIENT",
  "page": 1,
  "range": {
    "end": 159,
    "start": 136
  },
  "box": {
    "xmin": 0.02792,
    "ymin": 0.15208,
    "xmax": 0.17105,
    "ymax": 0.18185
  }
}
Gluten result (from the results grid)food_results[68].result
3+
The region of the sample Food Sensitivity Report containing Gluten result (from the results grid), with the extracted value outlined

ADE’s range for this value covers Red, text beside it in the parse output.

extraction_metadata["food_results[68].result"]
{
  "value": "3+",
  "page": 1,
  "range": {
    "end": 5674,
    "start": 5671
  },
  "box": {
    "xmin": 0.02413,
    "ymin": 0.29007,
    "xmax": 0.97397,
    "ymax": 0.77535
  }
}

How to try it yourself

Everything on this page is reproducible. The sample, its schema, and the Parse and Extract API outputs are published. You can repeat the same two calls from whichever surface you already build on.

  • Claude Skilldescribe the job; the agent writes it
  • CLIno code at all
  • MCPexpose ADE docs as an agent tool
  • REST APIany language
  • Pythonlandingai-ade
  • TypeScriptlandingai-ade
Why LandingAI?

Documents into data

Accurate

The best accuracy on the difficult documents other tools get wrong, such as messy scans, complicated tables, checkboxes and handwriting.

Auditable

Every answer cites its sources. Values come back with an audit trail (page, bounding box, character range) so a human can review them.

Agentic

Applies multi-step reasoning, and plans before it acts. Handles documents it has never seen before and adapts to variations.

API-first

Composable APIs that drop into any tech stack and can be called from anywhere. Easy to build on and embed in your pipelines and products.

Affordable

Cost-competitive rates with complete price transparency. Spend controls before you run, and every job reports its exact cost.

Enterprise-grade

Built for production and scale from day one. Fully observable and monitored, running securely in our cloud or yours.

Built for high-volume, high-throughput production

  • Zero data retention
  • Priority rate limits
  • Enhanced support
  • VPC and on-prem deployment

Available on Team and Enterprise plans.

Compare plans
Capabilities

Food Sensitivity Report processing highlights

Complete results grids
Reactivity codes and levels
Category grouping per food
Total IgE and reference range
In-range and out-of-range flags
Specimen and methodology header
Laboratory and accreditation
High-reactivity summary lists
Ordinal reactivity codes
Grid checked against summary
Native PDFs and scans
Bounding box for every value
FAQs

Questions, answered

Yes. Every food on the panel returns with its category and its reactivity result, alongside the Total IgE figure and the high-reactor summary. A report that restates its results by level gives you a second copy to reconcile the grid against.

The grid is classified as a figure and its contents transcribed into a table. Each food returns with the category heading it sits under and the reactivity code beside it, with no ruling on the page to follow.

Yes. Total IgE returns as a value, a unit and a reference range, with a flag for whether it falls inside that range. On the page the in-range answer is carried by which of two boxes the number is printed in.

A schema can ask for the results and leave the patient identifiers out entirely, so protected health information never enters the extraction. Accounts are available with zero data retention, alongside SOC 2 Type II, GDPR and HIPAA compliance for clinical workloads.

Yes. DPT-3 Pro, the default parse model, reads scanned pages and handwriting. Coordinates come back against the page image either way, so a faxed or scanned lab report gives you the same evidence as this one.

Start extracting food sensitivity report data

Reliable, structured outputs with full traceability in minutes