Clinical NLP datasets: public corpora, licensed text or custom annotation

Healthcare AI · · 8 min read

Clinical NLP datasets: public corpora, licensed text or custom annotation

Acumen Editorial · Updated November 30, 2026

A clinical NLP dataset is a collection of clinical text, such as discharge summaries, radiology reports or progress notes, with labels a model can learn from or be tested against. Teams source them three ways: public research corpora, licensed EHR text or custom datasets annotated by clinicians. The right choice depends on access terms, task fit and label quality.

We get asked the same question every week by clinical AI teams: can we just use MIMIC? Sometimes yes. Often not for the job you have. This guide sets out the three sources, what each one gives you, and the checks that matter before you build on any of them.

What counts as a clinical NLP dataset?

Three parts make a dataset useful. The text itself. The labels on it. And the documentation that says who made the labels, under which guideline, and how often they agreed.

Most teams focus on the first part. The second and third decide whether the model learns the right thing. A corpus of 300,000 notes with weak labels trains a confident model that is wrong in the places clinicians care about. A few thousand notes with a tight schema and adjudicated labels often does more.

Where do clinical NLP datasets come from?

Public research corpora

The best-known source is MIMIC. PhysioNet's MIMIC-IV-Note release holds 331,794 discharge summaries from 145,915 patients and 2,321,355 radiology reports, from Beth Israel Deaconess Medical Center. Access requires credentialed status, CITI human-subjects training and a signed data use agreement.

The n2c2 corpora, hosted by Harvard's Department of Biomedical Informatics, are the other staple. They cover de-identification, medication extraction, relations, coreference, temporal relations, cohort selection and adverse drug events, built on tasks from 2006 onward. They are small by modern standards: the 2009 medication set has 1,243 discharge summaries, and the 2018 adverse drug event track used 505 MIMIC-III summaries. Each user must apply separately, and the page states copies may not be shared with other individuals.

Public corpora are excellent for benchmarking and research. They carry three limits for product teams. They come from a small number of institutions. Their label schemas were designed for a shared task, not your product. And their terms restrict how the text can be moved.

That last point matters for LLM work. PhysioNet said in April 2023 that its credentialed data use agreement "explicitly prohibits sharing access to the data with third parties," including sending it through consumer chat tools and some external APIs. It lists cloud model services with specific settings that are acceptable. Read the current terms before any MIMIC text touches a hosted model.

Licensed EHR text

Health systems and data aggregators license de-identified clinical text. You get more institutions, more note types and more recent practice. You usually get no labels. And de-identification quality varies by vendor and method.

De-identification is also narrower than many buyers assume. A 2025 preprint by Baroud and colleagues annotated 100 MIMIC-III discharge summaries for indirect identifiers such as occupation, family details and accident circumstances, and found 6,199 of them. Standard de-identification targets names, dates and addresses. Indirect details can still point to a person when combined with outside knowledge. Ask a licensing vendor how they handle both.

Custom clinician-annotated datasets

The third route is to commission the labels you need, on text you are allowed to use. Clinicians annotate to a schema built for your task: the entities, relations, assertions and reasoning your model must get right. Every label carries the annotator's specialty and the agreement record.

This is slower to start than downloading a corpus. It is the only route where the schema, the specialty mix and the documentation are designed for your product and your regulatory file.

How do the three sources compare?

Public research corporaLicensed EHR textCustom clinician-annotated data
Typical sourceMIMIC, n2c2 shared tasksHealth systems, data aggregatorsYour licensed or generated text, labeled to spec
LabelsTask-specific, fixedUsually noneBuilt for your task
InstitutionsFewManyAs specified
RecencyVaries; often years oldRecentRecent
Access termsDUA, per-user approval, sharing limitsCommercial licenseContract and SOW
Commercial useCheck each DUAYes, per licenseYes, per contract
Annotator credentialsDocumented in papersNot applicableRecorded per item
Best forBenchmarks, research baselinesPretraining, coverageFine-tuning, evaluation sets, regulatory evidence

What should you check before buying a clinical NLP dataset?

Use this checklist on any source, public or paid.

  • Rights. Can you train a commercial model on it? Can it go through a hosted LLM? Who owns the labels?
  • Provenance. Which institutions, which years, which note types? A dataset from one academic center will miss community practice.
  • De-identification. Method, measured sensitivity, and whether indirect identifiers were reviewed.
  • Schema. A written annotation guideline with examples, edge cases and versioning.
  • Annotators. Credentials and specialty per label. Medication extraction needs pharmacists or physicians; psychiatric notes need clinicians who know the field.
  • Agreement. Inter-annotator agreement by label type, not one overall number. In the Baroud preprint, overall relaxed F1 between annotators was 0.87, but one category scored 0.41. The average hid the weak spot.
  • Adjudication. How disagreements were resolved, and by whom.
  • Splits. Patient-level separation between training and test sets, so the same patient's notes do not leak across.
  • Refresh. How the dataset is updated as guidelines and documentation habits change.

If a vendor cannot answer the agreement and adjudication questions, the labels are a guess with a price tag. Our guide to inter-rater reliability in medical AI explains which agreement statistics to ask for.

When is a public corpus enough?

Use a public corpus when you need a research baseline, a comparison against published results or a quick feasibility read. Benchmark on it. Publish on it. Do not assume a model that scores well on one institution's discharge summaries will hold up on another system's progress notes.

Move to licensed or custom data when you need commercial rights, recent practice, note types the public sets lack, or labels a regulator or enterprise buyer will ask you to defend. For text that must stay inside a compliant pipeline, our piece on HIPAA-compliant AI training data covers the handling questions.

How should a custom clinical NLP dataset be built?

Start from the failure you are trying to fix. Write the schema around it. Pilot it on a small batch with two or more clinicians per note, measure agreement per label, revise the guideline, then scale.

Keep a held-out evaluation set that never feeds training, labeled by a separate group. Record who labeled what. That record is what turns a dataset into evidence. Our breakdown of medical text annotation walks through schema design and quality control in more depth.

How Acumen helps

Acumen builds clinical NLP datasets with credentialed clinicians matched by specialty. We write the schema with your team, run multi-reviewer annotation with adjudication, and deliver every item with reviewer specialty and agreement metadata in JSONL, CSV or your schema. We also build held-out evaluation sets for clinical text models. See our medical data annotation service for scope and formats.

For related reading, see our guides to the medical conversation dataset, the medical ontology training data behind coding and normalization, and real-world data for AI training.

Request a sample dataset

FAQ

What is a clinical NLP dataset?

It is a set of clinical text, such as discharge summaries, radiology reports or progress notes, paired with labels a model learns from or is tested against. Labels can mark entities, relations, assertions, codes or reasoning. A usable dataset also documents who labeled it, under which guideline, and how often annotators agreed.

Can I use MIMIC for a commercial clinical NLP product?

Check the current PhysioNet credentialed data use agreement before you build on it. Access requires credentialing, training and a signed DUA, and PhysioNet has said the DUA prohibits sharing data with third parties, including some external AI services. Many teams use MIMIC for benchmarking and research, then train production models on licensed or custom data.

What are the n2c2 datasets?

They are annotated clinical text corpora from shared tasks hosted by Harvard's Department of Biomedical Informatics, starting in 2006. Tasks include de-identification, medication extraction, relations, coreference, temporal relations, cohort selection and adverse drug events. Each user applies separately under a data use agreement, and copies may not be passed to other individuals.

Is de-identified clinical text safe to use for AI training?

It lowers risk but does not remove it. Standard methods target direct identifiers such as names and dates. A 2025 preprint found 6,199 indirect identifiers, like occupation and family details, in 100 MIMIC-III discharge summaries. Ask vendors for their method, measured sensitivity and how they review indirect identifiers.

What inter-annotator agreement should a clinical NLP dataset report?

Ask for agreement by label type, not one overall score. An average can hide weak categories: in one 2025 clinical annotation preprint, overall relaxed F1 between annotators was 0.87 while one category scored 0.41. Also ask how disagreements were adjudicated, by whom, and whether the guideline changed after the pilot.

When should we commission a custom clinical NLP dataset?

Commission one when you need commercial rights, recent practice, note types public corpora lack, or labels you must defend to a buyer or regulator. Custom data lets you design the schema around your model's failures, match annotators by specialty and keep a held-out evaluation set labeled by a separate group.

From the Acumen archive. Explore expert data and Healthcare & Pharma.

← Back to Insights