Evaluation of factors that influenced the length of hospital stay using data mining techniques

Thumbnail Image
Eskandari, Mehrnoosh
Alizadeh Bahmani, Amir H.
Mardani-Fard, Heydar A.
Karimzadeh, Iman
Omidifar, Navid
Peymani, Payam
Journal Title
Journal ISSN
Volume Title
Abstract Background length of stay (LOS) is the time between hospital admission and discharge. LOS has an impact on hospital management and hospital care functions. Methods A descriptive, retrospective study was designed on about 27,500 inpatients between March 2019 and 2020. Required data were collected from six wards (CCU, ICU, NICU, General, Maternity, and Women) in a teaching hospital. Clinical data such as demographic characteristics (age, sex), type of ward, and duration of hospital stay were analyzed by the R-studio program. Violin plots, bar charts, mosaic plots, and tree-based models were used to demonstrate the results. Results The mean age of the population was 40.8 ± 19.2 years. The LOS of the study population was 2.43 ± 4.13 days. About 60% of patients were discharged after staying one day in the hospital. After staying one day in the hospital, 67% of women were discharged. However, 23% of men were discharged within this time frame. The majority of LOS in the CCU, ICU, and NICU ranged from 5 to 9 days.; In contrast, LOS was one day in General, Maternity, and Woman wards. Due to the tree plot, there was a different LOS pattern between Maternity-Women and the CCU-General-ICU-NICU wards group. Conclusion We observed that patients with more severe diseases hospitalized in critical care wards had a longer LOS than those not admitted to critical care wards. The older patient had longer hospital LOS than the younger. By excluding Maternity and Woman wards, LOS in the hospital was comparable between males and females and demonstrated a similar pattern.
BMC Medical Informatics and Decision Making. 2022 Oct 29;22(1):280