
The Challenge
Everyone agrees trials should reflect the real world. Far fewer can check whether they actually do. Counting who joined a trial is easy; knowing exactly who should have been in the pool is not.
- The real population is hard to pin down. Diagnoses, comorbidities and history are spread across coded fields and free-text letters and notes, so structured data alone gives an incomplete picture.
- Manual review doesn’t scale. Profiling tens of thousands of patients by hand is out of reach for a trial team, let alone a whole centre.
- Bias hides without a benchmark. With no baseline to compare against, under-recruitment of women, minority groups or deprived communities goes unnoticed.
- The stakes are real. Unrepresentative trials can produce treatments that work less well in practice and deepen existing health disparities.
The team looked back at 17 coronary artery disease trials run at King’s between 2012 and 2023, which together recruited 722 patients. The question was simple: did those participants look like the thousands of heart patients the hospital actually treats?
The Solution
King’s already runs a well-validated CogStack pipeline over its electronic health record, within an approved research framework. For this study, it became a mirror.
CogStack gathered the record, and CogStack Language AI read the free text to identify patients with coronary artery disease and their key conditions, such as diabetes, hypertension, atrial fibrillation, and kidney and liver disease. These were combined with structured details like age, sex, ethnicity and deprivation, and the resulting real-world population was compared side by side with trial participants.
- A complete real-world cohort. Structured and free-text data together identified more than 20,000 patients with coronary artery disease.
- Rich patient profiles. Demographics, deprivation, comorbidities and hospital use for every patient, not just what happened to be coded.
- Not tied to one specialty. Nothing in the approach is specific to cardiology, so the same method can be applied to any condition.
Results & Impact
On average, trial participants and the wider patient population were the same age, 65, but the similarities largely ended there. The trials recruited fewer women, fewer patients from minority ethnic groups and fewer people from deprived areas:
- Women: 36% of patients with coronary artery disease, but only 21% of trial participants
- Black and Asian patients: 20% of the population under care, but 12% of trial participants
- People from the most deprived areas: 25% of the population under care, but 14% of trial participants
Trial participants were also noticeably healthier than the patients the hospital treats:
- Fewer comorbidities: most trial participants had no other recorded health conditions, while most patients had at least one.
- Fewer long-term conditions: only 34% of trial participants had high blood pressure, compared with 46% of patients, and 14% had diabetes, compared with 22%. Kidney disease showed the biggest gap: 7% of trial participants against 14% of patients, half the rate.
- Less time in hospital: 2.4 admissions on average, against 3.6
Put simply, the trials were testing treatments on a healthier, less diverse group than the patients who would go on to use them.
As a single-centre, retrospective study, the findings are a starting point rather than a verdict. The team plans to repeat the analysis at other cardiology centres, and sees the method becoming an EHR-based tool that reports how representative a trial is and, in future, highlights suitable patients and alerts recruiters when a trial cohort drifts from the real-world population.
Why CogStack AI
Trial representativeness is hard to measure because the real patient population is hidden across coded fields and free-text notes. Without seeing that population, recruitment gaps go unnoticed. CogStack reads both, so it reveals the full picture at a scale no team could reach by hand, using data a hospital already holds.
At King’s, where CogStack was already embedded in the hospital’s research infrastructure, the team could run the analysis without new systems or fresh data collection. The method isn’t specific to cardiology, so any Trust or trial sponsor can use it to check whether their trials reflect their patients.
Read the full study: Breeze J, Wu J, Carmichael J, Pareek N, Dobson RJ, Shah AM, O'Gallagher K. Artificial Intelligence Methods Applied to Electronic Health Record Data for Health Equity in Clinical Trials. JACC Adv. 2025 Nov;4(11 Pt 2):102201. doi: 10.1016/j.jacadv.2025.102201. Epub 2025 Oct 8. PMID: 41065617; PMCID: PMC12717601.
