Pharmabot: A Pediatric Generic Medicine Prescription Chatbot

Authors

  • Rahul Mahavir Patil
  • Manasi Anil Joshi
  • Sejal Chandrashekhar Jotawar
  • Sanika Ganesh Kabade
  • Khushi Pravin Kajave

Keywords:

AI in medicine, Child medication guidance, Conversational AI, Dosage recommendations, Drug database, Generic medicine, Healthcare chatbot, Medication safety, Pediatric chatbot, Pharmabot, Prescription assistance, Python programming, Telehealth, User-friendly interface

Abstract

The healthcare industry is rapidly evolving, with the adoption of Artificial Intelligence (AI) playing a critical role in improving accessibility, efficiency, and accuracy in medical services. One area where AI has proven particularly useful is in the development of medical prescription chatbots. This study explores the design and implementation of an effective medical prescription chatbot using Python, a widely used programming language for AI development. By leveraging Natural Language Processing (NLP) and Machine Learning (ML) techniques, this chatbot aims to assist healthcare professionals and patients in managing prescriptions more efficiently. A key challenge in healthcare is ensuring that prescriptions are accurate, up-to-date, and appropriately matched to a patient's medical condition. A chatbot that integrates with patient databases and medical knowledge bases can facilitate this process. This paper outlines the architecture and workings of a chatbot that can recommend medications, provide dosage instructions, track patient history, and alert healthcare providers to potential drug interactions. Python’s flexibility, combined with libraries such as NLTK, TensorFlow, and spaCy, enables the creation of a robust and intelligent chatbot capable of providing reliable medical guidance. Furthermore, the paper discusses the integration of the chatbot with existing Electronic Health Record (EHR) systems, making it a valuable tool in the workflow of medical professionals. Through case studies and real-world applications, we demonstrate the chatbot’s capacity to enhance decision-making by providing quick access to medication information and treatment suggestions. One of the key benefits of using chatbots in prescription management is reducing the burden on healthcare providers and offering patients a convenient means of receiving medication advice and reminders. The automation of routine prescription tasks allows medical professionals to focus on more complex aspects of patient care. The paper also identifies limitations, such as the need for continuous updates to medical knowledge, and proposes methods to overcome these challenges, including integrating AI-powered algorithms that can learn and adapt to new information. Future advancements in machine learning and NLP will allow chatbots to provide even more personalized, context-aware, and accurate prescription advice.

References

A. Zagade, V. Killedar, O. Mane, G. Nitalikar, and S. Bhosale, “AI-Based Medical Chatbot for Disease Prediction,” International Journal of innovative science and Research Technology, vol. 9, no. 3, pp. 763–765, Mar. 2024, doi: https://doi.org/10.38124/ijisrt/ijisrt24mar804.

F. Jiang et al., “Artificial Intelligence in Healthcare: Past, Present and Future,” Stroke and Vascular Neurology, vol. 2, no. 4, pp. 230–243, Jun. 2017, doi: https://doi.org/10.1136/svn-2017-000101.

L. do Nascimento Cervelin, D. H. S. Arruda, R. C. C. Flesch and J. N. Scussel, “Measurement of the instantaneous in-cylinder pressure of reciprocating compressors using the connecting rod strain,” in IEEE Instrumentation & Measurement Magazine, vol. 23, no. 7, pp. 34-39, Oct. 2020, doi: https://doi.org/10.1109/MIM.2020.9234763.

“Improving language understanding with unsupervised learning,” Openai.com, Feb. 14, 2024. https://openai.com/blog/language-unsupervised.

D. Sharma, S. Kaushal, H. Kumar, and S. Gainder, “Chatbots in Healthcare: Challenges, Technologies and Applications,” IEEE Xplore, Dec. 01, 2022. https://ieeexplore.ieee.org/abstract/document/10065328/.

J. Bajwa, U. Munir, A. Nori, and B. Williams, “Artificial Intelligence in Healthcare: Transforming the Practice of Medicine,” Future Healthcare Journal, vol. 8, no. 2, pp. 188–194, Jul. 2021, doi: https://doi.org/10.7861/fhj.2021-0095.

A. Al Kuwaiti et al., “A review of the role of artificial intelligence in healthcare,” Journal of Personalized Medicine, vol. 13, no. 6, Jun. 2023, doi: https://doi.org/10.3390/jpm13060951.

A. T. M. Wasylewicz and A. M. J. W. Scheepers-Hoeks, “Clinical Decision Support Systems,” PubMed, 2018. Available: https://www.ncbi.nlm.nih.gov/books/NBK543516/.

S. Locke, A. Bashall, S. Al-Adely, J. Moore, A. Wilson, and G. B. Kitchen, “Natural language processing in medicine: A review,” Trends in Anaesthesia and Critical Care, vol. 38, pp. 4–9, Jun. 2021, doi: https://doi.org/10.1016/j.tacc.2021.02.007.

C. for D. E. and Research, “Drug Interactions: What You Should Know,” FDA, Mar. 2020, Available: https://www.fda.gov/drugs/resources-drugs/drug-interactions-what-you-should-know

Jetske Graafsma et al., “The use of artificial intelligence to optimize medication alerts generated by clinical decision support systems: a scoping review,” Journal of the American Medical Informatics Association, Apr. 2024, doi: https://doi.org/10.1093/jamia/ocae076.

A. Agrawal, “Medication errors: prevention using information technology systems,” British Journal of Clinical Pharmacology, vol. 67, no. 6, pp. 681–686, Jun. 2019, doi: https://doi.org/10.1111/j.1365-2125.2009.03427.x.

N. Khalid, A. Qayyum, M. Bilal, A. Al-Fuqaha, and J. Qadir, “Privacy-preserving artificial intelligence in healthcare: Techniques and applications,” Computers in Biology and Medicine, vol. 158, no. 1, p. 106848, Apr. 2023, doi: https://doi.org/10.1016/j.compbiomed.2023.106848.

Python Software Foundation, “3.7.3 Documentation,” Python.org, 2019. Available: https://docs.python.org/3/.

Published

2025-03-08

How to Cite

Rahul Mahavir Patil, Manasi Anil Joshi, Sejal Chandrashekhar Jotawar, Sanika Ganesh Kabade, & Khushi Pravin Kajave. (2025). Pharmabot: A Pediatric Generic Medicine Prescription Chatbot. Journal of Android and IOS Applications and Testing, 10(1), 1–14. Retrieved from https://www.matjournals.net/engineering/index.php/JoAAT/article/view/1495

Issue

Section

Articles