IMPLEMENTASI INOVATIF CHATBOT BERBASIS NLP UNTUK MENINGKATKAN EFISIENSI PELAYANAN PASIEN PADA KLINIK KHITAN DR. SARWOKO
Abstract
The use of digital technology in healthcare communication remains minimal in Indonesia, with over 80% of health facilities not yet optimally connected to digital systems. This study aims to design and implement a Natural Language Processing (NLP)-based chatbot integrated with WhatsApp to enhance patient service efficiency at Klinik Khitan Dr. Sarwoko. The system was built using Node.js (Baileys library) for WhatsApp integration and Python (Flask) as the NLP processing backend, with SQLite as the database and an HTML/JavaScript admin dashboard. The system supports over 35 intent categories using a rule-based keyword matching approach with Sastrawi preprocessing. Black Box Testing on 47 test scenarios across 7 categories achieved 100% success rate. White Box Testing on 5 main modules produced an average cyclomatic complexity of V(G) = 4.0 (Low Risk). A questionnaire survey of 20 respondents yielded an overall satisfaction score of 4.42/5 (Excellent). The chatbot operates 24 hours a day with an average response time of 1.5 seconds, significantly reducing repetitive workload for administrative staff and improving patient service accessibility.
References
Kementerian Kesehatan Republik Indonesia, "Cetak Biru Strategi Transformasi Digital Kesehatan 2024," Kemenkes RI, Jakarta, 2024.
I. H. Sarker, "Machine Learning: Algorithms, Real-World Applications and Research Directions," SN COMPUT. SCI., vol. 2, no. 3, p. 160, May 2021, doi: 10.1007/s42979-021-00592-x.
Statista, "Number of WhatsApp users in Indonesia from 2017 to 2027," Statista, 2023. [Online]. Available: https://www.statista.com
G. Giray, "A software engineering perspective on engineering machine learning systems," Journal of Systems and Software, vol. 180, p. 111031, Oct. 2021, doi: 10.1016/j.jss.2021.111031.
T. Talaei Khoei and N. Kaabouch, "A Comparative Analysis of Supervised and Unsupervised Models for Detecting Attacks on the Intrusion Detection Systems," Information, vol. 14, no. 2, p. 103, Feb. 2023.
S. K. Lo, Q. Lu, C. Wang, H.-Y. Paik, and L. Zhu, "A Systematic Literature Review on Federated Machine Learning," ACM Comput. Surv., vol. 54, no. 5, pp. 95:1-95:39, May 2021.
W. Ren and Z. Zhong, "LBA-YOLO: A novel lightweight approach for detecting micro-cracks in building structures," PLOS ONE, vol. 20, no. 5, p. e0321640, May 2025.
U. Das, A. Lawson, C. Mayfield, and N. Norouzi, Introduction to Python Programming. Texas: OpenStax, Rice University, 2024.
P. K. Priya et al., "Real-Time Coconut Copra Classification Using YOLOv8 and ESP32 CAM," in 2025 Int. Conf. EITES, Jul. 2025, pp. 7-12.
T. A. Cengel et al., "Automating egg damage detection for improved quality control using deep learning," Journal of Food Science, vol. 90, no. 1, p. e17553, 2025.
A. Mirza, "Pengembangan Sistem Informasi Berbasis Kecerdasan Buatan untuk Layanan Kesehatan," Jurnal Informatika Universitas Pamulang, vol. 9, no. 2, pp. 45-52, 2024.
M. B. Ramadhan, "Analisis Penerapan NLP pada Aplikasi Chatbot Layanan Pelanggan di Indonesia," Jurnal Teknologi Informasi, vol. 15, no. 1, pp. 112-120, 2023.
D. Maulida and F. Hidayat, "WhatsApp Bot sebagai Media Komunikasi Layanan Kesehatan: Studi Kasus Puskesmas Tangerang," Jurnal Sistem Informasi Kesehatan, vol. 8, no. 3, pp. 78-88, 2022.







