Journal of Emergencies, Trauma, and Shock

ORIGINAL RESEARCH PAPER
Year
: 2019  |  Volume : 12  |  Issue : 4  |  Page : 268--273

Application of queuing theory to optimize the triage process in a tertiary emergency care (“ER”) department


Atilio Moreno-Carrillo1, Lina María Ávila Arenas2, Julián Andrés Fonseca2, Camilo Andrés Caicedo3, Sandra Verónica Tovar4, Oscar Mauricio Muñoz-Velandia5,  
1 Department of Emergency, Hospital Universitario San Ignacio; Department of Internal Medicine, Emergency Medicine Program, Pontificia Universidad Javeriana, Bogotá, Colombia
2 Department of Internal Medicine, Emergency Medicine Program, Pontificia Universidad Javeriana, Bogotá, Colombia
3 Department of Internal Medicine, Hospital Universitario San Ignacio, Bogotá, Colombia
4 Department of Emergency, Hospital Universitario San Ignacio, Bogotá, Colombia
5 Department of Internal Medicine, Hospital Universitario San Ignacio, Pontificia Universidad Javeriana, Bogotá, Colombia

Correspondence Address:
Dr. Atilio Moreno-Carrillo
Department of Emergency, Hospital Universitario San Ignacio, Emergency Medicine Program, Pontificia Universidad Javeriana, Bogotá
Colombia

Abstract

Context: Time from triage to patient care is usually evaluated, but time elapsed between the arrival of patient to emergency room (ER) and triage (pretriage) is not usually measured. Aims: The present study evaluates how the application of the queuing (or “waiting line”) theory in the triage process can generate effective strategies to improve patient care in the ER. Settings and Design: A “before-and-after” study was conducted in the ER of the Hospital Universitario San Ignacio, a tertiary emergency care in Bogotá, Colombia. Subjects and Methods: The pretriage time was evaluated, and queuing theory was applied to the evaluation; according to the results, the number and distribution of the necessary nursing personnel were determined. Statistical Analysis Used: The change in waiting times was compared using a paired t-test. Results: In a first 7 months evaluation period, 89,898 patient visits were considered, with an average pretriage time of 22.15 min. According to the arrival distribution by hours and days of the week and considering the results of the calculations made using queuing theory, the number of nurses needed in the service per hour was determined for each day of the week, and schedule changes were implemented without increasing staff. In a second similar evaluation period, 94,497 patient visits were considered demonstrating a reduction of the pretriage time to 7.5 min (mean difference 14.64 min, 95% confidence interval 14.42–14.85, P < 0.001). Conclusions: The use of queuing theory in the planning of the daily personnel requirements in the triage area of ER can reduce the pretriage time by 65% without incurring additional cost.



How to cite this article:
Moreno-Carrillo A, Arenas LM, Fonseca JA, Caicedo CA, Tovar SV, Muñoz-Velandia O. Application of queuing theory to optimize the triage process in a tertiary emergency care (“ER”) department.J Emerg Trauma Shock 2019;12:268-273


How to cite this URL:
Moreno-Carrillo A, Arenas LM, Fonseca JA, Caicedo CA, Tovar SV, Muñoz-Velandia O. Application of queuing theory to optimize the triage process in a tertiary emergency care (“ER”) department. J Emerg Trauma Shock [serial online] 2019 [cited 2020 May 27 ];12:268-273
Available from: http://www.onlinejets.org/text.asp?2019/12/4/268/271216


Full Text



 Introduction



Patients prefer to visit the emergency room (ER) to alleviate their health problems for several reasons, including the possibility of having access 24 h a day, relatively fast attention, as well as the easy availability of human and biotechnological resources.[1] This situation has generated an increased demand and saturation in institutions providing this service, which has stimulated to review and restructure the processes to optimize patient care.[2],[3],[4],[5],[6],[7],[8]

In the ER, the patient classification process is the first stage of care. The application of tools, such as triage, allows the evaluation, classification, and administration and prioritization of patients according to the severity of the symptoms and not according to the order of arrival.[5] However, this first stage of care is associated with a greater clinical risk, which could be prevented if patients were treated in a timely manner.[3],[4],[6],[8],[9],[10],[11],[12],[13]

In the last 3 years (2015–2017), our ER received an average of 168,000 patients/year. In the first semester of 2016, complying with the national regulations, a five-level triage system was implemented, attended by nursing professionals. Three months after this change, a software was introduced to recognize patient visits as soon as they arrive and to organize the attention. Specifically, the patients registered in electronically and the software assign a number to be evaluated in the triage area. This made it possible to measure the time elapsed between the arrival of the patient and the triage (pretriage). In general, this time is not considered when measuring the emergency care process and its indicators.[6],[8],[13]

Pretriage should be as short as possible, considering that the longer the prioritization time, the greater the clinical risk of the patient.[5],[9] In an institution that provides health services in Bogota, Colombia, which serves an average of 3592 patients/month, the researchers found long pretriage times with an average time of 18 and 23 min for patients classified as Emergency Severity Index (ESI) Level 2 and 3, respectively.[10] In another institution, an average pretriage time of 24 min was found for nocturnal visits and 48 min on weekends [11] for 150 patients classified as ESI level 2. Both cases show long pretriage periods. Similar to what was reported in other institutions, our research found that in our emergency department the preclassification time frequently exceeded 30 min in 2016. The long waiting time motivated this investigation, with the intention of evaluating how to organize the staff's schedules, using queuing theory to reduce pretriage time.

 Subjects and Methods



We conducted a “before-and-after” study in the ER of the Hospital Universitario San Ignacio, a tertiary academic urban Hospital in Bogotá, Colombia. We included adult patients who requested emergency care and excluded gynecology and pediatric triages, considering that these patients have different facilities and access routes to our hospital. We did not collect sociodemographic data from patients since they are not related to pretriage times.

For the 7-month period from August 2016 to February 2017, we determined the time elapsed between the arrival of the patient to the ER and the triage process (pretriage). We consider the information registered in the automated software used to assign the order of attention.

In general, the implementation of queuing theory allows a better understanding of the dynamics of services such as ER [3],[8] and facilitates the development of strategies to improve its functioning.[6],[14] It is a mathematical model used in “waiting lines” that allows analyzing variables such as waiting times and dead times.[3],[4],[8],[13],[15],[16],[17],[18] When applying this theory to the triage process, it is assumed that there are three fundamental variables that affect the total attention times: (1) number of patients, (2) time used by the nurse to classify a patient, and (3) times of wait. The queue formed in the waiting room of the triage service was approximated using a M | M | c model, where the first M represents the distribution of the times between arrivals, calculated every hour thanks to the accuracy of the data delivered by the software used to assign turns. The second M refers to the service process, and the letter c represents the number of people serving. M means Markovian, a reference to the memoryless property of the exponential distribution, which implies that both the times between arrivals and the time used in a single attention follow an exponential distribution in each hour. According to this, we can define that arrivals to the waiting room for triage will occur according to a Poisson distribution, which would guarantee the exponentially of the times between arrivals.[3],[6],[15],[16]

The followings were the assumptions that we considered for the calculations based on the queuing theory:[3]

Patient waiting time should not exceed 5 min (data obtained from the historical data of this procedure in the department)Patient care capacity per hour (μ) varied according to the number of nursing professionals needed to avoid exceeding 5 min.

The formula [19] and nomenclature used were the following:

λ = arrival rate when there is n, in this case, the average number of patients who came per hour.

c = number of nurses on duty (varies to meet the first guideline).

μ= c * 12 = patient care capacity per hour.

ρ= λ/μ = utilization rate.

L = ρ/(1-ρ) = expected number of patients.

Lq= ρ*L = expected number of patients in the queue.

W = L/λ= customer waiting time in the system (refers to the time elapsed since he/she takes the turn until the end of the attention).

Wq = waiting time in the queue (refers to the time elapsed since taking the turn until the call to be attended).

After we analyzed our pretriage state at baseline and determined the optimum distribution of nurses using queuing theory, we made changes in staff's schedules based on this analysis. Specifically, our intention was to define the number of nurses needed to reduce the waiting time in the queue to a minimum (ideally <5 min) but looking for a neutral resource approach or minimal impact with respect to the number of nurses.

We evaluated a second 7-month period from August 2017 to February 2018. Finally, we compared baseline pretriage times, before and after staff's schedules changes using a paired t-test. A STATA 15 statistical package (StataCorp., 2015. Stata Statistical Software, College Station, TX: StataCorp LP) was used.

 Results



For the first evaluation period, 89,898 patient visits were considered (monthly average of 11,237 turns). [Table 1] shows information on the average number of patients who came per hour and the average number of patients per day. Although the number of users from Monday to Sunday was different, the arrival behavior was the same, with maximum peaks from 10:00 am to 12:00 pm and from 2:00 pm to 4:00 pm.{Table 1}

Our model allowed us to design the ideal staff's schedules to keep wait times less than 5 min. As we considered that the average number of patients arriving each day was different, we obtained different results for each day. [Table 2] shows the results of the analysis for Monday, including the expected time in queue and waiting time in queue. [Table 3] shows the number of professionals (c) needed in the triage service per hour each day of the week, according to the model.{Table 2}{Table 3}

With this information, we organized the staff in a new schedule. The existing staff included eight professional nurses in triage area, and a supernumerary chief nurse who had different functions. The staff employed after the changes included the same number of professionals but with functions in triage for the supernumerary chief nurse in some hours. [Table 4] shows the distribution of nursing staff in both periods.{Table 4}

When observing the staff distribution, it is evident that there is a surplus of staff in certain hours, comparing the suggested and the implemented schedule [Table 5]. It allowed us to cover the additional functions that the supernumerary chief nurse covered in the preintervention period, to support other areas of the emergency department. These changes were consulted and supported by the nurses of the area, which facilitated its implementation.{Table 5}

To evaluate the impact of the changes in the triage procedure, we compared the data of periods before and after the implementation of the staff distribution suggested by the model [Table 6]. For the second evaluation period, we took into account the information on 94,497 turns (monthly average of 11,812 turns). [Table 6] shows that the average pretriage waiting time in the queue in the 2016–2017 period was 22.15 min, while the pretriage waiting time in the 2017–2018 period, after implementing the changes, was 7.5 min. This was a significant difference (mean difference 14.64 min, 95% confidence interval 14.42–14.85, P < 0.001).{Table 6}

 Discussion



The present work evaluates the impact of an intervention based on queuing theory in pretriage time in an ER. It showed a significant improvement in service times, without affecting costs or personnel employed, which shows that personnel planning with this strategy is effective to achieve a timely classification. Although a similar number of patients were received each month, the time before triage was reduced by an average of 14.6 min. This corresponds to a 65% reduction in the waiting time.

[Table 6] shows that the average wait time in the queue (Wq) for the period 2017–2018 was 7.5 min. In the last 3 months of this period (December to February), the behavior was stable, with an average time of approximately 6.2 min, evidencing a progressive decrease in the average time in the queue (Wq), which began in August 2017 with 8.5 min and ended in February 2018 with 6.4 min.

Even when a five-level triage system based on the ESI was implemented 3 months before the beginning of this study, our surveillance showed that time to complete the triage process was stable in both periods of evaluation, so the changes are associated only with the changes explained in the staff schedules.

In addition, we evaluated the time elapsed between the triage and the evaluation by the physician. For patients classified as triage 1, 2, and 3, the times were 2.2 ± 3.85, 34.9 ± 4.49, and 53.1 ± 5.6 min respectively, without significant changes between the two evaluation periods. Thus, the reduction in pretriage time resulted in a real reduction in the total time between arrival at the ER and the evaluation of patients by physicians.

The success of this implementation was mainly due to four factors: (1) the choice of the appropriate method to address the problem (queuing theory); (2) the accuracy of the data used to perform the work, as the data from the software used to assign turns allowed to make precise calculations for an adequate distribution of the staff shifts; (3) the willingness of the ER leadership to understand the technical concept and the need to implement it quickly, associated with; and (4) the willingness and active collaboration of the nursing staff to implement the strategy.

Some limitations must be addressed. As with any standardized analysis model, the analysis performed in the first observation period is an approximation of real life, allowing a detailed overview of the system. However, even when the assumptions of the model are relatively few, some interactions between the factors could not be considered initially. However, the observation of a significant reduction in pretriage time, with a similar time when comparing the calculated time, and the time finally observed (5 vs. 7.5 min) suggested a correct model.

We assume that all the differences found in the pretriage time between both periods of observations are associated with the implementation of the of the personnel distribution suggested by the queue theory study; however, our model cannot rule out other possible explanations. For example, behavior of the staff could be associated with the knowledge that they were being observed, reducing the waiting time (Hawthorne effect); however, this explanation is unlikely, since the time observed in both periods was long (7 months).

 Conclusions



The application of the queuing theory in health services allows a better understanding of the dynamics of complex services as the emergency department, which facilitates the application of strategies to improve its functioning and efficiency.

Financial support and sponsorship

Nil.

Conflicts of interest

There are no conflicts of interest.

References

1Bustos-Córdova E, Martínez-Pantaleón O, Cabrales-Martínez R, Amor-Santoyo S, Benadón-Darszón E, Cerón-Rodríguez M. When a health problem is an urgency and when this is non urgent? Rev Mex Pediatr 2005;72:308-14. Available from: http://www.medigraphic.com/pdfs/pediat/sp-2005/sp056i.pdf. [Last accessed on 2018 Jul 16].
2Miniati R, Cecconi G, Dori F, Frosini F, Iadanza E, Biffi Gentili G, et al. A queueing theory based model for business continuity in hospitals. Conf Proc IEEE Eng Med Biol Soc 2013;2013:922-5.
3Jones SS, Evans RS. An agent based simulation tool for scheduling emergency department physicians. AMIA Annu Symp Proc 2008;2008:338-42.
4Komashie A, Mousavi A, Clarkson PJ, Young T. An integrated model of patient and staff satisfaction using queuing theory. IEEE J Transl Eng Health Med 2015;3:2200110.
5Ball JE, Murrells T, Rafferty AM, Morrow E, Griffiths P. 'Care left undone' during nursing shifts: Associations with workload and perceived quality of care. BMJ Qual Saf 2014;23:116-25.
6Laskowski M, McLeod RD, Friesen MR, Podaima BW, Alfa AS. Models of emergency departments for reducing patient waiting times. PLoS One 2009;4:e6127.
7Haghighinejad HA, Kharazmi E, Hatam N, Yousefi S, Hesami SA, Danaei M, et al. Using queuing theory and simulation modelling to reduce waiting times in an Iranian emergency department. Int J Community Based Nurs Midwifery 2016;4:11-26.
8Garcés DA, Castrillón OD. Design of intelligent technology to identify and reduce downtime in a production system. Inf Tecnol 2017;28:157-70.
9Carballo Cardona C. Advanced triage: Time to take a step forward. Emergencias 2015;27:332-5.
10Martínez P, Martínez J, Cavazos J, Nuño J. Improvement of Patient Care Time in an Emergency Department through the Application of Lean Manufacturing. N Sci 2016;8:17-40. Available from: http://www.scielo.org.mx/scielo.php?script=sci_arttext&pid=S2007-07052016000100017. [Last accessed on 2018 Jul 16].
11Martínez P, Martínez J, Nuño P, Cavazos J. Improvement of patient care time in an emergency department through the application of lean manufacturing. Inf Tecnol 2015;26:187-97. Available from: https://scielo.conicyt.cl/scielo.php?script=sci_arttext&pid=S0718-07642015000600019. [Last accessed on 2018 Jul 16].
12McManus ML, Long MC, Cooper A, Litvak E. Queuing theory accurately models the need for critical care resources. Anesthesiology 2004;100:1271-6.
13DeFlitch C, Geeting G, Paz HL. Reinventing emergency department flow via healthcare delivery science. HERD 2015;8:105-15.
14Shu H, Song C, Pei T, Xu L, Ou Y, Zhang L, et al. Queuing time prediction using WiFi positioning data in an indoor scenario. Sensors (Basel) 2016;16. pii: E1958.
15Gorunescu F, Mcclean S, Millard P. A queueing model for bed – Occupancy management and planning of hospitals. J Oper Res Soc 2002;53:19-24.
16Pen I, Weissing FJ. Optimal floating and queuing strategies: The logic of territory choice. Am Nat 2000;155:512-26.
17Hagen MS, Jopling JK, Buchman TG, Lee EK. Priority queuing models for hospital intensive care units and impacts to severe case patients. AMIA Annu Symp Proc 2013;2013:841-50.
18Singer M, Scheller-wolf A. Una introducción a la teoría de colas aplicada a la gestión de servicios. Rev Abante 2008;11:1-22.
19Nahmias S. Teoría de Colas. En: Análisis de la Producción y las Operaciones. México: McGraw-Hill; 2005. p. 453-82.