Digital transformation of community pharmacies through AI and predictive analytics
DOI:
https://doi.org/10.56294/digi2025211Keywords:
pharmacies, artificial intelligence, chatbot, sales prediction, mHealthAbstract
Introduction: The project proposed a comprehensive solution aimed at community pharmacies, seeking to improve customer service, operational management and technological integration. To this end, it combined a mobile application with e-commerce functions and an artificial intelligence chatbot, along with a desktop application for sales management and forecasting. The proposal responded to the growing need for efficient and personalized access to pharmaceutical services, especially in a digitized environment.
Development: Building on successful experiences in healthcare and retail, the proposal leveraged tools such as mHealth apps, which were shown to improve treatment adherence and patient autonomy. It also integrated AI-enabled chatbots, useful for medical care, healthcare education and administrative tasks. At the operational level, it incorporated automated inventory systems that optimized processes and reduced errors, strengthening patient safety. In addition, predictive analysis models such as Random Forest or XGBoost were applied, which made it possible to anticipate demand and segment customers with high precision. The use of technologies such as Java, Kotlin, Python and environments such as Android Studio and Electron Forge ensured technical feasibility. The competitive analysis revealed that, although there were pharmacies with shopping applications, none integrated chatbots or reminders, which represented a differential advantage.
Conclusions: The solution proposed offered a substantial improvement in community pharmaceutical care, by integrating efficiency, artificial intelligence and user-centered approach. Its implementation consolidated an innovative, scalable alternative, adapted to current requirements, allowing progress towards a more intelligent and accessible pharmacy model.
References
Android Developers. Download Android Studio & App Tools [Internet]. [cited 2025 Aug 2]. Available from: https://developer.android.com/studio
Capsa Healthcare. The benefits of pharmacy automation [Internet]. 2025 [cited 2025 Aug 2]. Available from: https://www.capsahealthcare.com/blog/pharmacy-automation/the-benefits-of-pharmacy-automation/
Consejo Profesional de Ciencias Informáticas de la Provincia de Córdoba. Honorarios recomendados [Internet]. 2025 [cited 2025 Aug 2]. Available from: https://cpcipc.org.ar/honorarios-recomendados/
Electron Forge. Getting started [Internet]. [cited 2025 Aug 2]. Available from: https://www.electronforge.io/
Google AI for Developers. Gemini API [Internet]. [cited 2025 Aug 2]. Available from: https://ai.google.dev/gemini-api/docs
Kalegowda AH. Utilizing Predictive Analytics to Enhance Retail Business Performance [Internet]. MSc Research Project, National College of Ireland; 2024 [cited 2025 Aug 2]. Available from: https://norma.ncirl.ie/7523/1/aravindhallimysorekalegowda.pdf
Khan O, Parvez M, Kumari P, Parvez S, Ahmad S. The future of pharmacy: How AI is revolutionizing the industry. Intell Pharm [Internet]. 2023 [cited 2025 Aug 2]. Available from: https://doi.org/10.1016/j.ipha.2023.04.008
MDN Web Docs. Express Web Framework (Node.Js/JavaScript) [Internet]. [cited 2025 Aug 2]. Available from: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs
Raza MA, Aziz S, Noreen M, Saeed A, Anjum I, Ahmed M, et al. Artificial Intelligence (AI) in pharmacy: An overview of innovations. Innov Pharm. 2022;13(2):13. doi:10.24926/iip.v13i2.4839
Simpson MD, Qasim HS. Clinical and Operational Applications of Artificial Intelligence and Machine Learning in Pharmacy: A Narrative Review of Real-World Applications. Pharmacy (Basel). 2025;13(2):41. doi:10.3390/pharmacy13020041
Singh C. History of Java Programming Language [Internet]. BeginnersBook; 2022 Jun 15 [cited 2025 Aug 2]. Available from: https://beginnersbook.com/2022/06/history-of-java-programming-language/
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Juan Ignacio Gutierrez (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
The article is distributed under the Creative Commons Attribution 4.0 License. Unless otherwise stated, associated published material is distributed under the same licence.