Structured vs unstructured EHR data: the RWE gap
Structured vs unstructured EHR data: why the gap between coded fields and clinical text undermines real-world evidence – and what closes it.
Most real-world evidence built from electronic health records relies on a fraction of the clinical record. The gap between structured and unstructured EHR data – coded fields on one side, free-text clinical narrative on the other – is not incidental. It is the gap that determines whether the evidence is right.
Early in my career, I treated a patient whose disease had stopped responding to first-line therapy. The coded record showed a diagnosis, a treatment start date, and a treatment end date. It showed none of what actually happened: the gradual emergence of symptoms that made me suspect progression before any scan confirmed it, the conversation about why we tried one additional cycle before switching, the specific adverse event that made the patient reluctant to continue. All of that lived in my consultation notes. None of it lived in a structured field.
This is not a flaw in how the record was built. Electronic health records were designed to support clinical workflow and billing, not to serve as research instruments. A physician documents in free text because clinical reasoning is contextual, provisional, and often uncertain in ways that a coded field cannot represent. The structured fields do their job well. They were simply never built to hold what actually mattered in that consultation.
Every clinician who has written a discharge summary knows this gap exists. The question this post addresses is what it means for the evidence that pharma, regulators, and health systems build on top of EHR data – and why treating that gap as a minor data limitation, rather than a structural feature of clinical documentation, leads real-world evidence in the wrong direction.
What structured EHR data actually captures
Structured EHR fields capture diagnosis codes (ICD), procedure codes, laboratory values, medication codes, and demographics. These fields are clean, standardised, and directly queryable – which is precisely why they have become the default foundation for real-world evidence. A researcher can export a table, run a query, and produce a cohort in days rather than months.
That convenience conceals a limitation. Clinicians assign coded diagnoses primarily for reimbursement and administrative tracking, not for clinical precision. A code confirms that a diagnosis was billed – not how confident the clinician was, how the condition evolved, or what alternative diagnoses the clinician considered. Laboratory values report a number without the clinical context that gives that number meaning: whether it was trending up or down, whether it changed management, whether the clinician considered it significant or incidental.
A structured dataset can show that a patient carried a diagnosis. It cannot show how that diagnosis was reached, how it evolved over the course of treatment, or why a clinician changed course. Structured data is necessary for real-world evidence. It has never been sufficient on its own, and pharma teams that build evidence strategies as though it were are building on a partial foundation.
What unstructured clinical text actually contains
Unstructured EHR data refers to the free-text portions of the clinical record: physician notes, discharge summaries, radiology and pathology reports, specialist letters, and clinician-recorded observations of patient-reported symptoms. Written in natural clinical language rather than coded fields, this is where the majority of clinically decisive information in a patient record actually resides.
Industry estimates consistently place the proportion of clinically meaningful EHR information contained in unstructured text at up to 80% – a figure reported across multiple peer-reviewed and industry analyses of EHR content composition. That proportion is not evenly distributed; it concentrates precisely in the variables that matter most for real-world evidence.
Line of therapy, disease staging, physician-assessed treatment response, adverse event narrative, and reasons for treatment discontinuation are almost exclusively documented in free text rather than structured fields.
The bias is directional, not random
Real-world evidence built exclusively on structured data does not simply have missing variables. It produces conclusions that are systematically biased in a predictable direction.
Consider an evidence generation effort measuring treatment response using only coded outcome fields. Complete responders and clear treatment failures tend to generate distinct, unambiguous codes – the pattern is easy to capture structurally. Partial responders and late progressors, however, are precisely the patients whose status clinicians describe in narrative language, because their clinical picture does not fit a clean code. A structured-only analysis will systematically misclassify this group – not randomly, but in a direction that skews the apparent response rate upward and understates the population of patients whose treatment is not fully working.
This is not random noise that averages out across a large enough sample. It is directional error that grows, rather than shrinks, as the dataset scales. A larger structured-only dataset does not produce more accurate evidence; it produces the same systematic bias with greater statistical confidence.
Regulators are increasingly attentive to this distinction. As explored in what FDA and EMA actually require from real-world evidence, fit-for-purpose evidence must be defined and validated with a completeness that structured data alone cannot provide. Under the EU’s Joint Clinical Assessment framework, comparative evidence submitted for multi-country HTA review faces scrutiny from multiple national bodies simultaneously – a structural gap that biases outcomes in one direction is no longer a limitation reviewers will overlook. It is a validity risk that determines whether the evidence is usable at all.
Why clinical NLP is not optional
Closing this gap does not mean supplementing structured data with occasional manual chart review. It means building the infrastructure to extract structured, computable evidence from unstructured clinical text at the same scale – and with the same rigour – that structured data pipelines already achieve.
That is what clinical NLP does, and why general-purpose language technology cannot substitute for it. Extracting a reliable, computable variable from a clinical note requires resolving negation (‘no evidence of progression’ versus ‘evidence of progression’), distinguishing confirmed findings from diagnostic hypotheses, tracking temporal sequence across a longitudinal record, and interpreting specialty-specific shorthand that varies by institution and clinical discipline – all at once, consistently, across millions of documents.
What clinical NLP must resolve simultaneously
‘No evidence of progression’ and ‘evidence of progression’ are syntactically similar but clinically opposite. A general-purpose model cannot reliably distinguish them at population scale in clinical text.
Clinicians routinely document differential diagnoses and provisional conclusions. Evidence generation requires identifying what was confirmed, not merely what was considered.
Disease progression and treatment sequencing are events in time. Extracting them requires reading across the full longitudinal record, not a single document in isolation.
Clinical shorthand varies by specialty, institution, and country. A model trained on general text will misread abbreviations and conventions that are routine in clinical practice.
Savana cNLP (EHRead) was trained exclusively on real EHRs rather than general text – across more than 7 billion clinical documents in 7 languages – which is what enables the extraction of regulatory-grade variables from clinical narrative with the traceability and reproducibility that evidence generation requires. LLMs are pluggable on top as an additional layer; they are not, and cannot be, the primary engine for this class of extraction.
Without clinical NLP at this level of rigour, large portions of the clinical record are not merely difficult to use. They are epistemically inaccessible – the information exists, but no methodology reaches it. Closing that gap is what changes what real-world evidence can actually claim to represent.
What changes when the gap is closed
Incorporating unstructured text into real-world evidence at scale is not an incremental improvement over structured-only analysis. It is a qualitative shift in what evidence can represent.
Outcomes that previously required prospective, primary data collection become extractable retrospectively from routine clinical documentation. Patient phenotypes become richer and more clinically accurate, reflecting the nuance that a coded diagnosis alone cannot carry. Variables that regulators and HTA bodies explicitly require – such as physician-assessed treatment response or documented reason for discontinuation – become available at population scale rather than through isolated chart reviews.
This is what deep real-world evidence (dRWE) means in practice: evidence that reflects the full clinical record, not the fraction of it that happened to be coded.
This is an infrastructure decision, not a methodology decision
Closing the structured/unstructured gap cannot be patched onto an existing evidence generation workflow after data has already been collected. It requires infrastructure that governs how clinical text is extracted, normalised, validated, and made audit-ready from the moment of ingestion – not applied retrospectively once a study team realises their coded dataset cannot answer the question they were asked to answer.
Organisations that attempt real-world evidence generation without that infrastructure are not simply working with incomplete data. They are building evidence on a foundation that will not survive regulatory or HTA scrutiny, because the gap they are working around is systematic, not random, and no downstream statistical correction reaches it.
This is an infrastructure decision, not a methodology decision – it must be made before evidence generation begins, not diagnosed after it fails. If structured and unstructured integration must be built in from the start, the operating layer that makes this possible at scale is Savana NGR – a living registry infrastructure designed around the premise that regulatory-grade evidence requires the full clinical record, not the portion of it that happens to be coded.
The structured/unstructured gap is not a data quality footnote. It is the difference between evidence that describes clinical reality and evidence that only describes what was easy to code.
Sources & further reading
- Applied Clinical Trials Online – Unlocking unstructured health data: scaling eSource-enabled clinical trials
- JMIR (2025) – Using structured codes and free-text notes to measure information complementarity in EHRs
- Raghavan et al., AMIA Jt Summits Transl Sci Proc (2014) – How essential are unstructured clinical narratives to clinical trial recruitment?
- OMNY Health – Unlocking the full story: the power of clinical notes in real-world data
- Savana – Regulatory-grade RWE: what FDA and EMA actually require
- Savana – What is deep real-world evidence?
- Savana cNLP (EHRead) – savanamed.com/savana-cnlp/
- Savana NGR – savanamed.com/next-generation-registry/
Extract what coded fields cannot capture
Savana cNLP (EHRead) is trained exclusively on real EHRs – across more than 7 billion clinical documents in 7 languages – to extract regulatory-grade, audit-ready variables from unstructured clinical text. It resolves negation, confirms findings, and tracks longitudinal sequences at population scale: the infrastructure that closes the structured/unstructured gap.
Explore Savana cNLP


