Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

The capacity of a community to react to and resist an emergency, regardless the spatial scale of the area of interest is strictly related to the proper functioning of its own critical infrastructure systems. To this purpose, hospitals have been recognized critical networks as part of the organized governmental services which must continue to function when an emergency occurs.

Within a short period, the majority of medium and large size hospitals have an emergency plan that expands their services quickly beyond normal operating conditions to meet an increased demand for medical care, but it is impossible for them to test it before an emergency occurs.

Between all the hospital departments, the Emergency Department (ED) is the key area in the hospital during a disaster. In fact, the ED plays a pivotal role in the delivery of acute ambulatory and inpatient care, providing immediate assistance request during a 24 h period (Morganti et al. 2013).

In particular this chapter focuses on the evaluation of Resilience metrics for organized governmental services in term of emergency response (Fig. 11.1). This chapter develops a simplified model that can describe the ability of the Hospital Emergency Department to provide service to all patients after a natural disaster or any other emergency (Cimellaro et al. 2010). The waiting time is the main response parameter used to measure hospital resilience to disasters. To this purpose, first, a discrete event simulation model of the Emergency Department in a hospital located in Italy is developed taking into account the hospital resources, the emergency rooms, the circulation patterns and the patient codes. Then, using the results obtained from the simulations, a general metamodel that can be applied to any type of hospital is developed, which provides the waiting times of patients as function of the seismic input and the number of the available emergency rooms.

Fig. 11.1
figure 1

Chapter 11 outline

2 Literature Review

The majority of studies which focus on evaluating the service quality and efficiency of the healthcare facilities are based on the patients’ waiting time, which is the time the patient has to wait before receiving assistance by a doctor (Dansky and Miles 1997). Many studies have been developed over the years to analyze how to decrease the patient waiting times. One of the earliest studies was conducted by Fetter and Thompson (1965), which analyzed the doctors utilization rates with respect to patient waiting time using different input variables (e.g. patient load, patient early or late arrival patterns, walk-in rates, physician service etc.). Later, in the 1990s, Kirtland et al. (1995) developed some of the first studies in the optimization of human resources analyzing how to improve patient flow in an ED. They identified three alternatives that can save an average of 38 min of waiting time per patient. Later, Martin et al. (2003) analyzed the parameters and the strategies which can be used to decrease the patient waiting time and therefore to improve the hospital performance.

Takakuwa and Shiozaki (2004) proposed a procedure for planning emergency room operations that minimize patient waiting times. They found that patient waiting time was substantially reduced by adding a more appropriate number of doctors and medical equipment. A similar study to assess the effect of some possible changes in the ED processes was also presented by Mahapatra et al. (2003) which showed that the addition of a care unit improved the average waiting times by at least 10 %.

Later, Lau (2008) studied new patient scheduling rules for three Orthopedic Clinics across Ontario in order to find solutions to long patient waiting times by proposing a new scheduling algorithm.

Santibáñez et al. (2009) provided a framework on how to reduce the waiting time and improve the resource allocation using a computer simulation model of the Ambulatory Care Unit (ACU).

Later, Yerravelli (2010) studied the patients’ waiting times at KCH Emergency Department. The objective of the research was to evaluate the hospital performance, as well as to identify the opportunity by reducing waiting times using the KCH ED model. Furthermore, resource utilization was taken into account in order to determine the required staffing levels and to minimize the operating costs. Duda (2011) examined whether hospital strategies were aligned with its processes. In particular, he analyzed the patients’ flow, the time spent in the hospital before receiving assistance. His goal is to identify which processes need to be changed and which alternatives need to be considered to increase the effectiveness of the patient flow processes and to reduce the waiting time. More recently, Hu (2013) studied an optimal human resource allocation to reduce the patient waiting time using Discrete Event Simulation models (DES) on an existing Clinic. DES models are widely used to simulate hospitals, because healthcare facilities are complex systems with multiple interactions between patients, doctors, nurses, technicians, different departments and circulation patterns. The interaction between all these components is described realistically through DES models. Many studies have been performed over the years and nowadays it is possible to find several references related to this field (Günal and Pidd 2010). DES models are also used as a communication tool between the hospital administration and the model developers helping the administrators to understand the performance of the different healthcare processes (Van der Meer et al. 2005; Morales 2011). Moreover, DES model allows the investigation and planning for the use of the hospital resources (Šteins 2010). Below are some additional examples of ED which have been modeled using DES models.

Samaha et al. (2003) developed a DES model of the ED and tested different scenarios by concluding that the waiting time is process related and not resource related, so according to the authors the triage with – fast track – area can reduce the patient waiting time.

Later, Komashie and Mousavi (2005) conducted sensitivity analysis by varying the number of beds, doctors, nurses in the simulation model to reduce the waiting time.

Davies (2007) developed a new approach called “See” and “Treat” method, where the triage process is eliminated and the patients are directed by a qualified receptionist to the doctor or to a emergency nurse practitioner (ENP) based on the patient’s condition. This approach is supposed to eliminate the patient waiting time by simplifying the service.

Medeiros et al. (2008) developed a DES model for the ED by implementing a new approach known as PDQ (Provider-Directed-Queuing) which can reduce non-critical patients waiting time and increase the room availability for the critical patients. Recently, DES models have also been used by Morgareidge et al. (2014) to optimize the design of the ED space and the care process for a specific case study.

3 Methodology

Outlined in this paragraph is the methodology used here to develop the metamodel of an ED, using the step-by-step procedure described below:

  1. 1.

    Creation of a discrete event simulation model for the ED with and without an emergency plan, using as input data the estimated patient arrival rate in normal as well as in emergency operating conditions;

  2. 2.

    Development of a metamodel (Cimellaro et al. 2010) to evaluate the hospital waiting time using a reduced number of input parameters: the magnitude of the seismic input and the number of non functional emergency rooms;

  3. 3.

    Development of a general metamodel that can be applied to any hospital;

In the next paragraphs the different steps of the procedure are described.

4 Discrete Event Simulation Model for the ED

Simulation modeling is the process of creating a discretization of an existing physical system to predict its performance in the real world. The steps for developing the model are described in the following paragraphs.

4.1 Description of the Case Study

The hospital considered for the analysis is the Umberto I Mauriziano Hospital located in Turin, Italy (Fig. 11.2). The hospital is located in the southeast part of the city, approximately 3 km far from the center. It was built in 1881, but it was bombed several times during World War II, so several parts have been rebuilt or extended. Currently it includes 17 units, which correspond to different departments, and it covers an overall surface of 52,827 m2. While developing the simulation model, only the Emergency Department, which is located in the building 17, has been considered (Fig. 11.3).

Fig. 11.2
figure 2

Umberto I Mauriziano hospital, Turin

Fig. 11.3
figure 3

Hospital’s units – emergency department building

The ED consists of an entrance area in which “triage” is carried out, and four macro areas corresponding to the four different color codes, that represent the severity of injury. In particular, these four color codes are red, yellow, green and white. Red codes (emergency) identify patients with compromised vital functions, already altered or unstable whose lives are at risk. Yellow codes (urgency) are patients who are not in immediate danger of life, but present a partial impairment of vital functions. Green codes (minor urgency) have a no critical situation, so their lives are not at risk and their lesions do not affect vital functions. White codes (no urgency) include all patients who have neither serious nor urgent injuries and who do not really need to be in the ED, so their treatment can be provided by a general doctor.

The ED is normally divided into four main areas but, when the Emergency Plan is applied, the number of areas is reduced to three (Fig. 11.4), because in emergency conditions the white codes are sent to another facility outside the ED. In emergency conditions, the red code area is located immediately in front of the ambulance entrance and contains two rooms in which patients receive the first treatments. Parallel to this area, there is the yellow codes’ area composed of three emergency rooms, while the green codes’ area is situated perpendicular to yellow and red codes’ areas and includes two emergency rooms. Each area is provided with waiting rooms in which patients can wait before being treated. Moreover, inside the ED there are recovery rooms in which patients can stay before being discharged or recovered in another part of the hospital.

Fig. 11.4
figure 4

Emergency department color-codes areas

4.2 Description of the Model and Assumptions

In this research, the ED (Fig. 11.5) has been simulated using a discrete event simulation (DES) model built in ProModel®;  7.00, (downloaded on February 15, 2014) (ProModel 2014). ProModel is a discrete-event simulation software that is used to plan, design and improve complex systems such as tactical and operational systems. Discrete Event Simulation (DES) model has been selected to study the hospital, because the ED is a complex and dynamic system in which the state variables change continuously over time. In addition, DES models allow users to test different asset allocations which are characterized by complex relationships between system processes.

Fig. 11.5
figure 5

DES model of the Mauriziano ED

In detail, in the model, it is assumed that the hospital structural and non-structural elements remained undamaged after the earthquake. Four codes have been considered to divide the patients arriving in the ED: red, yellow, green and white. Actually, the Emergency Plan of the hospital also considers blue and black codes that represent respectively “compromised vital functions” and “death”. While developing the model, these two additional codes have not been considered because they have no influence on patients’ waiting times. It is also assumed, that once the code is assigned according to the triage, the patients cannot change their status while their staying in the ED.

All the assumptions in the model have been approved by the Emergency Department Staff and the Emergency Plan Director of the Hospital. The ED of the case study consists of emergency rooms (ER) which are different for each color code area, two waiting rooms (WR), a triage room (Triage), an exams area, a critical area, one shock room (SR) and one intensive reanimation room (IR), several observation rooms (OR) and some separate stations (Fig. 11.6).

Fig. 11.6
figure 6

Patient path in the emergency department

There are two entrances to the ED, one is for ambulance only, while the second is for patients and visitors. The first one is located in the northwest part of the ED, near the red code area, while the second one is in the southwest side. Therefore, the patients that arrive by ambulance or car (e.g. red codes) enter though the north entrance, which is closest to the shock and intensive care rooms. On the other hand, all the other walk-in patients use the south entrance that is nearest to the yellow and green codes areas. There are three exits from the ED, which are used according to the patient destination (healthcare facilities, hospital wards, dismissed). They are situated in the south, northeast and southeast sides of the ED. Each place is called “location” according to Promodel terminology and have a given assigned capacity. Some locations, such as the entrances, the exits, and the waiting rooms, have an infinite capacity while others, like the emergency rooms, the shock room, the intensive care room, have a defined number of patients who can be treated at the same time.

Inside the locations, the “entities” carried out their duties. In this model, the entities are the patients visiting the ED, who are categorized according to the severity of their injury. In particular, they have been divided into four categories corresponding to the four color codes: red, yellow, green and white codes. An entry, a path and a travel speed has been assigned to each patient type. For example, yellow, green and white codes travel at the speed of 50 mpm, while red codes travel at the speed of 60 mpm.

Patients, nurses and doctors follow a predefined “network path” (Fig. 11.6) composed of nodes and edges (dotted lines) which can be unidirectional or bidirectional. Not all the paths are accessible to all the entities. For example, the passage from the red to the yellow area is accessible only to the medical staff. Furthermore, if multiple path options are available at a single node, then the shortest distance path is selected.

The “resources” correspond to the medical doctors, nurses, health care operators, etc. They are divided into two categories: those that provide service from a fixed station and those that travel through the ED. Each resource has its own schedule which is summarized in Table 11.1, according to the color code.

Table 11.1 Resources definition

The “processes” are all the actions that the entities carry out within the ED, such as the patients’ movements from one location to another, how much time they spend in each location and how and for how long they use a particular resource. Below is given a description of all the actions which have been modeled according to the color codes.

Red Codes; Red codes generally arrive by ambulance at entrance 1. As soon as they arrive, due to the severity of their condition, they are sent directly to the shock room and the intensive care room in the red zone, where critical patients are treated immediately. After receiving the first treatment in these two rooms, some patients are displaced to the yellow area in the ED, others are transferred to the hospital ward and the remaining part leave the hospital (they could move to another healthcare facility or be dismissed).

Yellow Codes; Yellow code patients generally can arrive from both Entrance 1 and 2. After the triage, they wait in the waiting room reserved for the yellow codes until one of the emergency rooms is available. While waiting, some of them are kept in the observation room where they receive the first treatments. After being visited in the emergency rooms, some patients leave the hospital while others are sent to the examination room. Once the check is done, the patients are sent back to the emergency rooms or to the green codes area. From the emergency rooms, a part of them leaves the ED (toward the hospital wards or others healthcare facilities) while the remaining patients are sent back to the examination room until their condition is identified and they can leave the ED.

Green Codes; In general, green codes go in from the entrance 2. After the triage, they are sent to the observation rooms in the green area. Over there, any available nurses treat the green codes with less injury, so that they can leave the ED earlier. The others wait for an available emergency room. After receiving treatment, they leave the hospital or move to an examination room and then they go to the hospital wards or are dismissed.

White codes; White codes also go in from the entrance 2. After the triage, if the emergency plan is active, the white codes leave the ED, because they have minor injuries.

All the processes and patient paths that take place in the ED during an emergency have been identified through interviews with the staff and the personnel of the ED. The results of these interviews are shown in the flow map (Fig. 11.7), which has been approved by the hospital’s personnel. It is important to mention that the input data for the emergency plan have been determined from public interviews with hospital’s medical staff, since the current emergency plan has never been applied in the hospital.

Fig. 11.7
figure 7

Process map for the emergency department

4.3 Calibration of the Model in Normal and Emergency Operating Condition

The patients’ arrival rates under normal operating conditions have been calculated using the hospital’s register statistics. However, other information has also been extracted by the hospital’s register statistics, such as the patient’s inflow, the check-in and checkout time, the time spent in each room as well as patients’ movements from one location to another. Moreover, the patient arrivals in the ED vary from hour to hour and, in order to determine the patient arrival distributions, an arrival cycle has been defined using the data provided by the hospital database that have been used to calibrate the model. The distribution is shown in Fig. 11.8. The patient arrival rate during a seismic event has also been considered in the analysis, using the data collected by a Californian hospital during 1994 Northridge Earthquake (Stratton et al. 1996; Peek-Asa et al. 1998; McArthur et al. 2000). The shape of the patient seismic wave related to Northridge earthquake is available in Cimellaro et al. (2011), however in the current research the patient’s arrival rate has been scaled to adapt to the seismic hazard in the region (Turin, Italy). In particular, an earthquake with a return period of 2500 years has been considered in the analysis, assuming a nominal life for a strategic building like a hospital of 100 years according to the Italian seismic standards (NTC-08 2008). Initially a scaling procedure based on the PGA has been used, but because of its limitations, another procedure based on the Modified Mercalli Intensity (MMI) scale has been selected. In Fig. 11.9 three days of patient arrival rates following Northridge earthquake are shown, which have been scaled with respect to the corresponding PGA and MMI values. Then the number of patients has been grouped in different color codes, following a similar distribution proposed by Yi (2005).

Fig. 11.8
figure 8

Percentage of patients entering the ED hourly in normal operating conditions

Fig. 11.9
figure 9

Arrival rates for Northridge earthquake and arrival rate scaled with respect to PGA and MMI

4.4 Emergency Plan

After a disaster occurs, the number of incoming patients rises significantly. A change in patients’ arrival rates entails an increase of crowding, prolongs injured waiting times to be treated by an emergency provider and enhances the risk of aggravating patients conditions. Considering all these factors, the hospitals’ Emergency Departments should have an emergency plan to be implemented during catastrophic events. The Emergency Plan (EP) consists of a number of procedures designed to guarantee the essential health services during an emergency when the number of incoming patients increases. It is also developed to assure adequate medical resources for the continuation of patient care, equipment and treatment materials availability and an appropriate interaction with others critical infrastructures during an emergency. Generally, the EP is activated when the number of ill or injured exceeds the normal capacity of the ED to provide the quality of care required. According to the Mauriziano hospital’s provisions, the EP is activated when there is the simultaneous access (or within a short period) of 10 or more patients with critical health condition (red and yellow codes). However, according to the personnel in the hospital, this condition has never happened so far. Therefore, the only possibility to test the effectiveness of the EP is using a discrete-event simulation model, which represents a useful tool for testing the response of the EP with an increasing number of incoming patients. According to the EP, the patients with critical health conditions are red and yellow codes, so in order to check if the EP can be activated, the total number of red and yellow code incoming patients has been plotted in Fig. 11.10. The figure shows the amount of patients arriving in the ED during the three days period following an earthquake with 2500 years return period. In this case, the threshold of the EP is exceeded and the plan is activated.

Fig. 11.10
figure 10

Total arrival rate during an emergency (red and yellow codes)

4.5 Numerical Results

The model has been validated and verified by comparing the numerical results in normal operating conditions with the real data provided by the hospital. Monte Carlo simulation has been performed using 100 runs for each scenario considered. The total time of each run in the simulation is 13 days, which has been divided into three parts. First, the simulation runs for two days using the patient arrival rate under normal operating conditions, in order to make the system stable and remove any influence by the initial conditions. Then for three days, the patient arrival rate generated by the seismic event is used. Finally, the last eight days of simulation again use the patient arrival rate in normal operating conditions, in order to bring back the system to the steady state it had before the earthquake occurs. The numerical output of the simulation is the patient waiting time vs. time, divided according to the color code for different scenarios (e.g. with and without the Emergency plan, etc.). In Fig. 11.11 the average waiting time vs. time in normal and emergency operating conditions is shown, assuming the same distribution of incoming patients.

Fig. 11.11
figure 11

Comparison with and w/o emergency plan with MMI  = VI for (a) yellow codes; (bgreen codes

The numerical results show that the waiting time is drastically reduced when the emergency plan is active. The results reveal that both yellow and green code patients experience longer waiting time under normal operating conditions during an extreme situation. In particular, the average patient waiting time for yellow codes reaches a peak value of about 720 min, while for green codes it reaches about 750 min without an emergency plan. On the contrary, when the emergency plan is active, the average patients waiting time reaches a peak value of about 30 min for yellow codes and about 190 min for the green codes. In percentage, there is a reduction in waiting time of 96 % for the yellow codes and of 75 % for the green codes respectively, when the emergency plan is applied.

Sensitivity analysis has been performed using six different increasing levels of earthquake intensities from MMI  = VI to MMI  = XI. Monte Carlo simulations have been run and, in Fig. 11.12 the average waiting time vs. time with and without emergency plan is shown, assuming the same distribution of incoming patients corresponding to an earthquake with MMI  = XI. The numerical results show that the effect of the emergency plan is more evident for high intensity earthquake.

Fig. 11.12
figure 12

Comparison with and w/o EP with an amplified seismic input (MMI  = XI) for (a) yellow codes; (b) green codes

In fact, the average patients waiting time for yellow codes reaches a peak value of about 3200 min, while for green codes of about 3250 min without an emergency plan. On the contrary, when the emergency plan is active, the average patients waiting time reaches a peak value of about 300 min for yellow codes and about 785 min for the green codes. In percentage, there is a reduction of waiting time of 91 % for the yellow codes and of 76 % for the green codes respectively, when the emergency plan is applied.

Although the emergency plan plays a positive role in reducing the waiting time, the green code in emergency conditions have to wait about 800 min (13 h) when an earthquake with MMI  = XI strikes. The long waiting can delay the diagnosis and the consequent treatment, leading to complications and putting patients’ lives and well-being in jeopardy. Therefore, the possibility of improving the existing emergency plan in the hospital has been analyzed, by adding additional resources such as doctors and emergency rooms. The possibility of adding one doctor without simultaneously adding the respective emergency room has also been considered, because the green codes can also receive treatment outside their emergency room.

The results of the sensitivity analysis by adding different resources are given in Fig. 11.13, where it is shown that, when one additional doctor is considered, the average peak of waiting times decrease of around 39 %. On the other hand, if an emergency room is added, a reduction of 74 % with respect to the initial emergency plan is observed. Finally, adding both a doctor and an emergency room, the waiting time reduces to a peak of about 90 min, generating a total reduction of 88 % with respect to the initial emergency plan (13 h). Between the different options, the addition of an emergency room only is more feasible and recommended, because an emergency room is already available in the ED. So it can be used by the existing personnel, at no extra cost, while in the other cases a doctor has to be hired by the hospital. In fact, the solution with extra costs is not justified by a reduction of the waiting time of only 14 % with respect to the recommended solution.

Fig. 11.13
figure 13

Sensitivity of additional resources on the performance of the ED with emergency plan

5 Metamodel for the ED of the Mauriziano Hospital

However, the proposed DES model has some limitations. First, it is computationally demanding, therefore it is difficult to run multiple simulations in real time to determine the patient waiting time during the emergency. Secondly, DES models generate a significant amount of numerical data that is difficult to interpret, because generally, the person who analyzes the data is not the same one who built the model and, in most cases, this person has no experience with the simulation software. For the reasons above, a simplified model, called “metamodel” has been developed. The metamodel is an analytical function describing the system behavior using a reduced number of parameters with respect to the DES model.

In this paragraph, to explain the methodology, the metamodel of a complex system like the Mauriziano Emergency Department has been built. There are two input parameters of the proposed metamodel: the seismic arrival rate (α) and the number of non-functional emergency rooms (n) due to the earthquake, while the output parameter is the patients’ waiting time (WT).

Sensitivity analysis has been performed by changing both input parameters. First, the number of non-functional ER has been increased and the seismic inputs have been amplified. Monte Carlo simulations has been run for all the different combinations and then non-linear curve regression methods have been used to identify the coefficients of the analytical quadratic equation, which is issued to determine the average patient waiting time.

The main assumption of the metamodel is that it has been built based on numerical simulation data obtained by the results of the DES model described in previous paragraph, so it shares the same assumptions with which the DES model has been built. It is also assumed that the configuration of the ED does not change during the emergency, so the doctors, the nurses, their paths and the emergency rooms remain the same. Below the procedure to evaluate the coefficients for the average patient waiting time of the yellow codes is shown. A similar procedure can be followed for all the other patient codes.

5.1 Architecture of the Metamodel

The general formulation of the metamodel is given by

$$\displaystyle{ WT = f(t,n,\alpha ) }$$
(11.1)

where WT represents the patients’ waiting time, n is the number of not functional waiting rooms, α is a parameter proportional to the intensity of the seismic input and t is the time in minutes. In detail, a lognormal function has been selected to describe the average patients’ waiting time which is given by

$$\displaystyle{ WT(t,n,\alpha ) = \frac{a_{n}} {t} {\ast}\mathrm{exp}\left (-0.5 {\ast}\left (\frac{\ln t\!\left /\right. \!b_{n}} {c_{n}} \right )^{2}\right ) }$$
(11.2)

where a n , b n , and c n are coefficients which are function of the t, n and α. All the coefficients have been calibrated using the numerical data from the DES models for both the normal and emergency operating condition.

5.2 Calibration of the Model in Normal Operating Condition

In this paragraph is described in detail the procedure to determine the coefficients, a n , b n , and c n in Eq. (11.2) for the case of patients with yellow code. First, Montecarlo simulations have been performed assuming a constant value of n and increasing values of MMI. The resulting average WT is shown in Fig. 11.14. The trend is that by increasing the seismic input, the corresponding waiting time increases.

Fig. 11.14
figure 14

Simulations results w/o emergency plan for different values of MMI and damage states (a) n  = 0; (b) n  = 1; (c) n  = 2

Then, Montecarlo simulations have been run considering a constant value of seismic intensity (MMI) and a variable value of emergency rooms n. In other words, it is simulated the closure of the emergency rooms (n), assuming they are not functional following a seismic event. The results of the simulations are shown in Fig. 11.15 for three different values of MMI. It is observed that by closing the ERs, the WT increases significantly. In particular, when MMI  = XI and two emergency rooms are not functional, the average WT reaches a peak of about 5000 min, which corresponds to approximately 84 h (three and a half days). This means that the system is congested due to a high volume of patients that exceeds the hospital capacity.

Fig. 11.15
figure 15

Simulations results w/o emergency plan with different damage states for (a) MMI  = VI; (b) MMI  = VIII-IX; (c) MMI  = X-XI

In order to describe the trend shown in Figs. 11.14 and 11.15, the bell shape curve given in Eq. (11.2) has been adopted where the coefficients a n , b n , and c n have been determined using regression analysis assuming they are quadratic functions of α given by

$$\displaystyle{ a_{n}(\alpha ) = a_{0} + a_{1}\alpha + a_{2}\alpha ^{2} }$$
(11.3)
$$\displaystyle{ b_{n}(\alpha ) = b_{0} + b_{1}\alpha + b_{2}\alpha ^{2} }$$
(11.4)
$$\displaystyle{ c_{n}(\alpha ) = c_{0} + c_{1}\alpha + c_{2}\alpha ^{2} }$$
(11.5)

where the coefficients a 0, a 1, a 2 b 0, b 1, b 2 c 0, c 1, c 2 are function of n and are also determined by regression analysis. The resulting quadratic functions for the case of normal operating conditions is the following

$$\displaystyle{ \left \{\begin{array}{*{20}{l}} a_{0}(n) = 21,178,533.7 - 50,687,867.5 \cdot n - 10,938,560.2 \cdot n^{2} \\ a_{1}(n) = -49,405,307.7 + 86,079,082.9 \cdot n - 19,905,188.7 \cdot n^{2} \\ a_{2}(n) = 31,467,171.4 - 30,777,131.8 \cdot n + 8,057,254.1 \cdot n^{2}\end{array} \right. }$$
(11.6)
$$\displaystyle{ \left \{\begin{array}{*{20}{l}} b_{0}(n) = -0.5166 + 1.1094 \cdot n - 0.3743 \cdot n^{2} \\ b_{1}(n) = 1.121 - 1.529 \cdot n + 0.5132 \cdot n^{2} \\ b_{2}(n) = -0.3514 + 0.5445 \cdot n - 0.1776 \cdot n^{2}\end{array} \right. }$$
(11.7)
$$\displaystyle{ \left \{\begin{array}{*{20}{l}} c_{0}(n) = -3955.3 + 3131.5 \cdot n - 1393.7 \cdot n^{2} \\ c_{1}(n) = 11,100.9 - 1821.2 \cdot n + 1262.6 \cdot n^{2} \\ c_{2}(n) = -2328.4 + 45.4 \cdot n - 200.1 \cdot n^{2}\end{array} \right. }$$
(11.8)

5.3 Calibration of the Model with the Emergence Plan

The same procedure described above can be used to evaluate the coefficients of the model in Eq. (11.2) when the Emergency plan is active in the model. Similarly, Montecarlo simulations have been performed assuming a constant value of n and increasing values of MMI. The resulting average WT is shown in Fig. 11.16. Similar trends to the ones shown in Fig. 11.14 have been observed, however an additional consideration can be added. The effectiveness of the Emergency plan is more evident when all the ERs are functional, while when most of them are not functional (n = 2), the emergency plan does not have any effect in reducing the average patient waiting time.

Fig. 11.16
figure 16

Simulations results with emergency plan for different values of MMI and damage states for (a) n  = 0; (b) n  = 1; (c) n  = 2

Instead by keeping constant the seismic intensity and increasing the number of non functional ERs, it can be observed that for high seismic intensities MMI  = XI when two ERs are not functional, the WT can reach peaks of about 6000 min (around 4 days) (Fig. 11.17c). This peak is even higher with respect to the same condition when the Emergency Plan is not applied (Fig. 11.14c).

Fig. 11.17
figure 17

Simulations results with emergency plan with different damage states for (a) MMI  = VI; (b) MMI  = VIII-IX; (c) MMI  = X-XI

The reason for this unexpected behavior can be explained because when the Emergency Plan is not active, there are five ERs for both the green and the yellow codes. When the EP is active 3 ERs are reserved for the yellow codes only, while the green codes are treated in different parts of the hospital. When two ERs are not functional (n = 2) and the EP is not active, the yellow codes have three ERs available and they have priority with respect to the green codes, so it can be assumed that yellow codes use two of the three rooms available.

On the other hand, when the EP is active, but two ERs are not functional, the yellow codes can be treated in only one ER. For the reasons above, the WT for the yellow codes following a high seismic intensity event (MMI  = XI) is smaller when the EP is not active. Equations (11.3), (11.4) and (11.5) are also valid when the emergency plan is applied, but the new coefficients a 0, a 1, a 2 b 0, b 1, b 2 c 0, c 1, c 2 which are function of n are given by the following equations

$$\displaystyle{ \left \{\begin{array}{*{20}{l}} a_{0}\left (n\right ) = 4,313,145 + 13,231,212.6 \cdot n - 9,439,291.9 \cdot n^{2} \\ a_{1}\left (n\right ) = -8,170,064.6 - 25,095,914.1 \cdot n - 14,299,370.7 \cdot n^{2} \\ a_{2}\left (n\right ) = 3,947,395.5 + 6,797,542.2 \cdot n + 1,122,876.7 \cdot n^{2} \end{array} \right. }$$
(11.9)
$$\displaystyle{ \left \{\begin{array}{*{20}{l}} \begin{array}{*{20}{c}} b_{0}\left (n\right ) = -0.1195 - 1.099 \cdot n + 0.6206 \cdot n^{2} \\ b_{1}\left (n\right ) = 0.1625 + 1.728 \cdot n - 0,8719 \cdot n^{2}\end{array} \\ b_{2}\left (n\right ) = 0.0033 - 0.61 \cdot n + 0.3148 \cdot n^{2}\end{array} \right. }$$
(11.10)
$$\displaystyle{ \left \{\begin{array}{*{20}{l}} c_{0}\left (n\right ) = 3304.5 - 6345.4 \cdot n + 3260.9 \cdot n^{2} \\ c_{1}\left (n\right ) = -939.3 + 8878.9 \cdot n - 3687 \cdot n^{2} \\ c_{2}\left (n\right ) = 945.1 - 2823.8 \cdot n + 1415.2 \cdot n^{2}\end{array} \right. }$$
(11.11)

After the model has been built, the numerical results have been compared with the DES model.

In Table 11.2 the error in the estimation of the maximum waiting time between the DES model and the metamodel with and without emergency plan are listed. The comparison shows that the metamodel is able to provide an accurate description of the ED with an error in the range between 0.32 % and 15.2 % and with an average value which is below 5 %.

Table 11.2 Error in the estimation of the maximum WT between the proposed metamodel and the DES model with and w/o EP

6 Generalization of the Metamodel

The main limitation of the model proposed in Eq. (11.2) is that can only adequately represent, in real time, the dynamic response of the Mauriziano hospital’s Emergency Department. Therefore, it is necessary to develop a general metamodel that can be applied to any ED. However, the problem is rather complex because each ED is substantially different from the other, so it will be impossible to create a general model with the same level of accuracy of a model which has been built “ad hoc” for a specific ED. So in order to have more flexibility with respect to the metamodel proposed in previous paragraph an additional parameter has been added for the calibration. In particular, the number of parameters selected for characterizing a generic ED is three. They are the number of emergency rooms, the number of doctors and the seismic intensity.

One of the assumptions made in the general metamodel is that the total number of emergency rooms (m) is equal to the number of doctors (q). This assumption is generally reasonable because one emergency room is equipped to provide care to only one patient, so the presence of an additional doctor would be useless. The form of the lognormal equation of the generalized metamodel used for estimating the WT is the following:

$$\displaystyle{ WT\left (t,\alpha,m\right ) = \frac{a\left (\alpha,\mathrm{m}\right )} {t} {\ast}\mathrm{exp}\left (-0.5 {\ast}\left (\frac{\ln \left ( \frac{t} {b(\alpha,m)}\right )} {c(\alpha,m)} \right )\right ) }$$
(11.12)

where m is the total number of emergency rooms per color area equivalent to the total number of doctors, t is the time in minutes and a, b, c are nonlinear regression coefficients obtained using Eqs. (11.3), (11.4) and (11.5).

Instead, the coefficients a 0, a 1, a 2, b 0, b 1, b 2 c 0, c 1, c 2 have been expressed as a function of the total number of emergency rooms m in the ED. The calibration has been performed using different DES models of the ED with increasing number of emergency rooms and increasing level of incoming patients. For all the possible combinations, several functions of the coefficients have been fitted and finally the same type of equation has been selected for all the coefficients. The coefficients of the generalized metamodel appearing in Eqs. (11.3), (11.4) and (11.5) are the following:

$$\displaystyle\begin{array}{rcl} & & a_{1}\left (m\right ) = 132,611,723 + m^{4}\left (2,072,754 -\frac{26,999,059} {m} + \frac{124,474,864} {m^{2}} \right. \\ & & \left.\qquad \quad \ \ \,-\frac{233,300,000} {m^{3}} \right ) {}\end{array}$$
(11.13)
$$\displaystyle\begin{array}{rcl} & & a_{2}\left (m\right ) = 16,657,792 + m^{4}\left (-543,784 + \frac{6,227,391} {m} -\frac{22,646,870} {m^{2}} \right. \\ & & \left.\qquad \quad \ \ \,+\frac{22,339,458} {m^{3}} \right ) {}\end{array}$$
(11.14)
$$\displaystyle\begin{array}{rcl} & & b_{0}\left (m\right ) = 5.57 + m^{4}\left (0.08 -\frac{1.04} {m} + \frac{4.89} {m^{2}} -\frac{9.34} {m^{3}} \right ){}\end{array}$$
(11.15)
$$\displaystyle{ b_{1}\left (m\right ) = -7.65 + m^{4}\left (-0.12+\frac{1.58} {m} -\frac{7.34} {m^{2}} + \frac{13.67} {m^{3}} \right ) }$$
(11.16)
$$\displaystyle{ b_{2}\left (m\right ) = 2.79 + m^{4}\left (0.04 -\frac{0.54} {m} + \frac{2.54} {m^{2}} -\frac{4.78} {m^{3}} \right ) }$$
(11.17)
$$\displaystyle{ c_{0}\left (m\right ) = 28,475.3 + m^{4}\left (338.6 -\frac{4684.3} {m} + \frac{22,726} {m^{2}} -\frac{43,551.1} {m^{3}} \right ) }$$
(11.18)
$$\displaystyle{ c_{1}\left (m\right ) = -43,772 + m^{4}\left (-578.5+\frac{8013.6} {m} -\frac{38,812} {m^{2}} + \frac{74,209.6} {m^{3}} \right ) }$$
(11.19)
$$\displaystyle{ c_{2}\left (m\right ) = 11,604.2 + m^{4}\left (123.1 -\frac{1811} {m} + \frac{9196.2} {m^{2}} -\frac{18,167.4} {m^{3}} \right ) }$$
(11.20)

6.1 Validation of the Metamodel

In order to validate the proposed generalized metamodel, its numerical results have been compared with the respective DES model of the Mauriziano hospital in Turin and another hospital located in San Sepolcro, Tuscany.

In Fig. 11.18a, b the comparison in term of waiting time between the generalized metamodel of the Mauriziano ED (m  = 3) with the respective DES model is shown for two different levels of seismic intensity, MMI  = VI and MMI  = XI. As observed, the two models match each other well. To generalize the results, the model has also been validated using another hospital located in San Sepolcro, Tuscany that has 4 ERs (m  = 4). Similarly, the results for the same two levels of seismic intensity are shown in Fig. 11.19a, b, highlighting also in this case a good match with the DES model. The error in the term of maximum WT between the DES models and the generalized metamodel is given in Table 11.3.

Fig. 11.18
figure 18

Comparison between metamodel and DES model of the Mauriziano’s hospital for (a) MMI  = VI, (b) MMI  = XI; (c), (d) error bars

Fig. 11.19
figure 19

Comparison between analytical metamodel and San Sepolcro’s experimental data for (a) α = 1, (b) α = 1. 6; (c), (d) error bars

Table 11.3 Error between the DES model and the generalized metamodel evaluated at the peak value for Mauriziano and San Sepolcro hospitals

In this case, the maximum error in the estimation of the maximum waiting time is around 25 % for the San Sepolcro hospital. From the results shown in Figs. 11.18, 11.19 and Table 11.3, it can be concluded that for both hospitals, the generalized metamodel is able to describe the ED behavior.

7 Summary and Remarks

Healthcare facilities play a key role in our society, especially during and immediately following a disaster. Generally several potential hazards might occur in a geographic area, so it is essential that hospitals ensure their functionality during emergencies. Thus, during a disaster a healthcare facility must remain accessible and able to function at maximum capacity, providing its services when they are most needed. Discrete event simulation is a powerful tool for representing complex systems such as hospitals. It has been used widely in the medical industry since the mid 1980’s. In this chapter, the patients’ waiting time (WT) has been identified as the main parameter for evaluating the resilience indicator of an Emergency Department. A discrete event simulation model has been built for the hospital’s emergency department, with and without the emergency plan. Results have been collected, and the waiting times calculated when the emergency plan is applied, have been compared with the results under normal operating conditions, showing the efficiency of the existing emergency plan. However, building a DES model is time consuming; therefore, a simplified model called “metamodel” has been developed. In order to build the metamodel, different scenarios have been considered, taking in account the intensity of the seismic input and the number of functional emergency rooms. The proposed model can be used by any hospital to measure the performance of its Emergency Department without running complex simulations and for estimating its resilience to disasters. It can also be used by decision-makers to measure the performance of a hospital network in real time during an emergency or to develop some pre-event mitigation actions by optimizing the resources allocated and comparing different emergency plans.