Submitted:
30 July 2026
Posted:
31 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction

2. Related Work
2.1. mHealth Platforms for Diabetes Self-Management
2.2. Personalization Techniques in Healthcare
2.3. Identified Research Gaps
3. Methodology
3.1. System Architecture
3.2. Generation of Personalized Content for Diabetic Patients
- Textual Content: A copy of the official guidelines published by the official bodies, like the Turkish Diabetes Foundation and the Endocrinology and Metabolism Association of Turkey.
- Expert-Generated Clinical Content: This is obtained via a partner healthcare expert based at Kocaeli University Hospital.
- Quizzes and Assessments: Developed by combining knowledge of various online sources, with the assistance of Google and its Gemini pro, and then reviewed for factual consistency by domain experts.
- Diabetes Games: Traditional devices used by diabetes nurses, such as playing cards, were computerized, and their game versions were complemented with new game concepts to enhance the engagement of the learners.
3.3. Development of of Parsing Engine
3.4. Creation of the Hybrid Recommendation Engine
3.4.1. Engine Architecture
3.4.2. Rule-Based Component
3.4.3. LLM-Based Component
3.4.4. Fine-Tuning of the LLM-Based Recommender
3.4.5. Recommendation Merging and Delivery
3.4.6. Continuous Recommendation Framework
3.5. Gamification Mechanisms and Rationale
3.6. Evaluation Protocol and Metrics
3.7. External Resource Retrieval System
3.7.1. Patient Info and the LLM: Preparation
3.7.2. Google Developer Search
3.7.3. YouTube Data API Search
3.7.4. Merging and Presentation of Results
3.8. Multimodal AI Assistant
3.8.1. Front-End/User Interface
3.8.2. Google Vision API Integration
3.8.3. Response by the LLM Model
- If the image is of a medical device, such as an insulin pen or glucometer, the model offers information regarding its indications, correct use, and caution points.
- If the image is of a body part (e.g., feet or skin lesions), the model provides information about self-care routines and signs of potential complications.
- If the image or prompt is unrelated to diabetes management, the model provides a polite rejection and redirects the conversation.
3.9. User Engagement Framework
3.9.1. Gamification and Profile Analytics
3.9.2. Progress Tracking and Server Integration
3.10. Platform Development
4. Results
4.1. Quantitative Performance of the Hybrid Recommendation Engine
5. Discussion
6. Conclusion
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AI | Artificial Intelligence |
| API | Application Programming Interface |
| CNN | Convolutional Neural Network |
| DAG | Directed Acyclic Graph |
| DSMS | Diabetes Self-Management Support |
| EHR | Electronic Health Record |
| H5P | HTML5 Package |
| HTTP | Hypertext Transfer Protocol |
| JSON | JavaScript Object Notation |
| LLM | Large Language Model |
| mHealth | Mobile Health |
| MLLM | Multimodal Large Language Model |
| OCR | Optical Character Recognition |
| REST | Representational State Transfer |
| ReLU | Rectified Linear Unit |
| RMSE | Root Mean Square Error |
| TP | True Positive |
| FP | False Positive |
| FN | False Negative |
| UI | User Interface |
| WebSocket | Web Communication Protocol |
References
- Menafra, D.; Proganò, M.; Tecce, N.; Pivonello, R.; Colao, A. Diet and gut microbiome: Impact of each factor and mutual interactions on prevention and treatment of type 1, type 2, and gestational diabetes mellitus. Hum. Nutr. Metab. 2024, 38, 200286. [Google Scholar] [CrossRef]
- Sami, A.; Javed, A.; Ozsahin, D.U.; Ozsahin, I.; Muhammad, K.; Waheed, Y. Genetics of diabetes and its complications: a comprehensive review. Diabetol. Metab. Syndr. 2025, 17, 185. [Google Scholar] [CrossRef] [PubMed]
- Hall, R.M.; Marshall, H.J.; Parry-Strong, A.; Corley, B.; Krebs, J.D. A randomised controlled trial of additional bolus insulin using an insulin-to-protein ratio compared with insulin-to-carbohdrate ratio alone in people with type 1 diabetes following a carbohydrate-restricted diet. J. Diabetes Its Complicat. 2024, 38, 108778. [Google Scholar] [CrossRef] [PubMed]
- Litchfield, I.; Barrett, T.; Hamilton-Shield, J.; Moore, T.; Narendran, P.; Redwood, S.; Searle, A.; Uday, S.; Wheeler, J.; Greenfield, S. Current evidence for designing self-management support for underserved populations: an integrative review using the example of diabetes. Int. J. Equity Health 2023, 22, 188. [Google Scholar] [CrossRef] [PubMed]
- Wong, A.K.C.; Nan, Y.; Yang, B.X.; Liu, Y. Exploring Desired Features of Mobile Health Apps for Patients With Diabetes to Enhance Engagement and Self-Management: Qualitative Study. JMIR Diabetes 2025, 10, e69176. [Google Scholar] [CrossRef] [PubMed]
- Üçer, Ö.F.; Kavak, A.; Demirhan, Y.; Uzun, M.; Savaş, B.; İnner, A.B.; Alkan, Ö.; Çetinarslan, B.; Cantürk, Z.; Selek, A.; et al. Implementation of a Decision Support Mechanism on a Mobile Platform Using Clinical Evidence-Based Dynamic Insulin Dosage Adjustment for Artificial Intelligence-Enabled Diabetes Care (AIDCARE) System. Eng. Proc. 2025, 104, 27. [Google Scholar] [CrossRef]
- Pérez-Osorio, K.C.; Jiménez-Nieto, Y.A.; González-Diaz, J.E.; Rodríguez-Vásquez, G.; Rodríguez-Parada, A.; Juárez-Rivera, O. Mobile Apps to Improve Diabetes Mellitus Self-care: A Scoping Review. New Chall. Softw. Eng. 2025, Volume 1, 405–431. [Google Scholar] [CrossRef]
- Sharma, V.; Feldman, M.; Sharma, R. Telehealth technologies in diabetes self-management and education. J. Diabetes Sci. Technol. 2024, 18, 148–158. [Google Scholar] [PubMed]
- Versluis, A.; Boels, A.M.; Huijden, M.C.; Mijnsbergen, M.D.; Rutten, G.E.; Vos, R.C. Diabetes self-management education and support delivered by mobile health (mHealth) interventions for adults with type 2 diabetes—A systematic review and meta-analysis. Diabet. Med. 2025, 42, e70002. [Google Scholar] [CrossRef] [PubMed]
- Fundoiano-Hershcovitz, Y.; Bacher, D.; Ritholz, M.D.; Horwitz, D.L.; Manejwala, O.; Goldstein, P. Blood pressure monitoring as a digital health tool for improving diabetes clinical outcomes: retrospective real-world study. J. Med. Internet Res. 2022, 24, e32923. [Google Scholar] [CrossRef] [PubMed]
- Kytö, M.; Koivusalo, S.; Tuomonen, H.; Strömberg, L.; Ruonala, A.; Marttinen, P.; Heinonen, S.; Jacucci, G. Supporting the management of gestational diabetes mellitus with comprehensive self-tracking: mixed methods study of wearable sensors. JMIR Diabetes 2023, 8, e43979. [Google Scholar] [CrossRef] [PubMed]
- Feroz, I.; Ahmad, N. Systematic Review of Usability Factors, Models, and Frameworks with Blockchain Integration for Secure Mobile Health (mHealth) Applications. Blockchain Healthc. Today 2024, 7, 10–30953. [Google Scholar] [CrossRef] [PubMed]
- Bonet-Olivencia, S.; Carrillo-Leal, J.; Rao, A.; Sasangohar, F. User-centered design of a diabetes self-management tool for underserved populations. J. Diabetes Sci. Technol. 2024, 18, 22–29. [Google Scholar] [PubMed]
- Ramdowar, H.; Khedo, K.K.; Chooramun, N. A comprehensive review of mobile user interfaces in mHealth applications for elderly and the related ageing barriers. Univers. Access Inf. Soc. 2024, 23, 1613–1629. [Google Scholar]
- Audi, A.S.; Fernandes, A.E.; Coelho, G.S.d.M.A.; Moura, A.M.d.S.H.d.; Pepe, R.B.; Cercato, C.; Melo, M.E.d.; Mancini, M.C. Effect of a mobile phone application for dietary self-monitoring on obesity in adolescents: a pilot randomized controlled trial. Eur. J. Clin. Nutr. 2026, 80, 96–103. [Google Scholar] [PubMed]
- Diktas, H.E.; Lozano, C.P.; Saha, S.; Broyles, S.T.; Martin, C.K.; Apolzan, J.W. Validity of the PortionSize™ and MyFitnessPal© smartphone apps for estimating dietary intake: A randomized crossover clinical trial. J. Nutr. 2025. [Google Scholar] [PubMed]
- Pattanshetty, R.B.; Athawale, V.K. Selection of outcome measures in oncology telerehabilitation in post-COVID times: a systematic review. Indian J. Phys. Ther. Res. 2023, 5, 14–23. [Google Scholar] [CrossRef] [PubMed]
- Patail, K.; Pai, H.H.; Greenfield, G.; Hayhoe, B.; Majeed, A.; Neves, A.L.; Taddese, H.B. What are the perceptions and experiences of adults using mobile applications for self-management in diabetes? A systematic review. BMJ Open 2025, 15, e086671. [Google Scholar] [CrossRef] [PubMed]
- Adinkrah, E. Patient education in chronic disease management. Physician Assist. Clin. 2024, 9, 527–540. [Google Scholar] [CrossRef]
- Zhang, W.; Khalid, S.G.; Sadiq, S.; Liu, H.; Wong, J.Y.H. A systematic review on intelligent diagnosis of diabetes using rule-based machine learning techniques. Internet of Things and Machine Learning for Type I and Type II Diabetes 2024, 3–16. [Google Scholar] [CrossRef]
- Shinagam, S. Comparison of Collaborative Filtering and Content-Based Filtering for Recommendation Systems. Master’s thesis, 2025. [Google Scholar]
- Padman, R.; Ladhania, R. Artificial Intelligence and gamification for health. In Artificial Intelligence for Ecology, Health, and Education; Edward Elgar Publishing, 2025; pp. 92–111. [Google Scholar]
- Ouanes, K. Transforming medical and health sciences education with gamification. In Level Up! Exploring Gamification’s Impact on Research and Innovation; IntechOpen, 2024. [Google Scholar]
- Ibrahim, A.M.; Abdel-Aziz, H.R.; Mohamed, H.A.H.; Zaghamir, D.E.F.; Wahba, N.M.I.; Hassan, G.A.; Shaban, M.; El-Nablaway, M.; Aldughmi, O.N.; Aboelola, T.H. Balancing confidentiality and care coordination: challenges in patient privacy. BMC Nurs. 2024, 23, 564. [Google Scholar] [CrossRef] [PubMed]
- Shakoor, A.; Mohansingh, C.; van der Boon, R.M.; Brugts, J.J.; Schaap, J. Gamification and its potential for better engagement in the management of heart failure or quality of care registries: a viewpoint. Curr. Heart Fail. Rep. 2025, 22, 4. [Google Scholar] [CrossRef] [PubMed]
- Singleton, R.; Charlton, A. Creating H5P content for active learning. Pac. J. Technol. Enhanc. Learn. 2020, 2, 13–14. [Google Scholar] [CrossRef]
- Priesterroth, L.; Grammes, J.; Holtz, K.; Reinwarth, A.; Kubiak, T. Gamification and behavior change techniques in diabetes self-management apps. J. Diabetes Sci. Technol. 2019, 13, 954–958. [Google Scholar] [CrossRef] [PubMed]
- Sailer, M.; Hense, J.U.; Mayr, S.K.; Mandl, H. How gamification motivates: An experimental study of the effects of specific game design elements on psychological need satisfaction. Comput. Hum. Behav. 2017, 69, 371–380. [Google Scholar] [CrossRef]
- Krath, J.; Schürmann, L.; Von Korflesch, H.F. Revealing the theoretical basis of gamification: A systematic review and analysis of theory in research on gamification, serious games and game-based learning. Comput. Hum. Behav. 2021, 125, 106963. [Google Scholar] [CrossRef]
- Kaihara, T.; Intan-Goey, V.; Scherrenberg, M.; Falter, M.; Frederix, I.; Akashi, Y.; Dendale, P. Impact of gamification on glycaemic control among patients with type 2 diabetes mellitus: a systematic review and meta-analysis of randomized controlled trials. Eur. Heart J. Open 2021, 1, oeab030. [Google Scholar] [CrossRef] [PubMed]
- Ossenbrink, L.; Haase, T.; Timpel, P.; Schoffer, O.; Scheibe, M.; Schmitt, J.; Deckert, S.; Harst, L. Effectiveness of digital health interventions containing game components for the self-management of type 2 diabetes: systematic review. JMIR Serious Games 2023, 11, e44132. [Google Scholar] [CrossRef] [PubMed]
- Maharaj, A.; Lim, D.; Murphy, R.; Serlachius, A. Comparing two commercially available diabetes apps to explore challenges in user engagement: randomized controlled feasibility study. JMIR Form. Res. 2021, 5, e25151. [Google Scholar] [CrossRef] [PubMed]







| Feature | FatSecret | MyFitnessPal | Virtuagym | AIDCare |
|---|---|---|---|---|
| Basic features | ||||
| Blood glucose tracking | ✓ | ✓ | ✓ | ✓ |
| Diet and carbohydrate logging | ✓ | ✓ | ✓ | ✓ |
| Physical activity logging | ✓ | ✓ | ✓ | ✓ |
| Diabetes articles | ✓ | ✓ | × | ✓ |
| Advanced features | ||||
| Clinician-validated content | × | ✓ | × | ✓ |
| Dynamic learning paths | × | × | × | ✓ |
| AI-powered recommendations | × | ✓ | × | Hybrid |
| Multimodal AI assistant | × | × | × | ✓ |
| Integrated gamification | ✓ | × | × | ✓ |
| Technique | Limitations | Relevance to AIDCare |
|---|---|---|
| Rule-based systems | Static and rigid; difficult to scale and maintain; limited ability to capture complex user patterns. | Provides the deterministic and safety-critical layer of the hybrid recommendation engine. |
| Collaborative filtering | Suffers from cold-start problems and data sparsity; less suitable for clinical recommendation contexts. | Avoided in favor of a profile-driven approach to maintain clinical relevance and interpretability. |
| Content-based filtering | Can lead to overspecialization and depends heavily on feature engineering. | Extended through the LLM-based component, which semantically matches user profiles with educational content. |
| Hybrid models | More complex to design, implement, and validate. | Represents the core contribution by combining rule-based safety with LLM-driven personalization. |
| Research gaps | Description | AIDCare contribution |
|---|---|---|
| Lack of dynamic personalization | Most applications provide static or minimally adaptive content and do not sufficiently address evolving user profiles. | Uses a hybrid AI engine to provide personalized learning recommendations based on user profile changes. |
| Insufficient clinical integration | Many apps provide generic content that is not sufficiently developed or reviewed with clinical experts. | Uses expert-informed content and learning paths developed with diabetes specialists. |
| Poor long-term engagement | Patients may abandon mHealth applications because of limited motivation and weak engagement mechanisms. | Integrates points, badges, leaderboards, and progress analytics to support sustained engagement. |
| Reactive and passive support model | Existing tools often function as passive data loggers and provide limited proactive support. | Provides a multimodal AI assistant for on-demand support using text and image inputs. |
| Fragmented user experience | Patients often rely on multiple separate tools for logging, self-management, and support. | Integrates recommendation, progress tracking, and support within a single platform. |
| Parameter | Threshold | Triggered keywords |
|---|---|---|
| HbA1c | Blood glucose, hyperglycemia | |
| LDL-C | mg/dL | Nutrition, diet, exercise |
| Blood pressure | mmHg | Exercise, complications |
| Smoking status | True | Addiction, self-care |
| Parameter | Value |
|---|---|
| Base model architecture | |
| Base model | Mistral-7B-Instruct-v0.2 |
| Model architecture | Decoder-only Transformer |
| Number of transformer layers | 32 |
| Hidden dimension | 4096 |
| Normalization | RMSNorm |
| Feed-forward activation | SwiGLU |
| Attention mechanism | Multi-head self-attention |
| Fine-tuning parameters | |
| Fine-tuning approach | Supervised instruction tuning |
| Training objective | Causal language modeling loss |
| Optimizer | AdamW with , |
| Learning rate | |
| Learning-rate scheduler | Linear decay |
| Number of training epochs | 20 |
| Training/evaluation batch size | 16 |
| Random seed | 42 |
| Mixed precision | Native AMP |
| Epoch | Training loss | Validation loss | Accuracy | Precision | Recall | F1-score |
|---|---|---|---|---|---|---|
| 1 | 2.154 | 1.832 | 0.704 | 0.603 | 0.511 | 0.553 |
| 2 | 1.819 | 1.601 | 0.721 | 0.685 | 0.612 | 0.647 |
| 3 | 1.633 | 1.425 | 0.740 | 0.731 | 0.664 | 0.696 |
| 4 | 1.401 | 1.259 | 0.758 | 0.772 | 0.703 | 0.736 |
| 5 | 1.218 | 1.116 | 0.773 | 0.798 | 0.735 | 0.765 |
| 6 | 1.056 | 1.018 | 0.785 | 0.811 | 0.754 | 0.781 |
| 7 | 0.924 | 0.953 | 0.792 | 0.820 | 0.766 | 0.792 |
| 8 | 0.817 | 0.901 | 0.797 | 0.825 | 0.773 | 0.798 |
| 9 | 0.751 | 0.875 | 0.800 | 0.828 | 0.779 | 0.803 |
| 10 | 0.702 | 0.859 | 0.801 | 0.830 | 0.783 | 0.806 |
| 11 | 0.668 | 0.844 | 0.803 | 0.831 | 0.785 | 0.807 |
| 12 | 0.641 | 0.832 | 0.805 | 0.832 | 0.787 | 0.809 |
| 13 | 0.619 | 0.825 | 0.806 | 0.832 | 0.788 | 0.809 |
| 14 | 0.601 | 0.819 | 0.807 | 0.833 | 0.789 | 0.810 |
| 15 | 0.588 | 0.816 | 0.808 | 0.833 | 0.790 | 0.811 |
| 16 | 0.579 | 0.814 | 0.809 | 0.834 | 0.790 | 0.811 |
| 17 | 0.570 | 0.812 | 0.809 | 0.834 | 0.791 | 0.812 |
| 18 | 0.564 | 0.811 | 0.810 | 0.834 | 0.791 | 0.812 |
| 19 | 0.558 | 0.810 | 0.810 | 0.835 | 0.791 | 0.812 |
| 20 | 0.551 | 0.810 | 0.810 | 0.835 | 0.791 | 0.812 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).