Skip to content

Dataset

Clinical trial documentation datasets for AI training

A clinical trial dataset for AI training is the working record of a finished clinical study, completed or stopped early: the protocol and its amendments, case report forms and their data, data-management queries and resolutions, monitoring visit reports, deviation logs, the statistical analysis plan and the study report. SourceX sources these by whole study, to a buyer's specification, from established sponsors, contract research organizations, research sites and site networks that have the right to release them. Participant-level data is de-identified before delivery and each dataset is licensed for an agreed permitted use; confirm the de-identification method and jurisdiction with counsel.

Dataset manifest

Sourced to your spec
What it is
A finished study's documents and data-cleaning trail, kept together and tied to protocol versions
Typical systems
Medidata Rave, Veeva Vault EDC and eTMF, Oracle InForm, REDCap, OpenClinica, trial management systems
Typical history
Varies by holder; specify phase, therapeutic area, design, participants, sites and study status
Modality
PDF and Word documents, item-level CRF data, queries and audit trails as structured events
Delivery formats
Documents with extracted text; CRF data and queries as ODM-XML, CSV or SAS transport files; JSONL manifest
Preparation
Participant-level data de-identified before delivery; site, staff and sponsor details removed or replaced
Licensing
Scoped per study; permitted use agreed per license, within consent scope and each owner's rights
Availability
Sourced to your spec by whole study; supply is not guaranteed
Office documents and PDFsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
study_keystringPseudonymous ID for one study, the unit every document, form and query belongs to.
designobjectPhase, therapeutic area, randomization, blinding, arms, enrollment, and whether the study completed or was terminated and why.
protocol_versionsarrayEach protocol version and amendment with its summary of changes, stated reason and when each site adopted it.
documentsarrayEvery delivered document with its trial master file artifact type, level and protocol version.
crf_definitionsarrayForm and item definitions per CRF version: item names, data types, code lists, units and programmed edit checks.
crf_dataarrayItem-level values keyed by participant, visit, form and item.
queriesarrayEach query with its origin (programmed check or manual, and the raising role), the item questioned, text, site response, status history and the audit entry it led to.
auditarrayOne entry per data change: the old value, new value, reason, role and relative time, with the ID of the query that prompted it.
monitoring_reportsarraySite initiation, interim and close-out visit reports with findings, action items and follow-up.
deviationsarrayProtocol deviations with category, importance, corrective action and the protocol version in force.
coded_termsarrayVerbatim adverse event and medication terms with the dictionary used and, where its license allows, the coded term.
analysis_planobjectStatistical analysis plan versions and their changes from the protocol's planned analysis.
study_reportobjectClinical study report sections or, for a stopped study, the synopsis or termination summary.
release_basisobjectWho released each document class, the consent wording on secondary use, and how participant data was anonymized.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "study_key": "st_e41b07",
  "design": { "phase": "2", "area": "rheumatology", "randomized": true, "blinding": "double_blind",
              "planned_enrollment": 240, "actual_enrollment": 163,
              "status": "terminated", "reason": "futility_at_interim" },
  "protocol_versions": [
    { "version": "1.0" },
    { "version": "2.0", "amendment": 1, "reason": "slow_enrollment",
      "summary_of_changes": "Lowered minimum disease activity score for eligibility; removed week 6 visit" }
  ],
  "documents": [
    { "doc_id": "d_0031", "artifact": "monitoring_visit_report", "level": "site", "protocol_version": "2.0" }
  ],
  "crf_definitions": [
    { "crf_version": 3, "form": "AE", "item": "AESTDAT", "type": "date",
      "edit_checks": ["AESTDAT on or after informed consent date"] }
  ],
  "queries": [
    { "query_id": "q_118204", "origin": "manual", "raised_by": "data_manager",
      "subject": "subj_0412", "visit": "week_4", "form": "AE", "item": "AESTDAT",
      "text": "AE start date is before the first dose date on the Exposure form. Please verify against source.",
      "response": "Checked source. Start date was entered with the wrong month. Corrected.",
      "status_history": ["open", "answered", "closed"],
      "audit_id": "au_90417" },
    { "query_id": "q_118377", "origin": "programmed_check",
      "subject": "subj_0398", "visit": "week_8", "form": "LB", "item": "ALT",
      "text": "ALT is above the protocol alert threshold. Please confirm.",
      "response": "Value confirmed per lab report. AE recorded.",
      "status_history": ["open", "answered", "closed"], "audit_id": null }
  ],
  "audit": [
    { "audit_id": "au_90417", "query_id": "q_118204", "item": "AESTDAT", "role": "site_coordinator",
      "old": "study_day_-27", "new": "study_day_4", "reason": "transcription_error" }
  ],
  "deviations": [
    { "category": "visit_window", "importance": "minor", "protocol_version": "2.0", "subject": "subj_0412",
      "description": "Week 12 visit performed 6 days outside window",
      "corrective_action": "Site retrained on scheduling" }
  ],
  "coded_terms": [
    { "verbatim": "elevated liver enzymes", "dictionary": "MedDRA", "coded_term_delivered": false }
  ],
  "release_basis": { "holder": "sponsor", "consent_secondary_use": "future_research_deidentified",
                     "anonymization": { "subject_ids": "rekeyed", "dates": "study_day", "sites": "pooled_by_region" } }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Data review and query drafting

Anomalies paired with the query written and the site's resolution train agents to question case report form entries the way data managers do.

Protocol drafting and amendment risk

Protocol versions with amendment reasons show which eligibility criteria and visit schedules had to change once enrollment began.

Monitoring and deviation detection

Monitoring findings and deviation logs tied to sites and visits support models that flag where oversight is needed.

Study report drafting

Analysis plans and the report sections written from them are aligned examples for medical writing assistants.

Evaluation sets for trial operations

A held-out study with known query outcomes and deviations tests an agent on a full document set it has not seen.

Use-case guides: Document AI, enterprise search and RAG, Private evaluation sets, Enterprise and computer-use agents

What makes this data valuable

Whole-study sets

Every document class is present for each study, checked against the trial master file index.

Queries joined to audit trail

Each query links to the value before and after and the reason for change.

Manual queries identified

Origin and raising role are recorded, so judgment-based queries separate from programmed checks.

Protocol version on everything

Forms, deviations and documents each carry the protocol version in force.

Stopped and negative studies

Terminated studies are included with status and reason, not only completed successes.

Form definitions with edit checks

Item definitions, code lists and programmed checks arrive beside the data.

Provenance trail

Clinical trial dataset

This page covers clinical trial documentation and data queries.Illustrative

Query trails and amendment histories are not in registries or papers

A public registry entry gives a study's design, outcome measures and, for some studies, summary results. A journal article gives the analysis. Neither shows how the data got clean. In an electronic data capture system a questionable entry produces a query. Some fire from programmed edit checks, such as a visit date before the consent date or a lab value outside its range. Others are written by a data manager, a monitor comparing entries with source records, or a medical reviewer. The site answers, the value is corrected or confirmed, the audit trail records the old value, the new value and the reason, and the query closes.

Each query is a labeled instance of data review: the anomaly, the question, the answer and the outcome. Confirmations matter as much as corrections, because they mark odd values that were true. Programmed queries are formulaic and manual ones carry the judgment, so ask for the split by origin. Check the join too. A query export often holds the text and status but not the value before and after, which sits in the audit trail and must be exported with matching participant, visit, form and item keys. Site responses are free text that can name staff or restate dates, so they need anonymizing too.

Amendments are the other process record. Each carries a summary of changes and a rationale: eligibility widened after slow enrollment, a visit dropped, a safety assessment added. A registry may hold a final protocol and show that a registered field changed. The tracked-change versions, the stated reason, and the deviations and monitoring findings that preceded the change stay in the trial master file.

Source by whole study, including studies never published

Trial documents refer to each other through the protocol version. A case report form version follows an amendment. A query cites an item that exists only in that form version. A deviation is a departure from the protocol in force at that site on that day, and sites move to a new amendment on different dates as their ethics approvals arrive. A thousand unrelated protocols teach document format. One complete study teaches the process, so write the spec in studies: phase, therapeutic area, design, participants, sites and the document classes that must be present.

Completeness can be checked, because sponsors file under a trial master file index, commonly an industry reference model that names each expected artifact at trial, country and site level. Ask for the manifest against that index and expect the gaps to follow ownership. The sponsor holds the master file, the database and the study report. A contract research organization holds what it produced under its contract. A site holds its own file and the participants' source records, which are identifiable medical records and belong in no delivery.

Ask specifically for terminated and negative studies. A study stopped for futility, slow enrollment, safety or funding is rarely published, yet its documents are complete to the day it stopped and include the decision to stop. Such studies offset the bias of the published record and bring their own checks: the results are unpublished and confidential, the database may never have been locked so open queries remain, and blinded data may or may not have been unblinded.

What to check before licensing

  • Read each informed consent form version for what it says about secondary use, and ask how participants who withdrew consent were handled in the data.
  • Ask the holder to state for each document class who owns it (sponsor, CRO or site), who approved its release and which contract terms it relies on.
  • Ask how participant-level data was anonymized: IDs, dates, sites, free-text fields, narratives and rare events. Confirm the method and jurisdiction with counsel.
  • Confirm whether the results are unpublished, what confidentiality applies to them, and who owns the investigational product today.
  • Check each study against its trial master file index and list the missing artifacts, protocol versions and CRF versions before agreeing scope.
  • On a sample, join queries to the audit trail and count how many show the value before and after, and how many were raised manually.
  • Ask whether coded adverse event and medication terms can be delivered under the dictionary licenses, and whether treatment assignments are included, blinded or removed.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Are data queries and audit trails included, or only final datasets?

They are included when the holder exported them, so specify them. A locked database and its analysis datasets are the easiest items to obtain and contain none of the cleaning history. Queries and item-level audit trails live in the EDC system and need their own export, ideally before the study is decommissioned from the vendor's platform. Ask whether both exist and whether they share keys.

Can terminated or unpublished studies be sourced?

Yes, where the owner agrees, though supply is not guaranteed. Studies stopped early or with negative results are often unpublished, and their documents show designs that did not work and how the decision to stop was made. Check who now owns the program, since assets are licensed, sold and returned, and what confidentiality applies to undisclosed results.

Does participant consent allow use for AI training?

It depends on the wording of each consent form version. Some forms permit future research use of de-identified data, some limit use to the study or the condition studied, and older forms may say nothing. Ask for the consent templates per protocol version and country, and have counsel or an ethics adviser confirm that your intended use falls within scope.

Who owns trial documents: the sponsor, the CRO or the site?

Usually the sponsor owns the protocol, the database and the study report, but check per document. A contract research organization writes monitoring reports, data management plans and query listings under a contract that normally assigns them to the sponsor. Sites own their source records and their own files. Investigator-initiated studies reverse some of this. Ask who owns each document class and who approved release.

How is participant-level data anonymized?

Participant IDs are usually re-keyed, dates converted to study days, sites pooled or generalized, and free text such as adverse event descriptions, narratives and query responses reviewed for names and dates. Small sites, rare events and rare diseases raise risk beyond the obvious fields. Records are de-identified before delivery. Ask which method was used and how it was tested, and confirm the method and jurisdiction with counsel.

What formats do trial data and documents arrive in?

Documents arrive as PDF or Word files with extracted text. CRF data, queries and audit trails are exported from the EDC system as ODM-XML or delimited files, and submission-style datasets usually come as SAS transport files with a Define-XML description. Adverse events and medications are usually coded with dictionaries that carry their own license terms, so ask whether coded terms can be delivered or only the verbatim text.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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. Own data like this? See how companies license it to AI developers.

See if your company qualifies