Digital Pharmacy, Artificial Intelligence and Medication Safety: A Theoretical Framework for Clinical Pharmacy Practice, Dispensing Automation and Pharmaceutical Care in Resource-Constrained Health Systems
DOI:
https://doi.org/10.68854/gw3z6q05Keywords:
clinical pharmacy, pharmaceutical care, medication safety, artificial intelligence, clinical decision support, dispensing automation, telepharmacy, medication errors, pharmacy practice, AfricaAbstract
Artificial intelligence (AI) is entering pharmacy practice through interaction and dose checking, prescription verification, automated dispensing, telepharmacy and patient-facing medication assistants. It arrives in health systems where pharmacists are scarce and medication errors are common. This theoretical paper develops a framework for the role of AI in clinical pharmacy and pharmaceutical care under resource constraint. It draws on pharmacy-practice and medication-safety theory, on the clinical-decision-support and human-factors literatures, and on recent research on AI in pharmacy, including the performance of large language models on pharmaceutical tasks. The analysis separates three functions that pharmacists perform: verification, the checking that a prescription is appropriate and safe; supply, the dispensing of the right product correctly; and care, the counselling, monitoring and optimisation of therapy for the individual patient. It argues that AI strengthens verification, automates supply, and cannot substitute for care, which is where the pharmacist's professional value increasingly lies, and that resource-constrained systems face a particular temptation to use AI to replace rather than extend scarce pharmacists. On this basis the paper advances a set of propositions about the conditions under which AI improves medication safety without degrading pharmaceutical care, and about the risk of using tools trained on drug data, formularies and prescribing patterns from other health systems, with Nigerian pharmacy practice anchoring the analysis. It concludes that, where pharmacists are scarce, the appropriate strategy is to automate the verification and supply functions so that scarce professional capacity is freed for the care that only pharmacists can provide, and that tools whose data derive from other health systems should be validated locally before they inform practice. A further emerging role is identified, in which pharmacists mediate between patients and the unreliable medication information they increasingly obtain from AI directly.
Downloads
References
Adebayo, A. M., Bamgboye, E. A., Alawode, G. O., & Odebunmi, K. O. (2023). Contextual factors influencing the roles of patent medicine vendors in the provision of family planning services in Nigeria: A qualitative study. Reproductive Health, 20(1), 92. https://doi.org/10.1186/s12978-023-01650-8
Ahtiainen, H., Lindén-Lahti, C., Heininen, S., Holmström, A.-R., & Schepel, L. (2025). Introducing unit dose dispensing in a university hospital – Effects on medication safety and dispensing time. Risk Management and Healthcare Policy, 18, 843–854. https://doi.org/10.2147/rmhp.s497454
Alsaleh, E. A., Alnemer, M. J., Alhassan, Y. H. A., Khalil, A. A. A., Kaddoura, M. A., Ishaqui, A. A., Maqsood, M. B., & Iqbal, A. (2026). Machine learning and large language model decision support for medication-error prevention across the medication-use process: A systematic review with implications for Saudi Arabia. Saudi Medical Journal, 47(11), 1686–1696. https://doi.org/10.15537/1658-3175.8858
Austin, Z., & Gregory, P. (2026). Guidance for use of artificial intelligence in community pharmacy practice: Perspectives and needs of pharmacists in Ontario, Canada. Pharmacy, 14(2), 57. https://doi.org/10.3390/pharmacy14020057 Büker, M., & Mercan, G. (2025). Readability, accuracy and appropriateness and quality of AI chatbot responses as a patient information source on root canal retreatment: A comparative assessment. International Journal of Medical Informatics, 201, 105948. https://doi.org/10.1016/j.ijmedinf.2025.105948
Chen, C.-Y., Chen, Y.-L., Scholl, J., Yang, H.-C., & Li, Y.-C. (2024). Ability of machine-learning based clinical decision support system to reduce alert fatigue, wrong-drug errors, and alert users about look alike, sound alike medication. Computer Methods and Programs in Biomedicine, 243, 107869. https://doi.org/10.1016/j.cmpb.2023.107869
Collins, C. D., Veve, M. P., & Hollis, I. B. (2026). Rise of the machines: Comparing performance of artificial intelligence large language models on pharmacy specialty certification examination practice questions. JACCP: Journal of the American College of Clinical Pharmacy, 9(5), e70215. https://doi.org/10.1002/jac5.70215
Costello, J., Barras, M., Foot, H., & Cottrell, N. (2023). The impact of hospital-based post-discharge pharmacist medication review on patient clinical outcomes: A systematic review. Exploratory Research in Clinical and Social Pharmacy, 11, 100305. https://doi.org/10.1016/j.rcsop.2023.100305
Crilly, P. (2023). Opportunities and threats for community pharmacy in the era of enhanced technology and artificial intelligence. International Journal of Pharmacy Practice, 31(5), 447–448. https://doi.org/10.1093/ijpp/riad065 Demëbogaj, D., Bytyqi, E., Kastrati, N., Hetemi, D., Uka, V., & Hoti, K. (2026). Benchmarking large language models to solve clinical and pharmaceutical care related questions and effects of prompt engineering on model performance. Exploratory Research in Clinical and Social Pharmacy, 23, 100761. https://doi.org/10.1016/j.rcsop.2026.100761
Fallon, A., Haralambides, K., Mazzillo, J., & Gleber, C. (2024). Addressing alert fatigue by replacing a burdensome interruptive alert with passive clinical decision support. Applied Clinical Informatics, 15(1), 101–110. https://doi.org/10.1055/a-2226-8144
Gebresillassie, B. M., Howells, K., & Ashiru-Oredope, D. (2023). Public health interventions delivered by pharmacy professionals in low- and middle-income countries in Africa: A systematic scoping review. Pharmacy, 11(1), 24. https://doi.org/10.3390/pharmacy11010024
Hamadalneel, Y. B., Badi, S., Elmadani, M., Ahmed, K. O., & Omer, A. A. A. (2025). Impact of clinical pharmacy services on patient outcomes in Sudan: A systematic review of interventional studies. BMC Health Services Research, 25(1), 1322. https://doi.org/10.1186/s12913-025-13532-9
Kaligirwa, A., L Peter, E., & E Alele, P. (2026). Medication errors among elderly in-patients at an urban national referral hospital in Tanzania: Prevalence and patient profiles in a low-resource setting. African Health Sciences, 26(1), 151–163. https://doi.org/10.4314/ahs.v26i1.16
Khatri, S., Sengul, A., Moon, J., & Jackevicius, C. A. (2025). Accuracy and reproducibility of ChatGPT responses to real-world drug information questions. JACCP: Journal of the American College of Clinical Pharmacy, 8(6), 432–438. https://doi.org/10.1002/jac5.70038
Lim, R. S., Lee, W.-J., La, H. O., Song, Y.-K., & Choi, K. H. (2026). Impact of a hospital information system-integrated automated dispensing cabinet on medication use and safety in a tertiary hospital emergency department: A prospective before-and-after study. Journal of Clinical Medicine, 15(13), 4908. https://doi.org/10.3390/jcm15134908
McCabe, C., Connolly, L., Hughes, M., Doyle, C., Weir, A., McCann, M., & Brenner, M. (2026). Impact of digital health interventions on medication adherence: A systematic review and meta-analysis. DIGITAL HEALTH, 12, 20552076251361593. https://doi.org/10.1177/20552076251361593
Meng, L., He, Y., Sun, C., Huang, L., Hu, T., & Yang, F. (2025). Learning personalized drug features and differentiated drug-pair interaction information for drug–drug interaction prediction. Neural Networks, 181, 106828. https://doi.org/10.1016/j.neunet.2024.106828
Pariente, A., Salvo, F., Bres, V., & Faillie, J.-L. (2024). Can we ask ChatGPT about drug safety? Appropriateness of ChatGPT responses to questions about drug use and adverse reactions received by pharmacovigilance centers. Drug Safety, 47(9), 921– 923. https://doi.org/10.1007/s40264-024-01437-1
Sridharan, K., & Sivaramakrishnan, G. (2025). Investigating the capabilities of advanced large language models in generating patient instructions and patient educational material. European Journal of Hospital Pharmacy, 32(6), 501–507. https://doi.org/10.1136/ejhpharm-2024-004245
Vasudevan, R., Kandasamy, G., Venkatesan, K., Devanandan, P., Al Malh, S. M., & Alasmari, L. F. (2026). Patient trust in AI-generated medication information and the role of clinical pharmacists in preventing medication-related safety risks: A cross-sectional survey. Journal of Patient Safety. Advance online publication. https://doi.org/10.1097/pts.0000000000001546
Downloads
Published
Data Availability Statement
Research data supporting this study was provided with the submission and is held by the editorial office.Issue
Section
License
Copyright (c) 2026 Igwe Emmanuel Sunday, NWOGBOJI Emmanuel Usulor, Paul Idowu Bamigbola (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with the Journal of Student
Research (JSR) retain copyright of their work
and grant JSR the right of first publication
under a Creative Commons Attribution 4.0
International License (CC BY 4.0).
This license permits others to share, copy,
redistribute, and adapt the work in any medium
or format for any purpose, provided appropriate
credit is given to the original authors and
source, a link to the license is provided, and
any changes made are indicated.
Full article access requires payment of NGN
2,000 (download) or NGN 1,000 (view only).
License URL: https://creativecommons.org/licenses/by/4.0/