Skip to content
DigitalNeuron
Tools & products

Flatiron Health Says LLM Pipelines on Databricks Now Cover Nearly 2.5 Million Cancer Patients

Flatiron Health and Databricks detail how LLM-based data extraction pipelines built on Databricks and Ray scaled from a 100,000-patient ceiling to nearly 2.5 million patients.

By DigitalNeuron Desk3 min read

Quick answer

How did Flatiron Health scale its LLM-based oncology data extraction using Databricks?

Flatiron Health says it used Databricks, including Ray on Databricks, to scale LLM-based extraction of clinical data from patient records. The company reports monthly extraction now covers nearly 2.5 million patients across four cancer types, up from a prior ceiling of about 100,000 patients, with a team of three to five engineers.

Key takeaways

  • Flatiron Health reports that monthly LLM-based data extraction now covers nearly 2.5 million patients across four Panoramic cancer cohorts (breast, prostate, non-small cell lung cancer, and blood cancers), within its broader 6 million-patient population.
  • The company says its prior in-house deep learning pipelines, used from 2019 through 2022 on an ad hoc compute platform, were limited to a ceiling of around 100,000-patient cohorts.
  • Flatiron states it adopted Databricks and moved to ephemeral, job-specific compute clusters, and that by the end of 2024 its pipelines were producing 1.5 billion extracted data points per month.
  • According to the company, its first LLM-extracted variables reached production in December 2024, and by February 2025 it was scoring a 1 million-patient breast cancer cohort monthly.
  • Flatiron says a single extracted variable can require generating up to one million prompts averaging about 20,000 tokens each, with model inference run on Amazon Bedrock and pipelines running for days.

What Flatiron Health reported

Flatiron Health, in a joint post published on the Databricks blog, says it has scaled large language model (LLM) pipelines built on the Databricks platform to extract clinical research variables from patient records at a scale it previously could not reach. The company reports that monthly LLM extraction now covers nearly 2.5 million patients across four of its Panoramic cancer cohorts, within a broader population of 6 million patients.

Flatiron's Panoramic datasets are described as research-ready histories of cancer care across multiple cancer types and four countries, detailed to the biomarker level. The company says much of the clinical detail researchers need, including pathologic diagnosis, treatment rationale, response, progression, and performance status, is contained in unstructured documents such as pathology reports, physician notes, radiology reports, and discharge summaries rather than structured electronic health record fields. Flatiron says it uses LLMs to extract and reason over this text, and checks model output against labels produced by its expert clinical abstractors under what it calls its VALID framework.

From deep learning to LLMs

According to the company, from 2019 through 2022 its unstructured data processing relied mainly on in-house deep learning models running on large, static batch pipelines on an ad hoc compute platform, which capped projects at roughly 100,000-patient cohorts. Flatiron says adopting Databricks removed that ceiling: by late 2023 the engineering team had moved from shared compute to cost-efficient, ephemeral clusters dedicated to individual jobs, and by the end of 2024 the same class of pipelines was producing 1.5 billion extracted data points monthly.

In early 2025, Flatiron says it shifted its Panoramic datasets to LLM-based extraction. The company states its data science team delivered the first LLM variables in December 2024, after testing them only on tens of thousands of patients, and that by February 2025 a production run scored three variables across the full 1 million-patient Breast Panoramic cohort. Flatiron credits Ray on Databricks as the technical foundation for that scale-up, alongside tuning of compute, orchestration, and model-service throughput.

Infrastructure details

Flatiron says its LLM workloads use Amazon Bedrock for model inference, and that extracting a single variable can require generating up to one million prompts, each averaging about 20,000 tokens, with individual pipelines running for days. The company states that engineers define compute requirements for each pipeline in code via the Databricks SDK or Declarative Automation Bundles, without separate Terraform changes, and that it built an internal "Ray-as-a-primitive" interface allowing applications to dispatch work to ephemeral Databricks clusters through a decorator-based API.

Flatiron Chief Technology Officer Allison Candido is quoted in the post: "Unlocking the rich clinical detail trapped inside millions of unstructured patient records is core to our mission of transforming cancer care. Our Panoramic data only works when extraction meets the rigorous clinical quality standard our abstractors set. With Databricks infrastructure, our team can focus on building that quality into our data pipelines on a technical foundation that can seamlessly scale across our network."

The company states that Panoramic datasets for breast, prostate, and non-small cell lung cancer are available now, with six new blood cancer groups and expansion into the UK, Germany, and Japan underway.

Source: Databricks Blog, "Scaling oncology data extraction with Databricks," published December 2, 2026.

Frequently asked questions

What is Flatiron Health's Panoramic dataset?
Flatiron describes Panoramic as research-ready histories of cancer care across multiple cancer types and four countries, detailed to the biomarker level, built in part by extracting data from unstructured clinical documents.
How does Flatiron Health check the accuracy of its LLM extraction?
The company says it checks LLM output against labels produced by expert clinical abstractors, using what it calls its VALID framework.
What role does Databricks play in Flatiron's pipelines?
Flatiron says it uses the Databricks platform, including Ray on Databricks, so engineers can define and provision compute for each extraction pipeline in code, running ephemeral clusters sized to each job.
Which cancer types are currently covered by LLM extraction?
According to the company, LLM extraction as of 2026 covers the Breast, Prostate, NSCLC, and Heme Panoramic datasets, with six new blood cancer groups and expansion to the UK, Germany, and Japan underway.

Sources

  1. Scaling oncology data extraction with Databricks | Databricks Blog — Databricks
Tagsdatabricksflatiron-healthoncologyllmrayhealthcare-aidata-extraction

Related reading

Databricks Adds Rewind Feature to Spark Declarative Pipelines

Databricks announced a rewind feature, powered by Spark Declarative Pipelines, that restores a pipeline's table data and the streaming processes producing it to a past point in time together. The company says this removes the need for ad hoc backfills after bad data or bugs affect a pipeline, letting processing resume where it left off.

2 min read