Published June 26, 2026 | Journal article | Version v1 | https://doi.org/10.1038/s41591-026-04503-6

Generative AI-enabled clinical decision support system in primary care: a pragmatic, cluster-randomized trial

Description

Abstract 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.

Additional details

Funding

Dates

Issued
June 26, 2026

References

  1. Khatri, R., Endalamaw, A., Erku, D., Wolka, E., Nigatu, F., Zewdie, A., & Assefa, Y. (2023). Continuity and care coordination of primary health care: a scoping review. BMC Health Services Research, 23(1), Article 750. https://doi.org/10.1186/s12913-023-09718-8
  2. Lilford, R. J., Daniels, B., McPake, B., Bhutta, Z. A., Mash, R., Griffiths, F., Omigbodun, A., Pinto, E. P., Jain, R., Asiki, G., Webb, E., Scandrett, K., Chilton, P. J., Sartori, J., Chen, Y.-F., Waiswa, P., Ezeh, A., Kyobutungi, C., Leung, G. M., … Das, J. (2025). Supply-side and demand-side factors affecting allopathic primary care service delivery in low-income and middle-income country cities. The Lancet Global Health, 13(5), e942–e953. https://doi.org/10.1016/s2214-109x(24)00535-7
  3. Haakenstad, A., Irvine, C. M. S., Knight, M., Bintz, C., Aravkin, A. Y., Zheng, P., Gupta, V., Abrigo, M. R. M., Abushouk, A. I., Adebayo, O. M., Agarwal, G., Alahdab, F., Al-Aly, Z., Alam, K., Alanzi, T. M., Alcalde-Rabanal, J. E., Alipour, V., Alvis-Guzman, N., Amit, A. M. L., … Lozano, R. (2022). Measuring the availability of human resources for health and its relationship to universal health coverage for 204 countries and territories from 1990 to 2019: a systematic analysis for the Global Burden of Disease Study 2019. The Lancet, 399(10341), 2129–2154. https://doi.org/10.1016/s0140-6736(22)00532-3
  4. OECD. (2025). Health at a Glance 2025: OECD Indicators. In Health at a Glance. OECD Publishing. https://doi.org/10.1787/8f9e3f98-en
  5. Okoroafor, S. C., Kwesiga, B., Ogato, J., Gura, Z., Gondi, J., Jumba, N., Ogumbo, T., Monyoncho, M., Wamae, A., Wanyee, M., Angir, M., Almudhwahi, M. A., Evalyne, C., Nabyonga-Orem, J., Ahmat, A., Zurn, P., & Asamani, J. A. (2022). Investing in the health workforce in Kenya: trends in size, composition and distribution from a descriptive health labour market analysis. BMJ Global Health, 7(Suppl 1), e009748. https://doi.org/10.1136/bmjgh-2022-009748
  6. Vasan, A., Mabey, D. C., Chaudhri, S., Brown Epstein, H.-A. & Lawn, S. D. Support and performance improvement for primary health care workers in low- and middle-income countries: a scoping review of intervention design and methods. Health Policy Plan. 32, 437–452 (2016).
  7. Kruk, M. E., Gage, A. D., Joseph, N. T., Danaei, G., García-Saisó, S., & Salomon, J. A. (2018). Mortality due to low-quality health systems in the universal health coverage era: a systematic analysis of amenable deaths in 137 countries. The Lancet, 392(10160), 2203–2212. https://doi.org/10.1016/s0140-6736(18)31668-4
  8. Rowe, A. K., Labadie, G., Jackson, D., Vivas-Torrealba, C., & Simon, J. (2018). Improving health worker performance: an ongoing challenge for meeting the sustainable development goals. BMJ, k2813. https://doi.org/10.1136/bmj.k2813
  9. Kruk, M. E., Gage, A. D., Arsenault, C., Jordan, K., Leslie, H. H., Roder-DeWan, S., Adeyi, O., Barker, P., Daelmans, B., Doubova, S. V., English, M., García-Elorrio, E., Guanais, F., Gureje, O., Hirschhorn, L. R., Jiang, L., Kelley, E., Lemango, E. T., Liljestrand, J., … Pate, M. (2018). High-quality health systems in the Sustainable Development Goals era: time for a revolution. The Lancet Global Health, 6(11), e1196–e1252. https://doi.org/10.1016/s2214-109x(18)30386-3
  10. Goh, E., Gallo, R. J., Strong, E., Weng, Y., Kerman, H., Freed, J. A., Cool, J. A., Kanjee, Z., Lane, K. P., Parsons, A. S., Ahuja, N., Horvitz, E., Yang, D., Milstein, A., Olson, A. P. J., Hom, J., Chen, J. H., & Rodman, A. (2025). GPT-4 assistance for improvement of physician performance on patient care tasks: a randomized controlled trial. Nature Medicine, 31(4), 1233–1238. https://doi.org/10.1038/s41591-024-03456-y
  11. Goh, E., Gallo, R., Hom, J., Strong, E., Weng, Y., Kerman, H., Cool, J. A., Kanjee, Z., Parsons, A. S., Ahuja, N., Horvitz, E., Yang, D., Milstein, A., Olson, A. P. J., Rodman, A., & Chen, J. H. (2024). Large Language Model Influence on Diagnostic Reasoning: A Randomized Clinical Trial. JAMA Network Open, 7(10), e2440969. https://doi.org/10.1001/jamanetworkopen.2024.40969
  12. Zhou, S., Xu, Z., Zhang, M., Xu, C., Guo, Y., Zhan, Z., Fang, Y., Ding, S., Wang, J., Xu, K., Xia, L., Yeung, J., Zha, D., Cai, D., Melton, G. B., Lin, M., & Zhang, R. (2025). Large language models for disease diagnosis: a scoping review. Npj Artificial Intelligence, 1(1), Article 9. https://doi.org/10.1038/s44387-025-00011-z
  13. Rutunda, S., Williams, G., Kabanda, K., Nkurunziza, F., Uwiduhaye, S., Rugegamanzi, E., Nshimiyimana, C., Menon, V., Emmanuel-Fabula, M., Denniston, A. K., Liu, X., Hezagira, E., & Mateen, B. A. (2026). Large language models for frontline healthcare support in low-resource settings. Nature Health, 1(2), 191–197. https://doi.org/10.1038/s44360-025-00038-1
  14. Mwaniki, P., Musau, W., Isaaka, L., Wanyama, C., Menon, V., Denniston, A., Liu, X., Emmanuel-Fabula, M., Williams, G., Mateen, B. A., & Agweyu, A. (2025). Benchmarking Large Language Models and Clinicians Using Locally Generated Primary Healthcare Vignettes in Kenya [Preprint]. In medRxiv. openRxiv. https://doi.org/10.1101/2025.10.25.25338798
  15. Olatunji, T., Omofoye, F., Aka, E. C., Itzikowitz, G., Macaulay, D., Adaramola, O. G., Adewale, B. A., Asuzu, C., Popoola, S., Kinara, W., Ayodele, E., Yinusa, I., Adekunle, O., Sanni, M., Okocha, C., Abdullahi, T., Owoduni, A., Nimo, C., Asiedu, M. N., … Weintraub, R. (2025). Probing the Surgical Competence of LLMs: A global health study leveraging AfriMedQA benchmarks [Preprint]. In medRxiv. openRxiv. https://doi.org/10.1101/2025.10.05.25337350
  16. Du, X., Zhou, Z., Wang, Y., Chuang, Y.-W., Li, Y., Yang, R., Zhang, W., Wang, X., Chen, X., Guan, H., Lian, J., Hong, P., Bates, D. W., & Zhou, L. (2026). Testing and evaluation of generative large language models in electronic health record applications: a systematic review. Journal of the American Medical Informatics Association, 33(3), 743–753. https://doi.org/10.1093/jamia/ocaf233
  17. Mateen, B. A., Menon, V., Agweyu, A., Korom, R., Omoluabi, E., McAfee, D., Shimelash, N., Rutunda, S., Rugege, C., Williams, G., Emmanuel-Fabula, M., Denniston, A. K., Liu, X., & Miles, M. (2025). Trials for LLM-supported clinical decisions in African primary healthcare. Nature Medicine, 31(9), 2833–2835. https://doi.org/10.1038/s41591-025-03815-3
  18. Tao, X., Zhou, S., Ding, K., Li, S., Li, Y., Wu, B., Huang, Q., Chen, W., Shen, M., Meng, E., Chen, X., Hu, H., Zhang, J., Zhou, J., Zou, L., Ma, L., & Han, S. (2026). An LLM chatbot to facilitate primary-to-specialist care transitions: a randomized controlled trial. Nature Medicine, 32(3), 934–942. https://doi.org/10.1038/s41591-025-04176-7
  19. Ong, J. C. L., Ning, Y., Yang, R., Bitterman, D. S., Liu, X., Tham, Y. C., Collins, G. S., Jiménez de Tavárez, M. M., Mateen, B. A., Amissah-Arthur, K. N., Sheng, B., Tan, I. B. H., Hong, C., Cheng, L. T.-E., Goldstein, B. A., Le, P. V., Liu, Y., Tan, H. K., Ong, M. E. H., … Liu, N. (2026). Large language models in global health. Nature Health, 1(1), 35–47. https://doi.org/10.1038/s44360-025-00024-7
  20. Hager, P., Jungmann, F., Holland, R., Bhagat, K., Hubrecht, I., Knauer, M., Vielhauer, J., Makowski, M., Braren, R., Kaissis, G., & Rueckert, D. (2024). Evaluation and mitigation of the limitations of large language models in clinical decision-making. Nature Medicine, 30(9), 2613–2622. https://doi.org/10.1038/s41591-024-03097-1
  21. Wahl, B., Cossy-Gantner, A., Germann, S., & Schwalbe, N. R. (2018). Artificial intelligence (AI) and global health: how can AI contribute to health in resource-poor settings?. BMJ Global Health, 3(4), e000798. https://doi.org/10.1136/bmjgh-2018-000798
  22. Asgari, E., Montaña-Brown, N., Dubois, M., Khalil, S., Balloch, J., Yeung, J. A., & Pimenta, D. (2025). A framework to assess clinical safety and hallucination rates of LLMs for medical text summarisation. Npj Digital Medicine, 8(1), Article 274. https://doi.org/10.1038/s41746-025-01670-7
  23. Shool, S., Adimi, S., Saboori Amleshi, R., Bitaraf, E., Golpira, R., & Tara, M. (2025). A systematic review of large language model (LLM) evaluations in clinical medicine. BMC Medical Informatics and Decision Making, 25(1), Article 117. https://doi.org/10.1186/s12911-025-02954-4
  24. Agweyu, A., Mwaniki, P., Musau, W., Korom, R., Isaaka, L., Wanyama, C., Kiptinness, S., Adan, N., Emmanuel-Fabula, M., & Mateen, B. A. (2026). Safety of a large language model-based clinical decision support system in African primary healthcare. Nature Health, 1(6), 607–618. https://doi.org/10.1038/s44360-026-00082-5
  25. Obong’o, C., Njenga, G., Otiangala, D., Jepleting, E., Wairimu, S., Emmanuel-Fabula, M., Kiptinness, S., Korom, R., Taliesin, B., & Mateen, B. A. (2026). Mixed-methods evaluation of clinician experiences and adoption patterns of an EHR-integrated generative AI-based clinical decision support uptake by clinicians in Kenya. BMJ Digital Health & AI, 2(1), e000207. https://doi.org/10.1136/bmjdhai-2025-000207

1–25 of 43

Citations

  1. Kouranloo, K., Dey, M., & Yazdany, J. (2026). Generative Artificial Intelligence in Clinical Practice: How Should Rheumatologists Evaluate and Monitor Emerging Tools?. Arthritis Care & Research, Article acr.80195. https://doi.org/10.1002/acr.80195
  2. Shi, Z., Zhang, Y., Wang, Z., Shi, B., & Xing, C. (2026). AI-HITS: A Closed-Loop AI-Enabled Hospital Triage and Resource-Orchestration System. In Lecture Notes in Computer Science (pp. 16–27). Springer Nature Singapore. https://doi.org/10.1007/978-981-92-7708-7_2
  3. https://doi.org/10.1007/s10916-026-02495-x
  4. Yuji, K., & Yuji, W. (2026). The outcome clock: Why artificial intelligence cannot outpace patients’ outcomes. The American Journal of Medicine. https://doi.org/10.1016/j.amjmed.2026.09.046
  5. Ashar, P., Abbasi, M., Illamperuma, I., Nguyen, D., & Lowder, E. (2026). AI prescribing: clinical oversight must not be removed without robust evidence. BMJ, 395, e101445. https://doi.org/10.1136/bmj-2026-101445
  6. https://doi.org/10.1136/bmjqs-2026-020713
  7. Saito, H., & Ohira, T. (2026). From AI performance to role substitution: what evidence should healthcare leaders require?. BMJ Leader, leader-2026-001754. https://doi.org/10.1136/leader-2026-001754
  8. Cheng, H., & Schoen, S. (2026). AI Workshop for Primary Care Providers: Applying Large Language Models to Reduce Inappropriate Polypharmacy in Older Adults. Journal of Primary Care & Community Health, 17, Article 21501319261488481. https://doi.org/10.1177/21501319261488481
  9. Markatou, M., Mukhopadhyay, R., Good, J., Tan, Y., Dharia, A., Brown, L. S., & Talal, A. H. (2026). From Innovation to Impact: The CREATE Framework as a Blueprint for Large Language Model Adoption in Opioid Treatment Programs. Journal of Medical Internet Research, 28, Article v28i18e97131. https://doi.org/10.2196/97131
  10. https://doi.org/10.2196/preprints.118236
  11. https://doi.org/10.3389/fpubh.2026.1992292
  12. https://doi.org/10.3389/frai.2026.1881820
  13. Sebin, B., & Karaman Sebin, I. (2026). From model failure to system harm: operationalizing a sociotechnical pathway for healthcare AI safety. Frontiers in Artificial Intelligence, 9. https://doi.org/10.3389/frai.2026.1956533
  14. Cudco, G., Álvarez-Jiménez, M., Pinto, H., Sanlucas-Perez, A. C., & Flores-Ayala, F. (2026). An Adaptive Human-in-the-Loop Generative AI Framework for Professional-Supported Pronunciation Exercise Design: Ex Ante Evaluation in Down Syndrome. Big Data and Cognitive Computing, 10(11), 387. https://doi.org/10.3390/bdcc10110387
  15. Srada, Y. B., Bawazir, B., Mohammad Aghi, S., Elsayed, M., Yousif, H., Ibrahim, M., Eltohamy, K. A., & Sim, M. (2026). AI-Assisted Clinical Decision Support Versus Standard Teleconsultation in Adult Medicine: A Systematic Review of Diagnostic Accuracy, Referral and Testing Decisions, and Clinician Confidence. Clinics and Practice, 16(10), 181. https://doi.org/10.3390/clinpract16100181
  16. https://doi.org/10.3390/vaccines14121018
  17. Hameed, S. A., Ahmed, A. S., & Zeki, A. M. (2026). Integrating Artificial Intelligence into Healthcare to Improve Quality of Care. International Journal of Innovative Science and Research Technology, 11(10), Article IJISRT26OCT1515. https://doi.org/10.38124/ijisrt/26oct1515
  18. Karako, K. (2026). Matching clinical claims to evidence for the use of artificial intelligence (AI) in medicine. BioScience Trends, 20(5), Article 2026.01255. https://doi.org/10.5582/bst.2026.01255
  19. Macharia, P., Kachimanga, C., Mahende, M. K., Mapunda, E., Sonnay, Y., Ntracha, A., Woodbury, S., Inwani, I., Otieno, F., Sawe, H. R., Kumwenda, S., Mhalu, G., Essuman, W., Elhassan, F., Duron, B., Henriet, M., Azgaoui, O. Z., Rousset, V., Ahumuza, P., … Hartley, M.-A. (2026). Evaluating large language models as clinical decision support tools in primary healthcare settings: Protocol for a multi-country comparative validation study on expert-adjudicated hypothetical vignettes (hypMOOVE-PHC) [Preprint]. In medRxiv. openRxiv. https://doi.org/10.64898/2026.09.14.26362984
  20. Wang, Y., Hou, G., & Wang, D. (2026). Artificial Intelligence in Clinical Medicine, Biomolecular Design, and Drug Discovery: From Computational Performance to Translational Evidence. AI and Clinical Practice, 1(3), Article e458. https://doi.org/10.69854/aicp.2026.0044