Implementasi Chatbot Berbasis RAG pada Sistem Informasi Rawat Jalan Klinik

Authors

  • Putu Surya Jaya Permana Universitas Pendidikan Nasional
  • Ni Luh Putu Ika Candrawengi Universitas Pendidikan Nasional

DOI:

https://doi.org/10.55606/jupti.v5i2.7063

Keywords:

Chatbot, Healthcare system, Laravel, Outpatient, RAG

Abstract

Healthcare services require fast and accurate access to operational information such as doctor schedules, drug availability, patient registration procedures, and outpatient administration. Conventional information systems often require users to manually search through menus, which can reduce efficiency and slow service processes. This study aims to implement a Retrieval-Augmented Generation (RAG)-based chatbot integrated into an outpatient information system at Bina Usada Clinic. The system was developed using the Waterfall method and implemented through the Laravel framework with MySQL as the primary database. Internal clinic data were processed as a knowledge base using text chunking, vector embeddings, and semantic retrieval to enable context-aware responses. The chatbot also applied role-based guardrails to ensure secure access between clinic staff and patients. System functionality was evaluated using Black Box Testing, while chatbot performance was assessed through comfort and utility dimensions involving 25 respondents consisting of clinic staff and patients. The results showed that all system functions operated successfully with a 100% validity rate. In addition, the chatbot obtained an average score of 88.24%, indicating a high level of user acceptance and usefulness. The implementation of the RAG chatbot improved information accessibility, reduced manual search time, and supported digital transformation in outpatient healthcare services. These findings indicate that integrating chatbot technology into healthcare information systems can enhance operational efficiency and user experience.

References

Aliyyuddin. (2021). Pengembangan Sistem Informasi Rawat Jalan Berbasis Web pada Klinik Keluarga Kita di Nganjuk. J-REMI : Jurnal Rekam Medik Dan Informasi Kesehatan, 3(1). https://doi.org/10.25047/j-remi.v3i1.2444

Ariyanto, Y., Rachmad, M. F. F., & Puspitasari, D. (2024). Laravel framework and native PHP: Comparison in the creation of rest API. Matrix: Jurnal Manajemen Teknologi Dan Informatika, 14(2), 66–73. https://doi.org/10.31940/matrix.v14i2.66-73

Avola, D., Cannistraci, I., Cascio, M., Cinque, L., Fagioli, A., Foresti, G. L., Rodolà, E., & Solito, L. (2024). MV-MS-FETE: Multi-view multi-scale feature extractor and transformer encoder for stenosis recognition in echocardiograms. Computer Methods and Programs in Biomedicine, 245, 108037. https://doi.org/10.1016/j.cmpb.2024.108037

Dachi, J. V., & Suhada, J. (2025). Implementasi Basis Data Sederhana Menggunakan MySQL/PostgreSQL. Router: Jurnal Teknik Informatika dan Terapan, 3(1), 49–59. https://doi.org/10.62951/router.v3i1.621

Elechi, U., Orobator, E., Udoh, K., Ngozi, E., Uzoma, C., Forson, K., Akanbi, O., & Tarawallie, M. (2025). Artificial Intelligence in Healthcare: A Narrative Review of Recent Clinical Applications, Implementation Strategies, and Challenges. Journal of Healthcare Leadership, Volume 17, 863–876. https://doi.org/10.2147/JHL.S553748

Gao, Y., Xiong, Y., Gao, X., Jia, K., Pan, J., Bi, Y., Dai, Y., Sun, J., Wang, M., & Wang, H. (2024). Retrieval-Augmented Generation for Large Language Models: A Survey (arXiv:2312.10997). arXiv. https://doi.org/10.48550/arXiv.2312.10997

Guan, S., Kwok, H. C., Law, N. F., Stiglic, G., Qin, H., & Hui, V. (2025). Privacy Challenges and Solutions in Retrieval-Augmented Generation-Enhanced LLMs for Healthcare Chatbots: A Review of Applications, Risks, and Future Directions (arXiv:2511.11347). arXiv. https://doi.org/10.48550/arXiv.2511.11347

Huang, L., Yu, W., Ma, W., Zhong, W., Feng, Z., Wang, H., Chen, Q., Peng, W., Feng, X., Qin, B., & Liu, T. (2025). A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions. ACM Transactions on Information Systems, 43(2), 1–55. https://doi.org/10.1145/3703155

Jasim, K. M., Malathi, A., Bhardwaj, S., & Aw, E. C. X. (2025). A systematic review of AI-based chatbot usages in healthcare services. Journal of Health Organization and Management. https://doi.org/10.1108/JHOM-12-2023-0376

Ji, Z., Lee, N., Frieske, R., Yu, T., Su, D., Xu, Y., Ishii, E., Bang, Y., Chen, D., Dai, W., Chan, H. S., Madotto, A., & Fung, P. (2023). Survey of Hallucination in Natural Language Generation. ACM Computing Surveys, 55(12), 1–38. https://doi.org/10.1145/3571730

Kurniawan, M. H., Handiyani, H., Nuraini, T., Hariyati, R. T. S., & Sutrisno, S. (2024). A systematic review of artificial intelligence-powered (AI-powered) chatbot intervention for managing chronic illness. Annals of Medicine, 56(1), 2302980. https://doi.org/10.1080/07853890.2024.2302980

Laymouna, M., Ma, Y., Lessard, D., Schuster, T., Engler, K., & Lebouché, B. (2024). Roles, Users, Benefits, and Limitations of Chatbots in Health Care: Rapid Review. Journal of Medical Internet Research, 26, e56930. https://doi.org/10.2196/56930

Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W., Rocktäschel, T., Riedel, S., & Kiela, D. (2021). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (arXiv:2005.11401). arXiv. https://doi.org/10.48550/arXiv.2005.11401

Nguyen, L. A. T., Huynh, T. S., Tran, D. T., & Vu, Q. H. (2022). Design and Implementation of Web Application Based on MVC Laravel Architecture. European Journal of Electrical Engineering and Computer Science, 6(4), 23–29. https://doi.org/10.24018/ejece.2022.6.4.448

Purbo, O. W. (2021). A Systematic Analysis: Website Development using Codeigniter and Laravel Framework. Enrichment: Journal of Management, 12(1), 1008–1014. https://doi.org/10.35335/enrichment.v12i1.346

Rahmawati, I., Abdussalaam, F., & Sari, I. (2023). Tata Kelola Rekam Medis Berbasis Elektronik Dalam Pengelolaan Pelaporan Instalasi Rawat Jalan Dengan Metode Waterfall. Decode: Jurnal Pendidikan Teknologi Informasi, 3(2), 310–321. https://doi.org/10.51454/decode.v3i2.201

Wagner, T. L., Kitzie, V. L., & Lookingbill, V. (2022). Transgender and nonbinary individuals and ICT-driven information practices in response to transexclusionary healthcare systems: A qualitative study. Journal of the American Medical Informatics Association, 29(2), 239–248. https://doi.org/10.1093/jamia/ocab234

World Health Organization. (2021). Global Strategy on Digital Health 2020-2025 (1st ed). World Health Organization.

Yusfa, M. N. S., Musyawwa, A., & Pratama, A. B. (2025). Analisis Penerapan Indexing dan Query Optimization pada Database MySQL untuk Meningkatkan Performa Aplikasi Absensi Mahasiswa Universitas Pamulang. Journal of Information Systems and Business Technology, 1(4), 9–14.

Muhammad Aziz, & Dicky Pratama. (2026). Analisis Kesesuaian Perencanaan Infrastruktur Teknologi Informasi dengan Kebutuhan Organisasi. Neptunus: Jurnal Ilmu Komputer Dan Teknologi Informasi, 4(1), 17–24. https://doi.org/10.61132/neptunus.v4i1.1390

Downloads

Published

2026-05-12

How to Cite

Putu Surya Jaya Permana, & Ni Luh Putu Ika Candrawengi. (2026). Implementasi Chatbot Berbasis RAG pada Sistem Informasi Rawat Jalan Klinik. Jurnal Publikasi Teknik Informatika, 5(2), 52–69. https://doi.org/10.55606/jupti.v5i2.7063