RCT Evidence Schema
A normalized, versioned, auditable evidence graph for clinical trial data extraction.
14 Entity Data Model
This schema defines a normalized data model for RCT evidence extraction. Each entity has explicit relationships and every field carries provenance metadata.
Core Entities
- 1 Study
- 2 Publication
- 3 Estimand
- 4 Arm
- 5 Outcome
- 6 Endpoint
- 7 Analysis Population
Result & Assessment Entities
- 8 Result Instance
- 9 Comparison
- 10 Appraisal Evidence
- 11 Appraisal Judgment
- 12 Evidence Context
- 13 Forensic Flags
- 14 Lifecycle
- 15 Causal Audit
Provenance Types
Relationships
Identity
Why capture this?
Links all study components. Essential for cross-referencing.
Unique identifier (auto-generated)
Why capture this?
Enables protocol-to-publication comparison. Detects outcome switching.
ClinicalTrials.gov, ISRCTN, etc.
e.g., NCT01234567
Why capture this?
Common in literature. Helps readers recognize landmark trials.
Trial acronym if any
e.g., JUPITER
Why capture this?
Full title often contains PICO elements not in acronym.
Design
Why capture this?
Determines appropriate analysis methods and bias considerations.
parallel
Groups receive different treatments simultaneously. Most common RCT design.
crossover
Same participants receive both treatments in sequence. Each person serves as own control.
factorial
Tests multiple interventions simultaneously (e.g., 2Γ2 design). Efficient for interactions.
cluster
Randomizes groups (clinics, schools) not individuals. Requires ICC adjustment.
adaptive
Design changes based on interim results. Sample size, allocation, or arms may adapt.
platform
Master protocol testing multiple treatments. Arms can be added/dropped over time.
Why capture this?
Phase affects generalizability. Phase III has different populations than Phase IV.
I
First-in-human. Safety, dosing, pharmacokinetics. Usually 20-100 healthy volunteers.
II
Efficacy signal. Dose-response. 100-300 patients with condition.
III
Confirmatory efficacy. 1000-3000+ patients. Basis for regulatory approval.
IV
Post-marketing. Real-world effectiveness, rare adverse events, new populations.
N/A
Not applicable (e.g., behavioral, surgical, or non-drug interventions).
Why capture this?
Critical for RoB assessment. Performance and detection bias depend on masking.
open-label
No blinding. Everyone knows assignment. High bias risk for subjective outcomes.
single-blind
Usually participants blinded, investigators not. Reduces placebo effect.
double-blind
Participants and investigators blinded. Gold standard for bias reduction.
triple-blind
Participants, investigators, and outcome assessors/analysts blinded.
Why capture this?
Fundamental to causal inference validity.
randomized
Random assignment to groups. Balances known and unknown confounders.
non-randomized
Assignment by other mechanism (preference, availability). Confounding likely.
Sites & Geography
Why capture this?
Multicenter reduces site-specific effects but adds coordination challenges.
single-center
One site. May have site-specific effects. Limited generalizability.
multicenter
Multiple sites. Better generalizability but coordination complexity.
Why capture this?
Affects generalizability and heterogeneity assessment.
Why capture this?
Geographic context affects applicability to specific populations.
e.g., ['USA', 'Canada', 'UK']
Timeline
Why capture this?
Historical context matters. Pre-COVID trials may not apply post-COVID.
Why capture this?
Slow recruitment may indicate protocol issues or population mismatch.
Why capture this?
Time from completion to publication can indicate reporting issues.
Why capture this?
Duration affects power for time-to-event outcomes and adverse event detection.
Funding & Oversight
Why capture this?
Industry funding associated with positive results bias. Critical for COI assessment.
industry
Pharmaceutical, device, or other commercial company funding.
public
Government grants (NIH, MRC, etc.) or nonprofit foundations.
mixed
Both industry and public/nonprofit funding.
none
No external funding reported (investigator-initiated).
undisclosed
Funding source not stated. Red flag for transparency.
Why capture this?
Specific sponsors have track records. Enables pattern detection.
Why capture this?
'Sponsor designed and analyzed' vs 'independent statistician' matters for bias.
Involvement in design, conduct, analysis
Why capture this?
Missing ethics approval is a red flag for study integrity.
Why capture this?
Some ethics bodies are more rigorous. Enables pattern detection.
Why capture this?
DSMB oversight reduces risk of inappropriate early stopping.
Data Safety Monitoring Board
Protocol
Why capture this?
Protocol enables outcome switching detection. Published protocols are more trustworthy.
Why capture this?
Multiple versions may indicate protocol amendments worth examining.
Why capture this?
Pre-specified SAP prevents analytical flexibility abuse.
Statistical Analysis Plan
Relationships
Why Estimand matters: Without explicit estimand, we extract numbers but miss what is actually being estimated. The same trial can target different estimands (ITT vs per-protocol, treatment policy vs hypothetical).
ICH E9 R1 Components
Why capture this?
Links estimand to comparisons. A study can have multiple estimands.
Why capture this?
The causal effect is specific to a population. Different from study eligibility criteria.
Target population for the causal question
e.g., Adults β₯40 with LDL β₯130 mg/dL and no prior CVD
Why capture this?
Full specification including dose, route, duration. Not just drug name.
Treatment condition
e.g., Atorvastatin 40mg daily for 24 months
Why capture this?
Placebo vs active comparator matters for interpretation. Usual care is context-dependent.
Comparator condition
e.g., Matching placebo daily for 24 months
Why capture this?
Links to outcome definition. Same outcome can appear in multiple estimands.
Foreign key to Outcome
Why capture this?
Short-term benefit may not equal long-term benefit. Essential for interpretation.
e.g., 24 weeks, 5 years, median follow-up 4.2 years
Why capture this?
RR vs OR vs HR are not interchangeable. Choice affects interpretation.
mean_difference
Difference in means. For continuous outcomes. Units matter.
risk_ratio
Ratio of risks (RR). P(event|treatment) / P(event|control). Multiplicative.
odds_ratio
Ratio of odds (OR). Approximates RR when events rare. Common in logistic regression.
hazard_ratio
Ratio of instantaneous event rates (HR). For time-to-event outcomes.
risk_difference
Absolute risk reduction (ARR). P(event|control) - P(event|treatment).
rate_ratio
Ratio of incidence rates (IRR). Events per person-time.
Intercurrent Event Handling
Why capture this?
Treatment discontinuation, rescue medication, death β how these are handled defines what you're estimating.
How intercurrent events are handled
<intercurrent_event>
<event>treatment_discontinuation</event>
<strategy>treatment_policy</strategy>
<description>Analyze all participants as randomized regardless of adherence</description>
</intercurrent_event>
<intercurrent_event>
<event>rescue_medication</event>
<strategy>composite</strategy>
<description>Rescue medication use counted as treatment failure</description>
</intercurrent_event>
<!-- Strategy options: treatment_policy | hypothetical | composite | principal_stratum | while_on_treatment -->Entity Relationships
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β STUDY β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββββββββββββββΌβββββββββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β PUBLICATION β β ARM β β OUTCOME β
βββββββββββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ
β β
β βββββββββ΄βββββββ
β βΌ β
β βββββββββββββββ β
β β ENDPOINT β β
β β (outcome Γ β β
β β timepoint) β β
β ββββββββ¬βββββββ β
β β β
ββββββββ¬ββββββββ β
β β
βΌ β
ββββββββββββββββββββββββββββ β
β ANALYSIS POPULATION β β
ββββββββββββββ¬ββββββββββββββ β
β β
ββββββββββββββββββββββββΌβββββββββββββββββββββββ β
β β β β
βΌ βΌ βΌ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β RESULT INSTANCE β β
β (arm Γ endpoint Γ population = composite key) β β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββ β
β β
βΌ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β COMPARISON β β
β (resultβ vs resultβ, bound to estimand) ββββ
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββ
β βββββββββββββββ
β β ESTIMAND β
ββββββββββββββββββΌβββββββββββββββββ¬ββββββββββ β (ICH E9 R1) β
β β β β βββββββββββββββ
βΌ βΌ βΌ βΌ β²
ββββββββββββββ ββββββββββββββ ββββββββββββββ βββββββββββββββββββββ
β APPRAISAL β β APPRAISAL β β EVIDENCE β β CAUSAL AUDIT β
β EVIDENCE β β JUDGMENT β β CONTEXT β β (bridges RCTβDAG) β
βββββββ¬βββββββ βββββββ¬βββββββ ββββββββββββββ β β’ identification β
β β β β’ adjustment set β
ββββββββββ¬ββββββββ β β’ threats & flags β
β βββββββββββββββββββββ
ββββββββββββββββΌβββββββββββββββ
β β
βΌ βΌ
ββββββββββββββββββ βββββββββββββββββββ
β FORENSIC FLAGS β β LIFECYCLE β
β (optional, β β (field-level, β
β high-variance)β β actor+conf+ver)β
ββββββββββββββββββ βββββββββββββββββββ