Web-Based Electronic Medical Record System with Patient Activity Recommendation Using K-Nearest Neighbor Algorithm
DOI:
https://doi.org/10.65897/jais.v1.i1.36Keywords:
Electronic Medical Records, K-Nearest Neighbor, Activity Recommendations, Clinics, Health Information SystemsAbstract
In the digital era, the use of information technology in the health sector continues to grow, one of which is through the implementation of Electronic Medical Records (EMR). This study develops a web-based EMR system equipped with an automatic patient activity recommendation feature using the K-Nearest Neighbor (KNN) algorithm. Data from 550 patients from Dr. Viandini Clinic, Halo doc, and the internet were used with attributes of disease, age, blood pressure, and activity recommendations. The development process includes data collection, labeling, preprocessing, training and evaluation of the KNN model using the Accuracy@1 and Accuracy@5 metrics. The system is implemented with Laravel Filament and Python-Flask for the recommendation API. The test results show that the system is able to provide relevant recommendations with Accuracy@1 of 90.83% and Accuracy@5 of 95.31%. The application of KNN to this system supports automation, efficiency, and improvement of service quality in clinics and is the basis for the development of more personalized and data-driven digital health services.
References
[1] P. Sumber, D. Manusia, D. A. N. Sistem, and I. Rumah, “TEKNOLOGI DALAM MENINGKATKAN KINERJA RUMAH SAKIT ( KAJIAN LITERATUR ),” vol. 7, pp. 13479–13489, 2024.
[2] R. Rusmana and I. Sari, “Implementasi Sistem Informasi Kesehatan Daerah (SIKDA) Generik Guna Menunjang Efektivitas Rekam Medis Elektronik di UPTD Puskesmas Campaka,” J-REMI J. Rekam Med. dan Inf. Kesehat., vol. 4, no. 4, pp. 203–212, 2023, doi: 10.25047/j-remi.v4i4.3956.
[3] A. Firdonsyah and N. J. D. Nadia, “Sistem Rekam Medis Elektronik Berbasis Web Menggunakan Metode Waterfall,” Digit. Transform. Technol., vol. 4, no. 1, pp. 636–643, 2024, doi: 10.47709/digitech.v4i1.4482.
[4] C. Pusparani, B. Priyambadha, and A. Arwan, “Pembangunan Sistem Aplikasi Rekam Medis Elektronik Dan Pendaftaran Pasien Online Berbasis Web (Studi Kasus : Klinik Medis Elisa Malang),” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 3, no. 2, pp. 1458–1463, 2018, [Online]. Available: https://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/4407
[5] D. K. A. A. Rizk, H. M. Hosny, M. Gr. Voskoglou, E.-S. M. El-Horbaty, and A.-B. M. Salem, “Artificial Intelligence Algorithms for Healthcare Services,” Am. J. Appl. Math. Stat., vol. 11, no. 2, pp. 70–76, 2023, doi: 10.12691/ajams-11-2-5.
[6] J. António, R. Malheiro, and S. Jardim, “Feedback Collection and Nearest-Neighbor Profiling for Recommendation Systems in Healthcare Scenarios,” Technologies, vol. 12, no. 8, pp. 1–17, 2024, doi: 10.3390/technologies12080127.
[7] M. Murpy, “Artificial Intelligence in Diabetes Management : Transforming Care through Technology,” vol. 148356, no. 5, pp. 266–268, 2024, doi: 10.37532/JDMC.2024.7(5).266-268.
[8] S. Afolabi, N. Ajadi, A. Jimoh, and I. Adenekan, “Informatics and Health Predicting diabetes using supervised machine learning algorithms on E-health records,” Informatics Heal., vol. 2, no. 1, pp. 9–16, 2025, doi: 10.1016/j.infoh.2024.12.002.
[9] A. Uslu and J. Stausberg, “Value of the Electronic Medical Record for Hospital Care: Update from the Literature,” J. Med. Internet Res., vol. 23, no. 12, 2021, doi: 10.2196/26323.
[10] M. S. Mustafa and I. W. Simpen, “Implementasi Algoritma K-Nearest Neighbor (KNN) Untuk Memprediksi Pasien Terkena Penyakit Diabetes Pada Puskesmas Manyampa Kabupaten Bulukumba,” Februari, vol. 2019, no. 1, pp. 1–10, 2019.
Downloads
Published
Issue
Section
License
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license, users are permitted to copy, distribute, display, and perform the work, and to make derivative works, provided that appropriate credit is given to the author(s) and the source, and that any derivative works are distributed under the same license.









