The EDC Field Guide Data Entry
Extracting Data From Scanned Source Documents
Sponsored by Harbor
- Published
- December 2, 2026
- Reading time
- 9 min read
Summary
Reliable trial data from scans needs layered extraction and human review.
Extracting data from scanned source documents is not simply a text-recognition task. In a regulated clinical trial, reliable extraction requires a layered pipeline of OCR, layout analysis, and clinical interpretation, with human review and source traceability built into the design. The decisive capability is not generating a plausible field value, but making that value verifiable against the original record.
Why scanned source documents are the hardest data problem in a clinical trial
A handwritten clinical note can contain a safety event, while a printed laboratory report can hold a result needed for an endpoint. Both may reach the trial team as scanned PDFs instead of records that are searchable and structured. A paper cognitive assessment adds scoring grids and handwritten responses to the same problem. These are routine source documents. Until their contents are extracted, clinical events and measurements remain unavailable for reliable querying and aggregation, leaving manual transcription as a constraint on trial quality and speed.
What makes scanned documents technically different from other unstructured data
A scanned page begins as a raster image. Its first difficulty is therefore character recognition, which must recover letters and numbers before any clinical interpretation can begin. Handwriting, low resolution, mixed fonts, and degraded paper all affect that recovery. Clean print is the easier case. A pipeline that reads a printed laboratory report accurately may perform very differently on a physician’s handwritten note.
The second difficulty is spatial structure, because correctly recognized characters do not establish which result belongs to which field. A laboratory report places results beside units and reference ranges, while a cognitive assessment uses grids to connect responses with scores. Position supplies part of the meaning. Tables, columns, and margin annotations can require different parsing methods on the same page, so recovering text without its layout can sever clinically important relationships.
The third difficulty is clinical interpretation, including abbreviations, unit conventions, negation, and references between sections. Recognizing “no fever” is not the same as correctly recording the absence of fever. Text alone does not resolve every field. Multi-site trials add variation in documentation styles and languages, so the same event may appear in incompatible forms even when character recognition and layout recovery succeed.
How the extraction pipeline is built — OCR, layout analysis, and AI interpretation as sequential stages

The pipeline begins by improving the image that the OCR engine will read. Deskewing, denoising, and contrast normalization precede character recognition because defects in the scan affect the text recovered from it. Printed text and handwriting need different treatment. Modern OCR engines combine deep neural networks with classical methods, but they still need tuning for the handwritten documents they read because success on clean print does not ensure success on handwriting.
Layout analysis then establishes the relationships among the recovered text elements. It identifies tables, columns, section headers, and spatial associations before clinical field mapping begins. This stage preserves the page’s structure. Banting Health AI’s protocol-extraction research calls for specialized vision-based methods for Schedule of Events tables, where spatial relationships shape both what the tables mean and how they look.
The interpretation stage consumes that layout-structured text and maps its clinical content to target fields. Large language models and NLP models use domain knowledge, and domain-specific fine-tuning and prompt engineering can help them do better than general-purpose models that have had no preparation for the task. Retrieval-Augmented Generation supplies relevant document chunks instead of passing an entire document into a model’s limited context window. Retrieval therefore shapes what the model can interpret. The same research found higher extraction accuracy from an optimized clinical-trial-specific RAG system than from standalone LLMs against expert-supported reference annotations.
Post-extraction rules then test the proposed fields for valid ranges, cross-field consistency, and required-field completeness. These checks catch errors left by the interpretation stage, so the pipeline is a hybrid that uses rules as well as a neural system. Rules do not replace clinical judgment. At this layer, mapping into FHIR, OMOP, or other clinical data standards-compatible structures also prepares the output for downstream EDC and CTMS integration.
What accuracy looks like in practice, and where the pipeline breaks down
Extraction performance depends on the document and the field being extracted. A study that used paper laboratory reports from Peking University First Hospital had an overall F1 score of 0.86 for extracting test names, results, units, and reference ranges. That result reflects the extraction task as a whole. Structured medical forms still leave room for error. Their regular appearance does not remove the need to assess the complete pipeline.
Other findings show that useful performance is achievable under both constrained and heterogeneous conditions. An ICU study combining AI-OCR with rules found high accuracy and completeness, with substantially less data-entry time, on scanned charts and device-display photographs. An LLM extraction study also reported accurate extraction of a wide range of clinical variables across 353 sites. Site diversity does not automatically defeat extraction. Neither finding, however, establishes equivalent reliability for every type of clinical variable.
Continuous numeric fields remain a clear weakness. Current LLMs extracting from clinical PDFs show high correctness for binary outcomes but poor correctness for continuous values, including laboratory results, dosing amounts, and time-to-event measures. That is a serious limitation for trial use because these fields can underpin primary endpoints and safety reporting. Layout analysis, domain-specific models, and validation rules can narrow the gap, but they do not eliminate it. Handwriting adds further variability, making unreviewed extraction an inadequate basis for regulated trial records.

Why human review and source traceability are not optional add-ons but structural requirements
Poor correctness on continuous values is an argument against autonomous transcription while leaving a role for AI in preparing data for review. The appropriate architecture separates proposing a value from confirming it. Human review belongs inside the pipeline itself. EviStreams frames human-in-the-loop extraction as a systematic design for systematic reviews, and the same division of labor applies here, with AI preparing an extraction and a reviewer checking it against the source.
That review becomes practical when each proposed value links to its precise location in the original scan. The location may be a page, a table cell, or a handwritten line. Source traceability preserves the hierarchy between the original record and its transcription, while query management and edit trails preserve what happened when the proposed value required clarification or correction.
A pre-populated draft changes the reviewer’s task from generating an extraction to assessing one. The human still owns the confirmation step. Keeping a record of that confirmation, the source link, and later edits makes review auditable and ties the quality of extraction to the regulatory requirements for electronic clinical records.
The regulatory framework governing AI-extracted clinical data, and where it currently has gaps
21 CFR Part 11 and ICH GCP establish controls for computerized systems used to create or maintain applicable clinical records. These include secure, computer-generated, timestamped audit trails and access only for people who are authorized to use the system. Electronic signatures require controls for uniqueness, certification, and linkage to records. An extraction workflow must preserve attributable actions across the process that produces and changes the record.
As of late 2025, there was no regulatory framework specifically for AI-assisted programming or extraction in clinical contexts, so teams had to follow existing requirements without a dedicated AI-extraction standard. The gap is operationally significant. It does not remove existing obligations, and a model’s accuracy result alone does not explain how the full system has been validated.
The practical response is to document the validation approach explicitly, including requirements tracing and human review steps. Each software requirement should link to test evidence, while the audit trail should record extraction events, human confirmations, queries, edits, and the final result. Source storage needs equivalent protection and linkage. Tamper-evident, access-controlled scans that link to the eCRF fields drawn from them give teams the record structure they need to defend the process under existing frameworks.
How AI extraction connects to remote monitoring and source document verification
The same source link used for extraction review also enables remote source document verification. When the scanned document and its derived eCRF data sit within the same platform, a monitor can compare the value with its source without traveling to the site. Archiving PDFs alone is not enough. Centralized monitoring also needs structured data to compare sites, so extraction and monitoring must work together when handling documents.
An integrated workflow can automatically flag discrepancies between extracted values and eCRF entries. AI-assisted CRA tools can also draft queries and flag data issues, helping people spend their time on exceptions that need attention. This changes the allocation of monitoring time. Such workflows can reduce per-CRA effort and support fewer site visits without reducing oversight quality, provided the monitor retains access to the evidence behind each comparison.
Adoption is not simply a technical question, however. Limited tooling, scarce open-source software and detailed operational guidance, and concerns about regulatory acceptance have all constrained centralized monitoring. Source-beside-data design addresses a concrete part of that problem. The monitor needs the eCRF value and its source region in a single interface, so this relationship must be planned at platform level before extraction.
What this pipeline means for lean clinical teams and academic investigators
For lean sponsors, CROs, and academic investigators, the work of handling documents by hand can limit which studies they can run. To start a study, teams must translate protocol endpoints, eligibility criteria, and the Schedule of Events into a database structure they can use. That translation consumes scarce clinical operations time. Automated protocol extraction can reduce this manual effort, extending the same interpretation architecture used for source documents to the study definition that governs their capture.
Protocol amendments also take up those teams’ time. A large majority of trials require at least one amendment, and an amendment that requires a legacy EDC database rebuild can add weeks and cost. Rework compounds the original setup burden. AI-assisted protocol extraction that propagates changes into the EDC build, Schedule of Events, and eCRF structure can reduce the repeated manual translation required during the study.
The staffing implication is supported by evidence from coordinator workflows, although the scope of that evidence is important. The Banting study found that AI-assisted tasks in simulated CRC extraction workflows were completed significantly faster and rated as less cognitively demanding than manual extraction. These benchmarks were limited to protocol tasks. They still support the view that preparing structured drafts can free up coordinators’ time, so the same team can do more work while keeping expert review.
What to look for in a platform that supports AI extraction end to end
For teams choosing or building a system, the evaluation should follow the complete record pathway, including any AI feature. A standalone OCR tool, a separate field-mapping model, and a separate EDC can create handoff gaps where source links break and audit trails fragment. Integration must preserve the relationships between records. The platform should link the scan, proposed value, human review action, and eCRF field within a single audit trail, while presenting source and data together for remote verification.
Validation and access controls should be built into the platform from the start for use across sponsors. Requirements-traced validation, role-based access, timestamped extraction and review events, and electronic signature support all belong in that assessment. Model updates deserve explicit scrutiny as well. Teams should ask vendors how extraction steps appear in the validation package and what happens to the audit trail when the AI model changes.
Operational fit also depends on whether the system can store and read a protocol and draft a study build. Amendment handling should carry changes through to the eCRF structure without database downtime, while extraction should show proposed values for a human to confirm before they are written into the database. Exception handling must preserve accountable human oversight. AI flags can draw attention to values that need review, but teams must not save time by treating uncertain output as established source data.
An AI-first EDC designed around this architecture connects protocol interpretation, study build, source extraction, and discrepancy review. Teams should distinguish native capabilities from disconnected additions because the continuity of evidence is as important as the speed of any individual step. The practical benefit is greater study capacity. With the pipeline and its controls built together, lean teams can run studies that would otherwise demand significantly more staff or time while retaining the review, traceability, and record controls required in a regulated environment.
This article is sponsored by Harbor.
References
- Artificial Intelligence to Extract Structured Details from Supplied the finding that LLM extraction remained accurate across a wide range of clinical variables at 353 sites.
- AI-assisted Protocol Information Extraction For Improved Accuracy and Efficiency in Clinical Trial Workflows Provided the protocol-extraction findings: RAG outperforming standalone LLMs, vision methods for Schedule of Events tables, and faster, less demanding coordinator tasks.
- EviStreams: Human-in-the-Loop AI Data Extraction for Systematic Reviews in Medicine Supported the human-in-the-loop design in which AI prepares an extraction and a reviewer checks it against the source.
- A Visual Information Extraction System Using Multimodal Large Language Models for Scanned Cognitive and Behavioral Assessments Informed the discussion of scanned cognitive assessments with scoring grids and handwritten responses, and the need to preserve layout.
- AI-assisted protocol information extraction for improved accuracy and efficiency in clinical trial workflows Same Banting protocol-extraction study as the PDF version, supporting the RAG accuracy and coordinator time findings.
- Automation in Clinical Trial Statistical Programming: A Structured Review of TLF Generation, Validation Frameworks, and AI/ML Integration (2020–2025) Supported the statement that, as of late 2025, no regulatory framework specifically covered AI-assisted programming or extraction in clinical contexts.
How to cite
The EDC Field Guide Editors. Extracting Data From Scanned Source Documents. The EDC Field Guide. December 2, 2026. edcfieldguide.com/posts/extracting-data-from-scanned-source-documents
© 2026 The EDC Field Guide