MARATTO

article · Osong Public Health and Research Perspectives

Use of artificial intelligence for medication adherence assessment in patients with type 2 diabetes: an exploratory study in Morocco using ChatGPT and the validated general medication adherence scale

2026Open accessMohammed V University

Abstract

Objectives: Medication adherence remains a major challenge in the management of type 2 diabetes (T2D), especially in middle-income countries such as Morocco. With the rapid development of artificial intelligence, large language models, including ChatGPT, may offer new opportunities for clinical research through simulated patient profiles. This study examined the feasibility of using ChatGPT to generate culturally contextualized virtual profiles of Moroccan patients with T2D and to apply the validated Moroccan Arabic dialect version of the general medication adherence scale (GMAS). Methods: This exploratory pilot simulation study used ChatGPT-4 to generate 11 virtual profiles based on representative sociodemographic and clinical characteristics of Moroccan patients with T2D. Each profile was administered the validated Moroccan Arabic dialect version of the GMAS. Results: Four profiles (36.4%) showed high adherence, 6 (54.5%) displayed moderate adherence, and 1 (9.1%) exhibited low adherence. Expert evaluations were consistent, with all ratings ≥3 on a 4-point scale, supporting the credibility and cultural appropriateness of the profiles. The simulated patterns reflected real-world trends, with higher adherence among profiles treated with oral antidiabetic drugs, covered by health insurance, and having shorter disease duration, and lower adherence among profiles using insulin, lacking insurance, and having longer disease duration. Conclusion: ChatGPT generated credible, culturally adapted patient profiles that enabled application of a validated psychometric tool in a simulated environment. This rapid, low-cost approach may support exploratory research, healthcare training, and intervention design. Comparative studies using real patient data are needed to confirm validity.

Research topics

  • Medication Adherence and Compliance
  • Artificial Intelligence in Healthcare and Education
  • Mobile Health and mHealth Applications

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.24171/j.phrp.2025.0396

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.