Generative AI-enabled clinical decision support system in primary care: a pragmatic, cluster-randomized trial
Rigorous evidence on the performance of large language models (LLMs) in real-world, low-resource clinical settings remains limited. Here we conducted a pragmatic, cluster-randomized trial in 16 primary care facilities in Kenya. Clinical officers were randomized to use the electronic medical record with or without LLM assistance. The primary outcome was an expert-adjudicated composite of treatment failure events experienced within 14 days of enrollment. Between 22 April and 16 July 2025, 9,691 patients were enrolled, overseen by 103 clinical officers (52 in the LLM-assisted arm and 51 in the control arm). Treatment failure occurred in 102/4,693 patients (2.2%) in the intervention arm and 94/4,654 (2.0%) in the control arm (adjusted odds ratio 0.77, 95% confidence interval 0.55 to 1.08, P = 0.13). The primary outcome did not differ significantly between groups. No serious adverse events were judged related to the intervention, and independent review of the adverse events did not identify a safety signal. In this trial, LLM assistance was safe but did not reduce treatment failure within 14 days and any benefit, if present, is probably modest.Pan-African Clinical Trials Registry: 202502499779176.
Authors
- Conrad Wanyama (ORCID: https://orcid.org/0000-0002-3553-6679)
- Sarah Kiptinness
- Najib Adan
- Xiaoxuan Liu (ORCID: https://orcid.org/0000-0002-1286-0038)
- Paul Mwaniki (ORCID: https://orcid.org/0000-0003-0359-8426)
- Lynda Isaaka (ORCID: https://orcid.org/0000-0003-1589-4134)
- Vaishnavi Menon (ORCID: https://orcid.org/0000-0001-5748-4956)
- Mira Emmanuel-Fabula (ORCID: https://orcid.org/0000-0003-3117-767X)
- Alastair Keith Denniston (ORCID: https://orcid.org/0000-0001-7849-0087)
- Jaspret Gill
- Bilal Akhter Mateen (ORCID: https://orcid.org/0000-0003-4423-6472)
- Lucinda Archer (ORCID: https://orcid.org/0000-0003-2504-2613)
- Ambrose Agweyu (ORCID: https://orcid.org/0000-0001-8760-1279)
- Richard D. Riley
- Robert Korom (ORCID: https://orcid.org/0000-0003-1567-4991)
Institutions
- Birmingham City University (GB)
- Program for Appropriate Technology in Health (US)
- Kenya Medical Research Institute (KE)
- London School of Hygiene & Tropical Medicine (GB)
- Program for Appropriate Technology in Health (IN)
- Kenya Paediatric Research Consortium (KE)
- Penda Health (KE)
- NIHR Birmingham Biomedical Research Centre (GB)
- University of Birmingham (GB)
Publication Details
- Journal
- Nature Medicine
- Published
- 2026-06-26
- DOI
- https://doi.org/10.1038/s41591-026-04503-6
- Primary Topic
- Artificial Intelligence in Healthcare and Education
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Bill and Melinda Gates Foundation
- University Hospitals Birmingham NHS Foundation Trust
- National Institute for Health and Care Research
- Department of Health and Social Care
- Birmingham Biomedical Research Centre