Document type

Extracting data from FDA flowcharts

Several FDA guidance documents set out their logic as decision flowcharts: numbered yes-or-no questions joined by arrows. Numbering and layout vary from chart to chart, even inside one guidance. Device makers download them from fda.gov and walk each change to a cleared device through them.

A regulatory team needs each question, where its Yes and No answers lead, and the outcome a path reaches, such as a new 510(k). A quality management system attaches that path to the change-control record as the reason for filing or for documenting the change.

Page 5 of a sample FDA Flowcharts, with extracted values outlined
DPT-3 ProParse model
5pages
9,662Markdown characters
1parse credits per page
15.1 sparse time
10fields extracted
The problem

What makes FDA flowcharts hard

  • The logic lives in the arrows

    Each answer is a Yes or No label on a connector line. That line can cross half the page before it reaches the next question.

  • Separate paths share one step

    On a materials chart, a No from the tissue contact question and a No from the risk assessment both lead into the same performance question.

  • Charts hand off to other charts

    An outcome box can read Go to Chart B or Go to B5. The path then continues in another chart of the same guidance.

How it works

Parse, extract, verify

  1. 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. 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. 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 FDA flowchart, end to end

About this document: Five portrait pages from the FDA guidance on deciding when to submit a 510(k) for a change to an existing device. After the cover comes the main flowchart. It routes a change to Chart A for labeling, Chart B for technology and performance, or Chart C for materials. Page 5, Chart C, is featured. The guidance is a US government work, shown unredacted.

Processing objective: The objective is to read one chart's decision logic as data. That means each numbered question, and the step a Yes or a No answer leads to. A change-control record cites this path when a manufacturer decides whether a materials change needs a new submission.

Demonstration fields: Figure caption, Decision C4, Decision C4.1, C4.1 No outcome

The document

4 of 5 pages
  • Page 1 of the sample FDA FlowchartsPage 1
  • Page 2 of the sample FDA FlowchartsPage 2
  • Page 3 of the sample FDA FlowchartsPage 3
  • Page 5 of the sample FDA FlowchartsPage 5shown below

Where each value came from

Figure captionflowcharts[3].figure_caption
Figure 4 - Flowchart C: Materials Changes
The region of the sample FDA Flowcharts containing Figure caption, with the extracted value outlined
extraction_metadata["flowcharts[3].figure_caption"]
{
  "value": "Figure 4 - Flowchart C: Materials Changes",
  "page": 5,
  "range": {
    "end": 9606,
    "start": 9565
  },
  "box": {
    "xmin": 0.3498,
    "ymin": 0.87184,
    "xmax": 0.65005,
    "ymax": 0.88441
  }
}
Decision C4flowcharts[3].decisions[3].question
Does a risk assessment identify any new or increased biocompatibility concerns?
The region of the sample FDA Flowcharts containing Decision C4, with the extracted value outlined
extraction_metadata["flowcharts[3].decisions[3].question"]
{
  "value": "Does a risk assessment identify any new or increased biocompatibility concerns?",
  "page": 5,
  "range": {
    "end": 8534,
    "start": 8455
  },
  "box": {
    "xmin": 0.10368,
    "ymin": 0.15086,
    "xmax": 0.94523,
    "ymax": 0.83941
  }
}
Decision C4.1flowcharts[3].decisions[4].question
Has the manufacturer used the same material in a similar legally marketed device (including formulation, processing, type and duration of contact, etc.)?
The region of the sample FDA Flowcharts containing Decision C4.1, with the extracted value outlined
extraction_metadata["flowcharts[3].decisions[4].question"]
{
  "value": "Has the manufacturer used the same material in a similar legally marketed device (including formulation, processing, type and duration of contact, etc.)?",
  "page": 5,
  "range": {
    "end": 8724,
    "start": 8571
  },
  "box": {
    "xmin": 0.10368,
    "ymin": 0.15086,
    "xmax": 0.94523,
    "ymax": 0.83941
  }
}
C4.1 No outcomeflowcharts[3].decisions[4].if_no
New 510(k)
The region of the sample FDA Flowcharts containing C4.1 No outcome, with the extracted value outlined
extraction_metadata["flowcharts[3].decisions[4].if_no"]
{
  "value": "New 510(k)",
  "page": 5,
  "range": {
    "end": 9506,
    "start": 9478
  },
  "box": {
    "xmin": 0.10368,
    "ymin": 0.15086,
    "xmax": 0.94523,
    "ymax": 0.83941
  }
}
Page 5 of the sample FDA Flowcharts, with every featured field outlined

Performance

Parsed and extracted with v2 APIs using dpt-3-pro-20261111 and extract-20261111, at the Standard service tier.

5pages
1parse credits per page
15.1 sparse time
10schema fields
0.71extract credits per field
400.6 sextract time
Capabilities

FDA Flowchart processing highlights

Decision nodes with printed IDs
Yes and No branch labels
Outcome and terminal boxes
References between charts
Branches that rejoin
Long wrapped question text
Node and connection lists
Figure captions as text
Multi-chart guidance documents
Decisions as schema arrays
Specific page selection
Character-range grounding
Get started

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. VPC and on-prem deployment require an Enterprise plan.

Compare plans
FAQs

Questions, answered

Parsing classifies the chart as a FLOWCHART figure and transcribes the text in every shape. Its generated description lists each node with its text. It then lists each connection, with the Yes or No label its arrow carries.

Yes. Define decisions as an array in your schema, with fields for the node ID, the question and where each answer leads. Every decision comes back as one object, including those whose answer ends the chart.

References such as Go to Chart B come back as the outcome of the decision that leads to them. Your code can join charts on those values. It can then walk a route from the main chart to its final outcome.

A quoted value carries its character range in the parsed Markdown. For a chart, that range is a line in the node or connection list. The Ground API maps it to the page and the chart block it belongs to.

Start extracting FDA flowchart data

Reliable, structured outputs with full traceability in minutes