Dataset
De-identified clinical notes datasets for AI training
A clinical notes dataset is a text corpus of notes clinicians wrote during care: progress notes, history and physicals, consult notes, operative reports, nursing notes and discharge summaries, each with note type, author role, specialty, an encounter key and signing time. SourceX sources these to a buyer's specification from established hospitals and physician groups that hold them in EHR document stores, and from documentation vendors with rights to them. Records are de-identified before delivery and licensed for an agreed permitted use; confirm the de-identification method and jurisdiction with counsel.
Dataset manifest
Sourced to your spec- What it is
- Clinician-written notes as text, with note type, author role, specialty, encounter key and signing time
- Typical systems
- Epic, Oracle Health, MEDITECH, athenahealth, eClinicalWorks, transcription and documentation platforms
- Typical history
- Varies by holder; specify years, note types, specialties and notes per patient
- Modality
- Free text with section structure; text origin and identifier spans as annotations
- Delivery formats
- JSONL with note text and metadata; FHIR DocumentReference or C-CDA where requested
- Preparation
- De-identified before delivery, identifiers in narrative tagged or replaced with surrogates; method recorded per dataset
- Licensing
- Scoped by site, note type and years; permitted use agreed per license
- Availability
- Sourced to your spec from holders with the right to license; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| note_id | string | Pseudonymous, stable ID for one signed document; addenda and earlier versions point to it. |
| subject_key | string | De-identified patient key that puts one person's notes in order, where linkage is in scope. |
| encounter_key | object | The visit or admission the note belongs to, with care setting: inpatient, emergency or ambulatory. |
| note_type | object | The site's own note type name and, where mapped, a standard document type code such as LOINC. |
| service | string | Specialty or department of the authoring service. |
| author_role | object | Attending, resident, advanced practice provider, nurse, therapist, student or scribe, plus the cosigner's role. |
| signing | object | Signed, cosigned or addended, with signing time as a shifted timestamp or an offset from encounter start. |
| text | string | The de-identified note body with line breaks and list structure kept. |
| sections | array | Detected headings such as history of present illness, exam, assessment and plan, with character spans. |
| text_origin | array | Spans marked as typed, template, pulled from the chart or copied from an earlier note, each flagged system-recorded or inferred. |
| authored_fraction | number | Share of the note's characters that are new against the patient's earlier notes and the template library. |
| versions | array | Saved drafts, the signed version and addenda in order, with the changes between them. |
| phi_spans | array | Where an identifier was detected, its category, and whether it was tagged or replaced with a surrogate. |
| deid_method | object | The de-identification method, date handling and measured results recorded for the dataset. |
Field names from the table above; values are masked placeholders.
Example record
{
"note_id": "nt_4f9a2c71",
"subject_key": "subj_08815",
"encounter_key": { "id": "enc_22710", "setting": "inpatient" },
"note_type": { "local": "Hospitalist Progress Note", "code_system": "LOINC", "mapped": true },
"service": "hospital_medicine",
"author_role": { "author": "resident", "cosigner": "attending" },
"signing": { "status": "cosigned", "signed_offset_h": 52.4, "cosigned_offset_h": 58.1 },
"text": "Hospital day 3. Less dyspnea overnight, slept flat. Wife Dana Whitlow at bedside, says appetite still poor.\nVitals: T 37.1, HR 88, BP 128/74, SpO2 95% on 2L.\nExam: bibasilar crackles, improved. Trace ankle edema.\nA/P: Acute on chronic HFrEF, improving. Continue IV furosemide 40 mg BID, PO tomorrow if creatinine stable. Discussed with Dr. Renner, cardiology.",
"sections": [
{ "name": "interval_history", "span": [0, 107] },
{ "name": "assessment_plan", "span": [213, 359] }
],
"text_origin": [
{ "span": [0, 107], "origin": "typed" },
{ "span": [108, 157], "origin": "chart_pull", "source": "vitals", "basis": "system_recorded" },
{ "span": [158, 212], "origin": "copied_forward", "from_note": "nt_4f99e0b3", "edited": true,
"basis": "inferred" },
{ "span": [213, 359], "origin": "typed" }
],
"authored_fraction": 0.70,
"versions": [
{ "v": 1, "status": "draft" },
{ "v": 2, "status": "signed" },
{ "v": 3, "status": "addendum", "author_role": "attending",
"text": "I saw and examined the patient and agree with the resident's findings and plan." }
],
"phi_spans": [
{ "span": [57, 69], "category": "name_relative", "action": "surrogate" },
{ "span": [340, 346], "category": "name_clinician", "action": "surrogate" }
],
"deid_method": { "method": "expert_determination", "dates": "shifted_per_patient",
"names": "consistent_surrogates" }
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Clinical summarization
Discharge summaries with the progress notes they draw on are real examples of condensing a hospital stay into a hospital course.
Information extraction
Problems, medications, negations and family history in narrative form train extraction that survives abbreviations and shorthand.
Documentation assistants
Notes by type, specialty and author role show how each kind of note is organized and worded at real sites.
Reasoning over serial notes
Daily notes for one admission, with the edits between them, let a model track what changed and what was only carried over.
Evaluation sets for clinical text
Held-out notes with origin spans support tests of summary faithfulness and of detecting stale copied statements.
Use-case guides: Healthcare administration AI, Document AI, enterprise search and RAG, Private evaluation sets
What makes this data valuable
Authored fraction reported
New text is measured per note type and site, with the method stated.
Origin spans
Template, pulled and copied text is marked, with recorded and inferred marks kept apart.
Note-type coverage
A stated mix of note types and specialties, mapped from local names to standard codes.
Version history
Drafts, signed text, cosignatures and addenda arrive in order.
De-identification measured here
Miss rates per identifier category come from annotation of this corpus, with the span file.
Patient-level linkage
One key and one date offset per patient, so a person's notes read in sequence.
Redaction
Clinical notes dataset
Ask for newly authored text, not token counts
Much of the text in a signed note was not written for that note. EHRs let a clinician start from a template with default exam findings, expand a short typed phrase into a stored paragraph, and insert links that pull the medication list, vitals and recent labs into the body at the moment of writing. On an inpatient service, today's progress note often begins as a copy of yesterday's with a few lines changed. A discharge summary reassembles the hospital course from the notes before it. A corpus measured in tokens counts all of this as new.
For training this matters in two ways. Repeated text dominates, so a model learns the template better than the medicine. And copied text carries stale facts under a fresh signature: an exam finding nobody rechecked, a day count for an antibiotic that stopped advancing, a plan already completed. Removing exact duplicates does not solve it: copied notes differ by a few characters, and discarding them also discards the lines that did change, which are that day's clinical update.
Ask the holder for the proportion of newly authored text by note type and site, and how it was measured. Some EHRs record where pasted or imported text came from. Elsewhere, origin is inferred by comparing each note with the same patient's earlier notes and the site's template library, and inferred marks should be labeled as such. Ask for version history too: drafts saved before signing, the signed text, cosignatures and addenda. With it, a run of daily notes becomes a sequence of edits.
Why narrative is the hardest part of a chart to de-identify
In a structured table an identifier sits in a known column and can be dropped. In a note it can be anywhere. A daughter is named in the social history, a nursing home in the plan. Names are misspelled, cut to initials, or identical to ordinary words and to diseases named after people, so detection tools both miss real names and strip medical terms. Dates appear as weekdays, holidays and postoperative days. Then come details no pattern catches: a rare diagnosis beside an occupation and a small town, an injury that made the local news, a relative's illness.
No tool finds every identifier, and across a large corpus a small miss rate is still many names. That is why some de-identification methods replace detected identifiers with realistic surrogates instead of bracketed tags. A missed real name then sits among invented ones and is hard to single out, and the text stays natural, where a model trained on tags learns to produce them. Surrogates must be consistent: one person keeps one invented name across a patient's notes, and dates move by the offset used for that patient everywhere else. The cost is that you can no longer see what was replaced, so ask for the span file.
A sample lets you verify a good deal. Read the places tools miss: signature blocks, copy lists, pasted messages, family and social history. Check that date arithmetic still works after shifting and that eponyms survived. Ask for miss and false-alarm rates per identifier category, measured by human annotation on notes from this corpus and broken out by note type, since a tool tuned on discharge summaries behaves differently on nursing notes. Whether the result satisfies the method the holder chose is for the holder's expert and your counsel to confirm.
What to check before licensing
- Ask which de-identification method was applied to the narrative, who carried it out, and the measured miss rate per identifier category on notes from this corpus. Confirm the method and jurisdiction with counsel.
- Read a sample for leftover identifiers where tools miss them: signature blocks, copy lists, pasted messages, family and social history.
- Confirm that psychotherapy notes and substance use treatment program records are excluded, and ask which note types, departments and programs the filter used.
- Decide whether pediatric notes are in scope. If they are, ask what extra review they received and how parents' names and schools were handled.
- Measure authored fraction on the sample yourself by comparing consecutive notes for the same patient, and set your figure beside the holder's.
- Ask whether drafts, addenda, cosignature attestations and unsigned notes are included and flagged, and whether note text was exported as rich text or flattened.
- Confirm the holder's right to license. If the holder is a transcription or documentation vendor, ask to see that the provider that keeps the record approved this use.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
How are clinical notes de-identified before delivery?
Identifiers in the narrative are detected by automated tools, a sample is checked after processing, and each detected item is either tagged or replaced with a realistic surrogate. Dates are removed, reduced to the year or shifted by one offset per patient, depending on the method. Where HIPAA applies, that method is Safe Harbor or Expert Determination, and the method used is recorded for each dataset. No method removes every identifier from free text, so confirm the method and jurisdiction with counsel.
How much of a clinical note corpus is original text?
It varies by note type, specialty and site, so measure it on the corpus you are offered. Daily inpatient progress notes are the type most often described as copied forward and filled with pulled chart data. Do not assume other types are clean, since operative reports and nursing notes are often built from templates. Ask for the authored fraction per note type, and size the dataset in newly authored text instead of total tokens.
Are psychotherapy notes and substance use treatment records excluded?
They should be, and you should check how the holder identified them. HIPAA treats psychotherapy notes kept apart from the main chart differently from other records, and records of federally assisted substance use disorder treatment programs fall under separate federal confidentiality rules. Ask the holder which note types, departments and programs were filtered out, and have counsel confirm how those rules apply to the source.
Are pediatric notes included?
That depends on the scope you set, so say in your spec whether pediatric encounters are in or out. Notes about children name parents and schools, describe rare congenital conditions that narrow identity quickly, and for adolescents may record visits the patient asked to keep confidential from family. State rules on minors' records differ. If pediatric notes are in scope, ask what additional review they received and have counsel check the rules that apply.
What metadata comes with each note?
Each note should carry its type, authoring service, author role, encounter key, signing status and a shifted or relative signing time. Note types are local names that differ between sites, so ask for a mapping to a standard document type code where one exists. Patient linkage is optional and raises re-identification risk, so request it only if your use needs it.
Who has the right to license clinical notes for AI training?
The hospital or practice that keeps the record is the usual starting point. A transcription or documentation vendor processes notes under a contract with that provider, and the contract commonly limits what the vendor may do with them, so a vendor needs the provider's permission. State law and the provider's own patient notices can add conditions, so ask for the basis of the holder's rights in writing and have counsel review it.
Related datasets
- De-identified EHR and patient chart records
Longitudinal patient charts: encounters, problems, orders, results, medications, vitals and notes under one patient key
- Medical dictation audio with final transcripts
Clinician dictation audio paired with the typed or recognized draft and the final signed document
- Clinical visit audio paired with documented notes
Consented visit recordings with a diarized transcript, any draft note and the clinician-signed note
- Medical coding records from chart to claim
Coded encounters: source documents, first-pass and audited codes, physician queries, audit findings and claim lines
- Clinical vignettes with expert reasoning
Authored patient cases with the expert's ranked differential, next-step decision, rationale and references
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 25 November 2026.