Strategic Patient Segmentation Based on Age, Length of Stay, and Hospital Revenue Using K-Means Clustering:
a Hospital Management Perspective
DOI: https://doi.org/10.70184/v1kq1v81
patient segmentation; , K-Means clustering; , length of stay; , hospital revenue; , hospital management; , healthcare analytics; , data-driven decision-making
Abstract
Purpose: This study aims to identify strategic patient segments based on age, length of stay, and hospital revenue using K-Means clustering and to interpret the resulting segments from a hospital management perspective.
Research Method: A quantitative descriptive-exploratory design was employed using anonymized secondary inpatient data from a private international-standard hospital in South Tangerang, Banten, Indonesia. The variables included patient age, length of stay, and hospital revenue. Data were cleaned, transformed, normalized, and analyzed using the K-Means algorithm in RapidMiner Studio, resulting in three clusters.
Results and Discussion: Three patient segments with distinct service-utilization and financial profiles were identified. Cluster 0 generated average revenue of IDR 163,171,150, Cluster 1 generated IDR 330,793,288, and Cluster 2 recorded the highest average revenue of IDR 994,300,700. Despite relatively similar patient ages and lengths of stay, substantial revenue differences suggest variations in case complexity, medical procedures, and resource intensity.
Implications: The segmentation model can support differentiated service strategies, resource allocation, capacity planning, and data-driven revenue management. Future studies should incorporate clinical severity, payment methods, treatment types, and alternative clustering techniques.
Originality: This study demonstrates the managerial application of K-Means clustering by integrating demographic, service-utilization, and financial variables to develop actionable patient segmentation for hospital decision-making
References
Akbari-Moghaddam, M., Li, N., Down, D. G., & Hands, K. (2025). Patient segmentation and resource allocation for tailored healthcare delivery. Journal of the Operational Research Society. https://doi.org/10.1080/01605682.2025.2546058
AlMuhaideb, S., Bin Shawyah, A., Alhamid, M. F., & al., et. (2024). Machine learning-guided length of stay prediction for cardiac patients. Healthcare, 12(11). https://doi.org/10.3390/healthcare12111110
Deschepper, M., De Smedt, C., & Colpaert, K. (2025). A literature-based approach to predict continuous hospital length of stay in adult acute care patients using admission variables. International Journal of Medical Informatics, 193. https://doi.org/10.1016/j.ijmedinf.2024.105678
Frangky, F., Sinaga, R., & Raihansyah, M. (2025). Analisis segmentasi pasien berdasarkan persepsi kualitas pelayanan dengan algoritma clustering. Explorer, 5(1). https://doi.org/10.47065/explorer.v5i1.1818
Hewner, S., Sullivan, S. S., Yu, G., & al., et. (2023). Identifying high-need primary care patients using nursing knowledge and machine learning methods. Journal of Nursing Scholarship, 55(5). https://doi.org/10.1111/jnu.12875
Jain, R., Singh, M., Rao, A. R., & Garg, R. (2024). Predicting hospital length of stay using machine learning on a large open health dataset. BMC Health Services Research, 24. https://doi.org/10.1186/s12913-024-11238-y
Khalil, H., & al., et. (2025). Implementing value-based healthcare: A scoping review of models, enabling factors, and barriers. BMC Health Services Research. https://doi.org/10.1186/s12913-025-12698-6
Khedr, A., Hassan, E., Asim, R., & al., et. (2025). The impact of a novel transfer process on patient bed days and length of stay: A five-year comparative study. International Journal of Environmental Research and Public Health, 22(6). https://doi.org/10.3390/ijerph22060871
Kim, J., Jang, E., Kwon, S., & Song, M. (2025). Unsupervised clustering of 41,728 emergency department visits: Insights into patient profiles and KTAS reliability. Healthcare, 13(23). https://doi.org/10.3390/healthcare13233073
Lee, H., Kim, Y., Lee, J., & al., et. (2024). Hospital length of stay prediction for planned admissions using standardized electronic health record data. Journal of Medical Internet Research, 26. https://doi.org/10.2196/59260
Liu, P., Wang, Z., Liu, N., & Peres, M. A. (2023). A scoping review of the clinical application of machine learning in data-driven population segmentation analysis. Journal of the American Medical Informatics Association, 30(9). https://doi.org/10.1093/jamia/ocad111
Mariam, A., Javidi, H., Zabor, E. C., Zhao, R., Radivoyevitch, T., & Rotroff, D. M. (2024). Unsupervised clustering of longitudinal clinical measurements in electronic health records. PLOS Digital Health, 3(10). https://doi.org/10.1371/journal.pdig.0000628
Marlina, M., Hindrawan, D., Kornela, A., & Heikal, J. (2025). Implementation of K-Means clustering algorithm for segmentation of patient visit patterns in public hospitals. Jurnal Pendidikan Tambusai, 9(1). https://doi.org/10.31004/jptam.v9i1.26592
Momahhed, S. S., Emamgholipour Sefiddashti, S., Minaei, B., & Shahali, Z. (2023). K-means clustering of outpatient prescription claims for health insureds in Iran. BMC Public Health, 23. https://doi.org/10.1186/s12889-023-15753-1
Ng, S. H.-X., Kaur, P., Tan, L. L. C., & al., et. (2025). Identifying clusters of healthcare expenditure trajectories in end-stage organ disease. BMC Health Services Research, 25. https://doi.org/10.1186/s12913-025-13590-z
Pioch, C., Henschke, C., Lantzsch, H., Busse, R., & Vogt, V. (2023). Applying a data-driven population segmentation approach in German claims data. BMC Health Services Research, 23. https://doi.org/10.1186/s12913-023-09620-3
Qiu, J., Hu, Y., Li, L., & al., et. (2025). Deep representation learning for clustering longitudinal survival data from electronic health records. Nature Communications, 16. https://doi.org/10.1038/s41467-025-56625-z
Sapitri, A., Nurdin, N., & Afrilia, Y. (2025). Implementation of clustering method using K-Means algorithm for grouping BPJS Health patient medical record data. Journal of Applied Informatics and Computing, 9(5). https://doi.org/10.30871/jaic.v9i5.10046
Yasin, P., Yimit, Y., Cai, X., & al., et. (2024). Machine learning-enabled prediction of prolonged length of stay in hospital. European Journal of Medical Research, 29. https://doi.org/10.1186/s40001-024-01988-0
Zamani, H., Parvaresh, F., & Nasr Isfahani, M. (2025). Optimizing patient flow logistics: Strategic challenges, tactical solutions, and operational excellence. BMC Health Services Research, 25. https://doi.org/10.1186/s12913-025-13516-9
Zhang, P., & al., et. (2025). Predicting high-need high-cost pediatric hospitalized patients using machine learning. Scientific Reports, 15. https://doi.org/10.1038/s41598-025-99546-z
Zhang, Y., & al., et. (2025). Clustering electronic health record data to identify distinct clinical trajectories and prognostic subgroups among patients with atrial fibrillation. Scientific Reports. https://doi.org/10.1038/s41598-025-91287-3
Downloads
Published
License
Copyright (c) 2026 Almerya Indriastuti, Arief Wibowo (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors retain the full copyright of their published articles. By submitting and publishing their work, authors grant Vifada Management and Social Sciences the right of first publication. All published articles are simultaneously licensed under the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided that the original author(s) and the initial publication in this journal are properly acknowledged.








