Abstract
Emergency departments (EDs) have faced with high patient demand during peak hours in comparison to the other departments of hospitals because of their complexity and uncertainty. Therefore prolonged waiting times in EDs have caused the dissatisfaction on patients. Patient length of stay (LOS), also known as patient throughput time, is generally considered to be the length of time that passes from the patient’s time of arrival at the ED until time of discharge or transfer to another department of the hospital. Starting from patient admissions to the EDs it becomes important have to be known the overall LOS in terms of right resource allocation and efficient utilization of the department. For this purpose this paper aims to forecast patient LOS using Artificial Neural Network (ANN) within the input factors that are predictive such as patient age, sex, mode of arrival, treatment unit, medical tests and inspection in the ED. The method can be used to provide insights to ED medical staff (doctors, nurses etc.) determining patient LOS.
Özet
Acil servisler hastanelerin diğer birimlerine göre karmaşıklık ve belirsizliğin fazla olduğu birimler olduklarından, yoğun saatlerde yüksek hasta talebi ile karşılaşmaktadırlar. Bundan dolayı, acil servis içerisinde uzayan bekleme süreleri hastalar üzerinde memnuniyetsizliğe yol açmaktadır. Hasta kalış uzunluğu, diğer bir deyişle hastanın geçirdiği toplam süre, genellikle hastanın acil servise gelişinden taburcu edilmesi ya da hastanenin diğer bir birimine sevk edilmesine kadar geçen sürenin uzunluğu olarak değerlendirilmektedir. Hastanın acil servise kabulünden başlanılarak, toplam kalış uzunluğunun bilinmesi doğru kaynak tahsisi ve birimin etkin kullanımı açısından önemli hale gelmektedir. Bu amaçla bu çalışma, hasta yaşı, cinsiyet, varış türü, muayene ünitesi, acil serviste uygulanan tıbbi testler ve muayene gibi belirleyici olan girdilerle birlikte Yapay Sinir Ağları (YSA) kullanılarak hasta kalış uzunluğunu tahmin etmeyi amaçlamaktadır. Metot, acil servis tıbbi personeline (doktorlar, hemşireler vb.) hasta kalış uzunluğunun belirlenmesi için fikir vermede kullanılabilmektedir.
Similar content being viewed by others
1. Introduction
Emergency Departments (EDs) are the busiest departments in a hospital and its main purpose is to provide timely emergency care to patients [1,2]. The highest attribute of emergency departments is their uninterrupted serviceability. Providing this service to a lacker in a short time and giving priority to very urgent one is essential. But people don't have any urgent cure may apply to emergency departments rarely. These applications cause patient overcrowding in many emergency departments. Thus waiting times and unsatisfaction levels of patients may increase, a general complex condition may occur in the ED [3]. Some indicators that emergency departments use to evaluate their operations and service quality are average waiting time, average LOS, ED productivity, resource utilization and layout efficiency [4,5]. Prolonged waiting times have been a major cause of ED overcrowding, that is a main reason of supply– demand mismatch [1]. Prolonged waiting times are constituted by the long waits in triage, delays in testing or obtaining test results, waiting for the physician, and shortage of nursing staff [6]. El-Sharo [7] reveals several reasons that cause to increase long waiting times in emergency departments. These reasons include the inefficient utilization of ED resources, miscommunication between ED staff to ensure the smoothness of flow of patients in or out of the emergency department, delays in admitting patients from the emergency department, inefficient resource allocation in the hospital, and other external factors, such as an increase in demand of patients due to a reduction in the number primary care physicians in the neighboring area of the emergency department. LOS is used to assess hospital ED costs and effectiveness and is made use of several methods to forecast [8]. Accurate forecasting of patient LOS enables ED management right resource allocation and efficient utilization of the department resources. In [9], it is emphasized that forecasting and determining LOS in hospitals can be very useful for hospital management, particularly for prioritizing health care policies and promoting health services, comprising the appropriate allocation of health care resources according to differences in patients’ LOS along with considering patients’ health status and socialdemographic features. Therefore, we aim to forecast patient LOS using Artificial Neural Network (ANN) within the input factors that are predictive such as patient age, sex, mode of arrival, treatment unit, medical tests and inspection in an emergency department.
2. Literature review
Limited number of studies related to the forecasting of LOS are available in the literature. The studies use various methods to forecast including such as ANNs, linear regression and logistic regression. Li et al. [8] propose a data mining approach based on Back- Propagation (BP) neural networks to construct a LOS prediction model. They analyze 921 cholecystitis patients data of a Chinese hospital treated between 2003 and 2007. The model constructed provides approximately 80% accuracy and reveal 5 LOS predictors: days before operation, wound grade, operation approach, charge type and number of admissions. Wrenn et al. [10] estimate patient's length of stay in the ED with an ANN. They develop an ANN using the software Stuttgart Neural Network Simulator using patient variables such as age, acuity level, coded ICD-9 chief complaint, language, order for a consult service, presence of at least one laboratory exam, and presence of at least one radiology exam. They also use operational variables
By the conclusion of the study they point out that ANNs have the potential to be a powerful tool for the analysis of complex medical system data like EDs. Xu et al. [1] use a data-driven method to identify variables correlated with the daily arrivals of the non-critical patients and model this association using ANNs. They compare the ANN modeling with the non linear least square regression (NLLSR) and multiple linear regression (MLR) in terms of mean average percentage error (MAPE). In this study, we apply a data mining approach ANN to forecast ED patient LOS. The constructed model can be used to provide insights to ED medical staff (doctors, nurses etc.) determining patient LOS. The study contributes to the literature with some aspects. First, it proposes an ANN-based forecast model considering new predictors such as mode of arrival, door-to-doctor time apart from similar studies in the literature. Second, it uses a real data of a leading university hospital ED in Turkey and the model performed in this ED is the first attempt in order to forecast LOS.
3. Material and method
In this section, the model data, ANNs as the modeling technique and constructed ANN model considering ED LOS forecasts are introduced in sub-sections, respectively.
3.1. Data
The data is obtained from a regional university hospital emergency department in eastern part of Turkey that serves approximately an average of 40.000 patients per year. We collect a total data of 1500 ED patients who were treated in the department in October and November, 2010. We provide the related data by the aid of hospital information management system, medical staff opinion and manual data collecting forms. The variables used for generating ANN model are categorical and numeric. The statistical results for numeric and categorical variable types are presented in Tables 1-2. “Number of tests” represents the number of tests that patients take during their hospitalization in the emergency department. Most of the patients take one test. “Doorto- doctor time” represents the time between registration and first treatment area by a doctor. It especially takes 4 minutes. “ED LOS” is our output variable (dependent variable). It is generally considered as the time that passes from the patient’s time of arrival at the emergency department until time of discharge or transfer to another department of the hospital. In Table 2, patient mode of arrival express the patient type of arrival at the emergency department. A patient who comes on foot, by his/her special car or on a stretcher refers to walk-in patient. A patient who moves into the ED via an ambulance vehicle (car, helicopter etc.) refers to ambulance patient. Treatment areas consist of five different areas where patients are sent by their acuity level.
While, critical patients are sent to the beds with monitors (monitor beds area), non-critical patients who have minor injuries, headache, stomach ache etc. are sent to Emergency-1 and Emergency-2 rooms. Patients who had an accident and had major injures are rapidly placed under observation in resuscitation area. Patients who have infectious diseases are placed in a room called emergency response room.
3.2. Artificial Neural Networks
Artificial Neural Networks (ANNs), which are generally called as “neural networks” or “neural nets”, attempt to reproduce the computational processes taking place in the central nervous system (CNS) by using a set of highly interconnected processing elements [1]. An ANN model, which is formed of n layers, presents a different number of computational elements that function like biological neurons and intensive connections between these computational elements among layers. The computational elements used in various ANN models are named as artificial neurons or process elements [12, 13]. The first layer which is called as the “input” layer and the last one which is called as the “output” layer are used to get information from inside and outside the network, respectively. The middle layers which are generally called as “hidden” layers are essential to the network in order to be able to convert certain input patterns into appropriate output patterns [1]. ANNs are applied to several practices such as forecasting. For ED operations, ANNs are frequently applied to forecast ED patient arrivals [1], ED LOS [8,10], ED patient admission process [7], etc [4].
3.3. Empirical Study
We prefer to use professional neural network-based software Alyuda Neurolntelligence®. We follow a study process including the steps as here: (1) data collection, (2) data preparation, (3) correlation analysis on the variables and (4) modelling by ANN. After the data entry to the software, the system randomly selects 68% of the data as training sets, 16% of the data as validation sets and 16% of the data as test sets. The software has an automatic architecture search module which selects [33-27-1] architecture for training (see Figure 1).
This means that the system selects a single hidden layer as well as 27 hidden neurons. We make a correlation analysis before developing an alternative ANN model. The alternative model includes factors that have a strong correlation with the independent variable LOS. The correlation analysis is performed by Minitab® 17.1.0 with a significance level (α) of 0.05. We calculate the correlation coefficient for every variable (numeric and categorical) with LOS. The results are given in Table 3. We divide the significance into three correlation strengths as in [8]: strong (1-p>0.95), medium (0.90<1-p<0.95) and weak (1-p<0.90), where p is the test probability value.
4. Results and discussion
We use an initial learning rate of 0.1 and a momentum of 0.1. We try alternative values for both the learning rate and momentums of (0.1), (0.2), (0.4) and (0.6) along with various learning algorithms such as Quick Propagation, Quasi-Newton, Online-Back Propagation and Levenberg-Marquardt. We run all the models within a cycle of 500 iterations. We try 64 various models in total and obtain the best value with the lowest absolute error (Table 4). The scatter plot related to the target, output values of the ANN model and a comparison of actual and output values of the model have been acquired by means of the software (as shown in figure 2).
To obtain an alternative ANN model, we exclude the variables that have little affects (variables with weak or medium correlation) on LOS. Therefore we run the new model with all the variables except gender, oncall physician, prothrombin time test and door-todoctor time. The performance of the new model is shown in Table 5. We could see that the accuracy of the models are nearly similar.
5. Conclusion
This study presents an ED LOS forecasting model using ANNs. We benefit a collected data of 1500 ED patients and identify several variables. While some of them are categorical variables such as gender, mode of arrival, on-call physician, treatment area and taking some tests, the remaining are numerical variables such as number of tests and door-to-doctor time. In the study, we propose two ANN-based models by a base model that includes all variables and an alternative model that takes into consider all the variables except variables with weak or medium correlation on LOS. Each of the models did not give an ideal prediction accuracy that is generally expected to be better than 80% in forecasting. The reason of this is considered to be originated from the selection of insufficient or inaccurate input variables. For future directions, other forecasting techniques such as MLR, logistic regression and support vector machine (SVM) can be used and compared the current results.
6. Acknowledgement
We thank to Dr. Mustafa Yıldız, the head of the department of the emergency medicine at Fırat University Hospital. And we also owe doctors and nurses work by all three shifts a debt of gratitude for helps on getting access data.
7. References
Xu, M., Wong, T.C., Chin, K.S., 2013, Modeling daily patient arrivals at Emergency Department and quantifying the relative importance of contributing variables using artificial neural network, Decision Support System, 54, 1488–1498.
Gul, M., Guneri, A.F., 2012, A computer simulation model to reduce patient length of stay and to improve resource utilization rate in an emergency department service system, International Journal of Industrial Engineering: Theory, Applications and Practice, 19(5), 221–231.
Ersel, M., Karcıoğlu, Ö., Yanturalı, S., Yürüktümen, A., Sever, M., Tunç, M.A., 2006, Emergency Department utilization characteristics and evaluation for patient visit appropriateness from the patients’ and physicians’ point of view, Turkisj Journal of Emergency Medicine, 6(1), 25–35 (In Turkish).
Gul, M., Guneri, A.F., 2015, A comprehensive review of emergency department simulation applications for normal and disaster conditions, Computers & Industrial Engineering, 83(5), 327–344.
Gül, M., Güneri, A.F., Tozlu, Ş., 2014, Prioritization of emergency department key performance indicators by using fuzzy AHP, 15th International Symposium on Econometrics, Operations Research and Statistics, Isparta, Turkey.
Paul, J.A., Lin, L., 2012, Models for Improving Patient Throughput and Waiting at Hospital Emergency Departments, The Journal of Emergency Medicine, 43(6), 1119–1126.
El-Sharo, M.R.A., 2002, Predicting hospital admissions from emergency department using artificial neural networks and time series analysis, MSc Thesis, Yarmouk University, Jordan.
Li, J-S., Tian, Y., Liu, Y-F., Shu, T., Liang, MH., 2013, Applying a BP neural network model to predict the length of hospital stay, In Health Information Science (pp. 18–29). Springer Berlin Heidelberg.
Hachesu, P.R., Ahmadi, M., Alizadeh, S., Sadoughi, F., 2013, Use of data mining techniques to determine and predict length of stay of cardiac patients, Health Informatics Research, 19(2), 121–129.
Wrenn, J., Jones, I., Lanaghan, K., Congdon, C.B., Aronsky, D., 2005, Estimating Patient’s Length of Stay in the Emergency Department with an Artificial Neural Network. In AMIA Annual Symposium Proceedings (Vol. 2005, p. 1155). American Medical Informatics Association.
Somoza, E., Somoza, J.R., 1993, A neuralnetwork approach to predicting admission decisions in a psychiatric emergency room, Medical Decision Making, 13(4), 273–280.
Guneri, A.F., Gumus, A.T., 2008, The usage of artificial neural networks for finite capacity planning, International Journal of Industrial Engineering: Theory, Applications and Practice, 15(1), 16–25.
Guneri, A.F., Gumus, A.T., 2009, Artificial Neural Networks for Finite Capacity Scheduling: A Comparative Study, International Journal of Industrial Engineering: Theory, Applications and Practice, 15(4), 349–359.
Kilmer, R.A., Smith, A.E., Shuman, L.J., 1997, An emergency department simulation and a neural network metamodel, Journal of the society for health systems, 5(3), 63–79.
Author information
Authors and Affiliations
Corresponding author
Additional information
“Open Access: This article is distributed under the terms of the Creative Commons Attribution License (CC-BY 4.0) which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.”
Vitae
MSc Muhammet GUL
Muhammet Gul is PhD student and has been working at the Department of Industrial Engineering, Yildiz Technical University, Istanbul, Turkey. He received MSc degree in Industrial Engineering from Yildiz Technical University. His research interests are in simulation modelling, healthcare system management, occupational safety, multi-criteria decision making and fuzzy sets.
Assoc. Prof. Dr. Ali Fuat GUNERI
Ali Fuat Guneri has been working at the Department of Industrial Engineering, Yildiz Technical University, Turkey since 1990. He received PhD in Industrial Engineering from the Yildiz Technical University. His research interests are in production management, supply chain management and occupational safety.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made.
The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
To view a copy of this licence, visit https://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
GUL, M., Guneri, A. Forecasting patient length of stay in an emergency department by artificial neural networks. J Aeronaut Space Technol 8, 15 (2015). https://doi.org/10.7603/s40690-015-0015-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.7603/s40690-015-0015-7