CLUSTERING OF INPATIENTS USING THE K-MEANS METHOD AT RSIA SETYA BHAKTI

Authors

DOI:

https://doi.org/10.33480/pilar.v22i2.9032

Keywords:

clustering, data mining, disease groups, inpatients, KMeans

Abstract

Inpatient data is a valuable source of information for identifying patterns in patient characteristics within a hospital. However, such data have not been fully utilized to analyze patient characteristics. This study aims to cluster inpatient data from RSIA Setya Bhakti based on age, length of stay, patient category, and disease group using the K-Means algorithm. The research stages included problem identification, data collection, data cleaning, preprocessing, data transformation, normalization, determination of the optimal number of clusters using the Elbow method, implementation of the K-Means algorithm using RapidMiner, and interpretation of the clustering results. The dataset consisted of 923 inpatient medical records from January to April 2026. Based on the Elbow method, K = 3 was selected as the optimal number of clusters, resulting in three distinct patient groups. Cluster 0 consisted of 443 patients (47.99%), predominantly pediatric patients, with an average age of 6.84 years, an average length of stay of 1.70 days, and a predominance of infectious diseases. Cluster 1 consisted of 152 patients (16.47%), predominantly patients in the maternal category, with an average age of 44.18 years, an average length of stay of 1.72 days, and more diverse disease characteristics. Cluster 2 consisted of 328 patients (35.54%), predominantly patients in the maternal category with pregnancy-related cases, with an average age of 31.17 years and an average length of stay of 1.71 days. The contribution of this study is the identification of distinct inpatient characteristic patterns through clustering, providing descriptive information that can support the hospital in understanding the distribution and characteristics of its inpatient population.

Downloads

Download data is not yet available.

Author Biographies

  • Yuliana Putri Ananda, Universitas Bina Sarana Informatika

    Information Systems Study Program, Faculty of Engineering & Informatics

  • Al Fajri, Universitas Bina Sarana Informatika

    Information Systems Study Program, Faculty of Engineering & Informatics

  • Azka Jaisy Kahfi, Universitas Bina Sarana Informatika

    Information Systems Study Program,Faculty of Engineering & Informatics

  • Indah Suryani, Universitas Bina Sarana Informatika

    Information Systems Study Program, Faculty of Engineering & Informatics

References

Ardiansyah, A. A., Khaeroshi, E. A., & Wicaksono, R. R. (2025). Klasterisasi Data Rekam Medis Pasien Menggunakan Metode K-Means Clustering di RSUD Muhammadiyah Bantul. JUTIS, 13(2), 141–150. https://www.ejournal.unis.ac.id/index.php/jutis/article/view/6776

Boris, J., Ginting, A., Gulo, V. E., Zebua, R., Nainggolan, M., & Tarigan, M. W. (2024). Peran Rekam Medis sebagai Penyedia Informasi Kesehatan pada Siswa- Siswi SMA Negeri 1 Parbuluan. Inovasi Jurnal Pengabdian Masyarakat, 2(1), 51–58.

Commodus, P. E., Mandiri, U., Prestasi, B., & Penerbangan, P. (2022). Analisis Metode K-Nearest Neighbor Menggunakan Rapid Miner Untuk Sistem Rekomendasi Tempat Wisata Labuan Bajo. Remik: Riset Dan E-Jurnal Manajemen Informatika Komputer, 6(3), 534–541.

Dewi, Y. N., Rianto, H., Budihartanti, C., & Fibriany, F. W. (2022). PENERAPAN METODE K-MEANS DALAM UJIAN NASIONAL. Journal of Information System, Applied, Management, Accounting and Research, 6(1), 26–31. https://doi.org/10.52362/jisamar.v6i1.670

Dilawati, H., Widianto, H., & Kuswiadji, A. (2024). Klasterisasi Data Rekam Medis Pasien Menggunakan Metode K-Means Clustering Di Rumah Sakit Widodo Ngawi. Jurnal Teknologi Informasi Dan Rekayasa Komputer, 5(2), 139–147.

Herdiaman, E. A., Sudiarjo, A., & Hikmatyar, M. (2024). KLASTERISASI PASIEN PADA RSUD CIAMIS MENGGUNAKAN METODE K-MEANS. JITET (Jurnal Informatika Dan Teknik Elektro Terapan), 12(3), 3538–3547.

Idham, Rosika, H., & Yuliadi. (2024). IMPLEMENTASI RAPIDMINER UNTUK CLESTERING DATA PENJUALAN PAKAIAN MENGGUNAKAN METODE K-MEANS. Journal Education and Technology, 5(1), 221–231.

Laksono, W. B., Syahidin, Y., & Yunengsih, Y. (2024). Implementasi Data Mining Klasterisasi Data Pasien Rawat Inap dengan Algoritma K-Means Clustering. Jurnal Teknologi Sistem Informasi Dan Aplikasi, 7(2), 621–627. https://doi.org/10.32493/jtsi.v7i2.39354

Nahjan, M. R., Heryana, N., & Voutama, A. (2023). IMPLEMENTASI RAPIDMINER DENGAN METODE CLUSTERING K-MEANS UNTUK ANALISA PENJUALAN PADA TOKO OJ CELL. JATI (Jurnal Mahasiswa Teknik Informatika), 7(1), 101–104.

Oktavia, S. N., & Prayoga, D. (2023). KUALITAS PELAYANAN TERHADAP LOYALITAS PASIEN PADA RUMAH SAKIT IBU DAN ANAK : LITERATURE REVIEW. JURNAL KESEHATAN TAMBUSAI, 4(3), 2199–2205.

Prakoso, B. H., Rachmawati, E., Putro, R. D. M., Vestine, V., & Suyoso, G. E. J. (2023). Klasterisasi Puskesmas dengan K-Means Berdasarkan Data Kualitas Kesehatan Keluarga dan Gizi Masyarakat. Jurnal Buana Informatika, 14(April), 60–68.

Prastiwi, O., & Mulyati, S. (2023). PENERAPAN ALGORITME K-MEANS CLUSTERING DALAM PENGELOMPOKAN PENYAKIT PASIEN PADA UPTD PUSKESMAS WURYANTORO. Seminar Nasional Mahasiswa Fakultas Teknologi Informasi (SENAFTI), 2(2), 577–586.

Sjamsuddin, I. N., Firmansyah, D. A., & Laferani, Y. (2025). Klasterisasi Pasien Rawat Inap BPJS pada RS Islam Assyifa Sukabumi Menggunakan Metode K-Means. Jurnal Kridatama Sains Dan Teknologi, 7(01), 355–368. https://doi.org/10.53863/kst.v7i01.1617

Widayanti, E., Septiana, D. H., Irmaningsih, M., Putri, V. A., & Budi, S. C. (2023). Kesiapan Puskesmas Samigaluh I dalam Peralihan Rekam Medis Konvensional ke Rekam Medis Elektronik. Jurnal Manajemen Informasi Kesehatan Indonesia, 11(2), 102–107.

Yudano, B. A., Indahyanti, U., & Nisak, U. K. (2022). Pemanfaatan Data Rekam Medis dalam Menentukan Cluster Penyakit Melalui Data Mining di Rs Aisyiyah Siti Fatimah Tulangan Sidoarjo. Care Journal, 2(1), 14–23.

Downloads

Published

2026-09-30

How to Cite

CLUSTERING OF INPATIENTS USING THE K-MEANS METHOD AT RSIA SETYA BHAKTI. (2026). Jurnal Pilar Nusa Mandiri, 22(2), 194-203. https://doi.org/10.33480/pilar.v22i2.9032