Analysis of Patient Medical Record Data Using K-Means Clustering Algorithm (Case Study Lamongan Health Center)
DOI:
https://doi.org/10.59934/jaiea.v6i1.2853Keywords:
Clustering, Data Mining, Patient Data, K-Means Clustering, Medical RecordsAbstract
Medical records are a collection of patient data that contains information about the patient's identity, disease diagnosis, and medical procedures. The growing amount of medical record data makes the data analysis process more difficult if done manually. Therefore, a method is needed that can help the process of grouping patient data based on the similarity of certain characteristics. This study aims to apply the K-Means Clustering method in grouping patient medical record data at the Lamongan Health Center for the last 3 years.
The method used in this study is K-Means Clustering. The dataset used came from 7,432 patient medical records data at the Lamongan Health Center, while the data used in the research process was 500 data taken from the 500th to the 1000th data. The Clustering process was carried out using 5 Clusters based on the attributes of the patient's type, gender, age, village, and disease diagnosis.
The results showed that the K-Means Clustering method successfully grouped patient medical record data into five clusters with different characteristics. Influenza disease is the most dominant disease in several clusters. The results of the evaluation using the Silhouette Score obtained a value of 0.316 and the Davies-Bouldin Index of 1.004 which shows that the Cluster formed has quite good quality. The system built is able to display Clustering results in the form of tables, Cluster distribution diagrams, and Clustering result history, making it easier for users to understand the results of patient data analysis.
Downloads
References
O. J. Harmaja, H. Halawa, W. S. Hulu, and S. Loi, “Implementasi Algoritma K-Means Clustering Untuk Pengelompokkan Penyakit Pasien Pada Puskesmas Pulo Brayan,” J. Sains dan Teknol., vol. 5, no. 1, pp. 150–157, 2023, [Online]. Available: https://doi.org/10.55338/saintek.v5i1.1306%0AImplementasi
M. S. Sasmita, “Implementasi Algoritma K-Means Untuk Clustering Data Penyakit Di Puskesmas Kotagede 2 Yogyakarta,” SUBMIT J. Ilm. Teknol. Infomasi dan Sains, vol. 4, no. 1, pp. 1–9, 2024, doi: 10.36815/submit.v4i1.3195.
R. Abduh, “Kajian Hukum Rekam Medis Sebagai Alat Bukti Akre Malapraktik Medis,” Deleg. J. Ilmu Huk., vol. 6, no. 1, pp. 221–234, 2021, [Online]. Available: http://jurnal.umsu.ac.id/index.php/delegalata
P. Y. H Tanjung, “Penerapan Algoritma Aes 625 Dalam Pengamanan Data Rekam Medis,” J. Glob. Tecnol. Comput., vol. 1, no. 3, pp. 77–83, 2022, [Online]. Available: https://ejurnal.seminar-id.com/index.php/jogtc
R. Wardhani, U. I. Lamongan, N. Nafiiyah, U. I. Lamongan, K. F. Mauladi, and U. I. Lamongan, “K-Means Clustering of the Mental Health of Engineering Students at the Universitas Islam Lamongan,” IEEE Int. Conf. Commun. Networks Satell., pp. 1–6, 2023, [Online]. Available: https://doi.org/10.1109/COMNETSAT59769.2023.10420590
W. Aulia, A. Putera, U. Siahaan, L. Marlina, M. Iqbal, and U. Pembangunan Budi Panca, “Analisis Algoritma K-Means Clustering Dalam Identifikasi Tingkat Risiko Penyakit Berdasarkan Data Rekam,” J. Sci. Soc. Res., vol. 4307, no. August, pp. 3457–3465, 2025, [Online]. Available: http://jurnal.goretanpena.com/index.php/JSSR
“Comparative Analysis of Inter-Centroid K-Means Performance using Euclidean Distance , Canberra Distance and Manhattan Distance Comparative Analysis of Inter-Centroid K-Means Performance using Euclidean Distance , Canberra Distance and Manhattan Distance,” J. Phys. Conf. Ser. Pap., 2020, doi: 10.1088/1742-6596/1566/1/012112.
A. Lingga, “Penerapan Algoritma K-Means Clustering Untuk Klasterisasi Penyakit Pasien,” J. Inf. Syst. Res., vol. 1, no. 3, pp. 93–102, 2024, [Online]. Available: doi: doi.org/10.64366/adajisr.v1i3.43
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








