ABSTRACT
The objective of this study is two-fold: to propose an alternative approach for computing the productivity of physicians in emergency departments (EDs); and, to allocate productivity-driven schedules to ED physicians so as to align physician productivity with demand (patient arrivals), without decreasing fairness between physicians, in order to improve patient wait times. Historical data between 2008 and 2017 from the Sacré-Coeur Montreal Hospital ED is analysed and used to predict the demand and to estimate the productivity of each physician. These estimates are incorporated into a mathematical programming model that identifies feasible schedules to physicians that minimise the difference between patients’ demand and physicians’ productivity, along with the violation of physicians’ preferences and fairness in the distribution of shifts. Results on real-world-based data show that when physician productivity is included in the allocation of schedules, demand under-covering is reduced by 10.85% and the fairness between physicians is maintained. However, physicians’ preferences (e.g., sum of the differences between the number of wanted shifts and the number of allocated shifts) deteriorates by 7.61%. By incorporating the productivity of physicians in the scheduling process, we see a reduction in EDs overcrowding and an improvement in the overall quality of health-care services.
KEYWORDS: Physician scheduling, Physicians’ productivity, emergency departments
1. Introduction
Physician scheduling plays a critical role in Emergency Departments (ED) planning. The impact of having the right amount of resources, with the right skills and experience level, can significantly improve the quality of service for patients as well as working conditions for physicians.
In the province of Quebec, specifically, EDs are known to be the most overcrowded in the world (Cooke et al., 2004). This problem leads to undesirable consequences that degrade Quebec’s health-care system. Some examples of these consequences are: patients leave emergencies without having seen a physician (Derlet & Richards, 2000), physician productivity is decreased, there is extended dissatisfaction and suffering for the patient, and wait times are excessive. The rate of adults waiting at least 5 h during their last emergency visit in 2016 in Quebec was 44%, twice as high than in the rest of Canada (Quebec, 2017). Reducing this congestion is a high priority to offer better care in EDs in Quebec. The government of Quebec highlighted staff scheduling, among other factors, as a cause this overload (Quebec, 2016). Therefore, to improve this problem, ensuring better planning for ED physicians is one of the major challenges to tackle. (Hoot & Aronsky, 2008). This also true in the United-States (Glass & Anderson, 2018).
Physician planning is a complex task since emergency rooms are open 24 h a day, 7 days a week. ED physicians often work night and weekend shifts, while other specialties simply require physicians “on call” during their shifts (Carter & Lapierre, 2001). In addition, ED physicians must diagnose all types of illnesses while other physicians focus on diseases that are specific to their specialty. These features create a variation in their own productivity, which can lead to an impact in ED overcrowding. Although different methods have been proposed to meet the demand in EDs, most of them do not take into account the productivity of physicians. This constitutes a serious limitation, as productivity behaviour is highly variable from one physician to another due to different seniority levels or to the work environment.
To better manage ED overcrowding and lack of systematic tools to generate schedules, we propose an innovative approach based on physician productivity and the estimated hourly demand (patient arrivals) embedded in a mathematical model. We analyse the ED patient arrivals to determine the most accurate demand forecasting model. Then, we introduce a physicians’ productivity index that seeks to reflect the work behaviour from each physician. This index is based on a heaviness classification of each patient (i.e., length of consultation), as well as on an estimate of the average number of patients served at each shift and day of the week. We further propose an optimisation model that includes physicians’ preferences and availabilities, workload fairness and several work regulations. The objective is to minimise the sum of the differences between patient arrivals and physicians’ productivity, along with the violation of physicians’ preferences and fairness in the distribution of shifts. Unfairness between physicians is measured as the sum of differences between the number of day shifts and the number of evening and night shifts allocated to the physicians’ schedules. By minimising this unfairness, the model ensures that the most efficient physicians are not consistently allocated to schedules with high demand. Hence, a rotation of shifts between physicians is guaranteed.
This project is motivated by a collaboration with Sacré-Cœ ur Hospital of Montreal (HSCM). We have received the approval of the ethics department of this Hospital to use anonymous patient data from March 2008 to September 2017, which represent 643,000 records in patient files.
The paper is organised as follows. In Section 2, we review related work on patient arrival prediction. We also present a revision on the computation of physician productivity, as well as physician scheduling. In Section 3, we present the methodology to build physician schedules aimed at reducing overcrowding in EDs. Numerical results are presented and discussed in Section 4. Concluding remarks and future work follow in Section 5.
2. Related work
A general classification of the personnel scheduling process is suggested in Ernst,, Jiang,, Krishnamoorthy, and Sier (2004). This classification contains several modules starting with the demand modelling to determine staffing requirements and ending with the specification of the work to be performed, over a given planning horizon, by each individual in the workforce. In this section, we present a brief review of recent works addressing the different modules used for the design and allocation of productivity-driven physician schedules in EDs.
2.1. Patient arrivals
The quality of ED services, often measured by waiting time and length of stay, is significantly affected by an accurate prediction of patient arrivals (Xu, Wong, & Chin, 2013), as decisions involving staff planning and allocation of resources within ED highly depend on these predictions. There has been a significant amount of work done applying different techniques to model and predict the demand in the health-care sector. Time series analysis is among the most popular methods, with applications including the use of exponential smoothing (Boyle et al., 2012; Champion et al., 2007; Jones et al., 2008), autoregressive integrated moving average (ARIMA) models (Boyle et al., 2012; Champion et al., 2007; Sun., Heng, Seow, & Seow, 2009), univariate and multivariate seasonal autoregressive integrated moving average (SARIMA) models (Jones et al., 2008; Kam, Sung, & Park, 2010), multivariate vector autoregressive (VAR) models (Jones et al., 2009), and generalised autoregressive conditional heteroskedasticity (GARCH) models (jones2002forecasting, 2002). Linear regression models and nonlinear regression models (Boyle et al., 2012; Xu et al., 2013) have also been proposed as alternatives to predict patient visits to EDs. The previous methods have been successfully used in ED forecasting since they allow seasonal modelling by including variables for the day of week, month of year and holidays. They also allow the identification of repeated patterns in the time-series data. Poisson regression models and artificial neural networks are also among the different alternatives used to predict the demand for ED services. Some applications of these techniques are presented in (Jones et al., 2008; McCarthy et al., 2008; Moineddin, Meaney, Agha, Zagorski, & Glazier, 2011; Xu et al., 2013). The reader is referred to (Wargon, Guidet, Hoang, & Hejblum, 2009) for a review on studies designed to predict patient attendance at EDs or walk-in clinics.
2.2. Productivity
In order to meet patient demand in EDs, it is important to quantify physicians’ productivity so as to know the hospital’s emergency health capacity. Physicians’ productivity is generally defined in the literature by two major indicators: the patients seen per hour (Pt/hr) and the relative value unit (RVU). These indicators study different aspects of physicians’ productivity. The ratio Pt/hr denotes the average number of patients seen by a physician per hour without taking into account patients who were handed over at change of shift (Arya, Salovich, Ohman-Strickland, & Merlin, 2010; Leung et al., 2018). On the other hand, RVU measures estimates of physicians’ effort and practice expense. They reflect the complexity of tasks, thus technical skills, mental effort and psychological stress (Bhargava & Mishra, 2014). Although these indicators were initially proposed as a way of bringing more homogeneity to the health-care reimbursement procedures (Glass & Anderson, 2002), the ratio of Pt/hr and the RVU present some important shortcomings. These are mostly related to changes in medical practice (Storfa & Wilson, 2015). The literature shows various studies to improve physicians’ productivity. The physician payment mechanism, for example, by fee-for-service compensation is evaluated in (Innes et al., 2018). According to (Leung et al., 2018) the use of a physician navigator, a team member that assists a physician in activities to reduce the non-clinical workload during a shift, improves the productivity of ED physicians. In (Arya et al., 2010) it is shown that the utilisation of scribes, a person who assists physicians with the clerical aspects of patient care, can help enhance physician productivity. In this paper, we are interested in indicators that capture variability in productivity related to the schedules. None of Pt/hr and RVUs take into consideration the ability of physicians to take new patients based on factors related to the type of shift and the type of day. Only (Dula, Dula, Hamrick, & Wood, 2001) have shown that a long sequence of night shifts might decrease the productivity of physicians. We propose to fill this gap and extend the indicator pt/hr to consider alternative factors that might influence productivity (e.g., type of shift, day of the week).
2.3. Physician scheduling
The body of operations research literature directed to ED care services is extensive (Erhard, Schoenfelder, Fügener, & Brunner, 2017). This literature mainly focuses on strategic decisions related to regional coverage and capacity dimensioning for ambulances, and on tactical decisions associated with physician and nurse scheduling (Hulshof, Kortbeek, Boucherie, Hans, & Bakker, 2012). The importance of physician scheduling lies in the implementation of different staffing levels. These are then based on patient arrival rates at different moments within the day and week to decrease patient waiting times and reduce the number of patients that leave the ED without being seen (Green, Soares, Giglio, & Green, 2006). With this in mind (El-Rifai, Garaix, Augusto, & Xie, 2015) introduces a stochastic optimisation model for ED physician scheduling. This model takes into account the stochastic nature of patient arrivals to create physician schedules that respond in a robust way to demand variability. Two studies have already addressed a similar physician scheduling problem for the HSCM ED. In (Gendreau et al., 2006), the problem of constructing physician schedules for emergency rooms demonstrates studies from five different hospitals (including HSCM). The authors propose a generic form for the constraints encountered in EDs. In (Beaulieu, Ferland, Gendron, & Michelon, 2000), a mathematical programming model was developed to schedule physicians in ED for a planning horizon of 6 months. Although these studies describe the physician scheduling situation in EDs and show that automated approaches can significantly reduce the time and effort required to construct good-quality physician schedules, the proposed approaches do not match physicians’ productivity with patient demands, which we believe constitutes a powerful way to reduce patients’ waiting time.
Some studies propose incorporating the productivity of physicians in the composition of schedules. An analytic model capable of scheduling providers with different skill profiles and with patients of varying acuity levels is proposed in (Ganguly, Lawrence, & Prather, 2014). In (Savage, Woolford, Weaver, & Wood, 2015), Poisson-based generalised additive models are used to estimate patient arrival rates. A mathematical programming model that incorporates physicians’ productivity (computed as the average ratio of the number of patients seen per hour) is proposed to produce an optimal ED shift schedule. Although these studies show that aligning physician productivity with patient arrivals helps to balance staffing costs and to decrease unmet patient demand in EDs, the differences in performance between physicians are not evaluated as the productivity ratio is assumed to be the same for each physician. In addition, these studies do not incorporate work regulations for the composition of schedules, physicians’ availabilities, and fairness in the distribution of shifts, creating serious limitations that degrade the work–life balance for physicians in EDs.
3. Problem definition and formulation
The physician scheduling problem in EDs considers a planning horizon including days, where each day is divided into equal-length time intervals . We assume that a fixed number of physicians is given and that each physician is characterised by some preferences and availabilities. Emergencies () are typically divided into multiple sections or types. Therefore, we divide the set of daily shifts into the same number of sections. Each shift is also divided into types, depending on the hours of the day they cover (e.g., day , evening and night ). In our case, HCSM is divided into two sections: acute care area (A) and fast-track clinic (F) (), and two types of shifts are used (acute care area shifts and fast-track clinic shifts ). Each shift is characterised by a set of attributes, namely: a start time , a length and the section of the emergency it covers . The demand (given by parameter ) denotes the number of patients arriving each day , at each time interval , for each emergency section . The objective of the physician scheduling problem in EDs is to allocate feasible schedules to physicians while minimising the under-covering and over-covering of demand (number of new patients arriving at each time period), while also taking into account deviations in physician preferences and the fairness in the distribution of shifts.
In this section, we present the methodology to solve the problem under study. First, we describe the methods adopted to forecast the demand and to compute the physicians’ productivity. Second, we present the notation and formulation of the optimisation model used to generate physician schedules.
3.1. Data description
The HSCM is a university hospital affiliated with the University of Montreal and belonging to one of the five integrated university health and social services centers (CIUSSS) in the city. The hospital can accommodate up to 62,000 patients per year. A total of 35 physicians worked in this hospital in 2017. The demand of the acute care area is covered by six 8-h length shifts starting at 7am, 8am, 3pm, 4pm, 11pm, and 12am. The demand of the fast-track clinic is covered by four 8-h length shifts starting at 7am, 8am, 3pm, and 4pm. Day shifts () start at 7am and 8am, evening shifts () start at 3pm and 4pm, and night shifts () start at 11pm and 12am. This distribution of shifts means that the night acute care physicians assume patients of the fast-track clinic.
Anonymous data were collected from March 2008 to September 2017, including approximately 600,000 entries. Each entry represents a physician consultation. Variables are divided into two groups. The first group corresponds to the patients’ characteristics and the second group to the consultation characteristics. The variables used in the study are presented in Table 1.
Table 1.
Types of variables collected
| Patients’ variables | Consultation variables |
|---|---|
| Age | Physician code |
| Gender | Consultation date |
| Language barrier | Type of emergency |
| Arrival date | Kardexa codes |
| Arrival type | Examen codes |
| Departure date | Complaints |
| Departure type | Length of consultation |
| Triage level b |
aQuebec Nursing Documentation Tool.
bTriage level determined by the Canadian Triage and Acuity Scale (CTAS).
The historical information contains 36,021 different worked shifts, representing 288,168 h of work. This information indicates that of patients are women and that are men. The average age of patients is 51.75 years, of patients were treated in the acute care area and of patients had a language barrier (i.e., the patient did not speak French or English), and 84% of the records of the historical information correspond to patients who saw only one physician (sometimes a patient is seen by more than one doctor). The proportion of patients in each triage level is presented in Table 2. The lower the level is, the more urgent the patient case is.
Table 2.
Proportion of patients in each triage level
| Triage level | Percentage |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 |
3.2. Demand forecasting
The ability to accurately forecast the demand represents an important (and probably one of the first) step for developing robust decision support tools in scheduling and in resource planning for health care in general. In fact, the incorporation of accurate demand forecasts beside other factors including bed availability, laboratory testing, and nursing availability in the different planning levels, i.e., strategic, tactical and operational, could help to improve several operational issues such as physician over-utilisation and long patient waiting times.
To estimate the total number of patients arriving to the emergency room during day at time interval for emergency type we used a two-step methodology. First, we forecast the total number of patients arriving at day for emergency type (temporal aggregation). This temporal aggregation of the demand was then distributed among the time periods of each day by means of an intra-day distribution model.
The total number of patients was estimated by using a decomposable time series model (Harvey & Peters, 1990) with three main model components: growth, seasonality, and holidays. These components (presented in Equation (1)) represent the growth function () which models non-periodic changes in the value of the time series, the periodic changes function () modelling weekly or yearly seasonality, and the effects of holidays function () including effects from holidays, such as Easter and Christmas day. The error term represents irregular changes in demand, which are not accommodated by the time series model.
| (1) |
Equation (1) is estimated with Facebook Prophet (Taylor & Letham, 2018). This tool uses an additive regression model with four components: i) a piecewise linear or logistic growth curve to detect changes in trends by selecting change points from the historical data; ii) a yearly seasonal component modelled using Fourier series; iii) a weekly seasonal component using dummy variables; iv) a user-provided list of relevant holidays. The reader is referred to (Taylor & Letham, 2018) for more information on how Facebook Prophet works.
Let be a parameter denoting the mean of the percentage of the total number of patient arrivals during day for emergency type that are allocated to time period . This parameter is estimated with nine-year historical data providing information on the number of patients arriving for each emergency type at each time interval of the day. As we assume the month of the year does not have a significant effect in the intra-day distribution model, only varies according to weekdays or weekends. The aggregate estimated demand is distributed among the periods of the day by using . Hence, the estimate of the number of patients of type arriving at time period of day () is given by:
| (2) |
where represents the nearest integer value.
3.3. Physicians’ productivity
The goal of the productivity index is to create a fair indicator that will reflect the capacity of each physician to serve new patients (i.e., patients who were not handed over by another physician). These patients represent 84% of the total time of consults. Hence, treating new patients defines the main task of ED physicians. The HSCM currently allocates patients to physicians based on the acuity level which is determined by the triage level and which does not reflect the capacity to treat new patients, since it is not correlated with consultation length (Yoon, Steiner, & Reinhardt, 2003). That is why we propose computing the productivity index by taking into account two components: an estimation of the number of patients each physician serves at each time interval of his shift, and the patients’ “heaviness” (i.e., the consultation length).
The patient heaviness is computed for each patient based on historical data. To do so, we divided the consultation length into three categories: for consultations with a length between 0 and 15 min, for consultations with a length between 15 and 30 min and for consultations with a length larger than 30 min. Table 3 presents the proportion of patients observed in each category. The most represented category is including around of the patients. Categories and contain and of the patients, respectively. The consultation length is defined as the duration between the moment the patient enters the physicianĂ’Źs room and the moment he leaves. The consultation time is rounded to the nearest minute. Note that this time is only computed for the first consultation, i.e., if a patient sees another physician later, this latter consult will not be considered.
Table 3.
Proportion of patients in each category of length consultation with their associated weight
| Category | Percentage | Mean consultation length () | Weight () |
|---|---|---|---|
| 10 | 0.3 | ||
| 22 | 0.6 | ||
| 55 | 1.5 |
Each category owns a mean consultation length denoted by and as shown in Table 3. Let be the mean consultation length for all the consultations (equal to ). With these two values, we then affect an estimated weight to each patient given by:
| (3) |
We construct an intermediate productivity index based on the number of patients (counted with their weight ) treated by the physician during each shift observed in the historical data. This preliminary statistical study determined that there is not a significant effect on the month of the year in this index. However, this index varies according to the day, the type of shift and the type of emergency. Let be the estimate of the productivity index for each physician during day and shift . Set denotes the days of week. This productivity index is given by:
| (4) |
Where denotes the length of the shift and is the total number of shifts worked during day by physician . This productivity index is not biased by the variation of productivity throughout a week and precisely reflects the capacity of each physician to consult new patients during one time period of the day.
3.4. Mathematical model
In this section, we describe the mathematical model for the productivity-based physician scheduling problem. We developed a mixed-integer programming model that generates a near-optimal schedule responding to different objectives. The objective of the proposed model is to reduce unmet patient demand by matching capacity (physicians’ productivity) with demand (number of patients arriving per hour). Since physician retention is one of the most critical issues facing hospital administrations (Carter & Lapierre, 2001), the model also aims to minimise physicians’ dissatisfaction and unfairness in the distribution of shifts between physicians. Definition of satisfaction may vary from one hospital to the other and from one physician to the other. However, in each hospital, there is a general agreement on what should be considered. As requested by the person in charge of the schedule planning at HSC, physicians’ dissatisfaction is measured as the sum of differences between the number of shifts wanted and the number of shifts allocated. Unfairness between physicians is measured as the sum of differences between the number of day shifts and the number of evening and night shifts allocated to the schedules. Note that to consider individual preferences, we exclude the physicians to which a measure does not apply from the calculation. Physician schedules in EDs are often subject to various constraints. These constraints are divided into four categories (Beaulieu et al., 2000): compulsory constraints, ergonomic constraints, distribution constraints and goal constraints. Compulsory constraints are based on rules that must be absolutely enforced, such as, a rest of 16 h between two consecutive shifts, respecting physicians’ availabilities, and the consideration of physicians’ qualifications to perform certain shifts. For instance, physicians over 50 years-old may not be allocated night shifts. The largest number of constraints are grouped into the category of ergonomic constraints. These constraints aim to improve the quality of the schedules produced by limiting the number of successive working days belonging to ergonomic constraints and by enforcing a certain continuity in shifts during the weekend. Distribution constraints limit the number of certain types of shifts allocated to schedules. For instance, each schedule must contain a maximum number of night and weekend shifts allocated within the planning horizon. Finally, goal constraints are based on rules which cannot always be satisfied. For instance, the under-covering and over-covering of patient demand, the under-staffing and over-staffing of the quantity of physicians required to work in each type of shift, and the respect of physicians’ preferences. The reader is referred to 6 for the definition of the decision variables and parameters, as well as the mathematical formulation for the productivity-based physician scheduling problem in EDs.
4. Numerical results
This section presents the computational results obtained after testing the proposed model on real-world-based data. The goal of our study is to improve ED scheduling in order to minimise patient wait times. We want to show that the incorporation of physicians’ productivity is an efficient way to better schedule ED physicians without additional costs. First, we describe the generation of the different instances. Then, we evaluate the differences in schedule quality when using different values for the penalties in the objective function. Finally, we discuss the results.
4.1. Instances generation
To evaluate the ability of our model to cope with demand and productivity variation, we use four scenarios with different weights ( and ) associated with each criteria in the objective function. This allows us to find the configuration that better meets the objectives set by HSCM. We remark that the minimisation of under-staffing is the most important objective for HSCM. Hence, this objective is associated with the largest weight in the objective function. Scenario 1 reproduces the current situation of the HSCM ED when the coordination between physicians’ productivity and patient demand is not optimised. Scenario 2 characterises the situation when all the goals of the objective function are fairly taken into account. Scenario 3 (resp. Scenario 4) represents the situation when the coordination between physicians’ productivity and patient demand (resp. physicians’ dissatisfactions and unfairness) is prioritised. The different characteristics of the scenarios are summarised in Table 4.
Table 4.
Scenarios
| Scenarios | ||||
|---|---|---|---|---|
| Weight for under-staffing () | 100 | 100 | 100 | 100 |
| Weight for over-covering and under-covering () | 0 | 1 | 10 | 1 |
| Weight for unfairness () | 10 | 1 | 1 | 10 |
| Weight for physicians’ dissatisfactions () | 10 | 1 | 1 | 10 |
We use a planning horizon of 13 weeks as in HSCM.
4.2. Accuracy of the demand forecast model and Physicians’ productivity index
In Section 3.2 we introduce a method to forecast the hourly patient demand using Facebook Prophet (Taylor & Letham, 2018). This method takes into account the potential seasonality of the patients’ demand and the effects of holidays. Figure 1 shows there is an upward trend for the patients’ demand in fast-track clinic. It also shows that Christmas and New Year’s day create a punctual impact on the patients’ demand. A weekly trend is also determined in both fast-track clinic and acute care area.
Figure 1.

Seasonality of patients’ demand
Figure 2 shows how the forecast demand behaves on its own, compared to the real demand for the first week. This first week represents how a weekly trend is observed in both acute care area and fast-track clinic. We remark that the forecast demand doesn’t exactly predict the sudden variations into 1 day, but only provides the daily trend.
Figure 2.

Comparison of patients’ arrival in the acute care area and in the fast-track clinic per day of the first week
In Section 3.3 we introduced a method to compute the productivity ratio of each physician. These productivity ratios present two particular features which, to the best of our knowledge, have not yet been introduced in the literature. First, we assume that the physicians’ productivity varies from one physician to another. Indeed, as shown in Figure 3, the distribution of the individual mean productivity ratio in both acute care area and fast-track clinic significantly varies among all physicians. Second, we assume that the physicians’ productivity varies within the days of the week.
Figure 3.

Distributions of physicians’ productivity into the type of emergencies
In Figure 4, we present the weekly variation of the average of the estimate Productivity ratio but also the weekly variation of the average of the physicians’ productivity. The Productivity ratio fits with this productivity in both acute care area and fast-track clinic that proves the relevance of the Productivity ratio. In acute care area, the productivity of physicians during the night shift is, on average, higher than the productivity during the day and the evening shifts. In general, physicians’ productivity is higher during the weekend than during a weekday for both acute care area and fast-track clinic. The productivity in acute care area is not significantly affected by the weekdays. However, we observed a significant difference in the productivity of physicians for the fast-track clinic during all days.
Figure 4.

Weekly variations of physicians’ productivity
4.3. Results
This section presents the results of our study. First, we compare the results of the four scenarios by analysing, from a broad perspective, the values for the different objectives. Then we analyse, in detail, the distribution of the differences between patients’ demand and physicians’ productivity throughout the planning horizon.
The computational experiments were performed on a Mac OS X operating system, 16 GB of RAM and 1 processor Intel Core i7 running at 2.5 GHz. The algorithm to solve the problem was implemented in the Julia programming language (JOC, 2015). The instances were solved with CPLEX version 12.8.0.0. A relative gap tolerance of 5% was set as a stopping criterion for solving the MILP with CPLEX.
We define seven categories of indicators to determine the performance of each scenario. The first category measures the total under-staffing. Categories two and three measure the under-covering of patients’ demand in acute care area and fast-track clinic, respectively. Categories four and five measure the over-covering of patients’ demand in acute care area and fast-track clinic, respectively. The sixth category measures the fairness among physicians and, finally, the seventh category denotes the performance in respecting physicians’ preferences. Results in Table 5 (part 6) does not include the physicians with individual preferences on night shifts. Table 5 presents the results of each category for each scenario.
Table 5.
Computational results of each scenario
| Scenarios | ||||
|---|---|---|---|---|
| Objective value | 960 | 2698 | 24,986 | 3674 |
| Gap () | 2.08 | 4.52 | 4.93 | 4.98 |
| CPU Time () | 75 | 10,774 | 2779 | 9458 |
| 1. Under-staffing | ||||
| Number of under-staffed shifts | 0 | 0 | 0 | 0 |
| Number of allocated shifts | 1014 | 1014 | 1014 | 1014 |
| 2. Under-covering of patients’ demand in acute care area | ||||
| Total uncovered demand | 1125 | 434 | 387 | 526 |
| Mean(std) uncovered demand per hour | 0.93(0.64) | 0.51(0.39) | 0.47(0.37) | 0.59(0.45) |
| Maximum uncovered demand per hour | 3.7 | 2.05 | 2.13 | 2.24 |
| uncovered demand | 18.95 | 7.3 | 6.52 | 8.85 |
| 3. Under-covering of patients’ demand in fast-track clinic | ||||
| Total uncovered demand | 1631 | 790 | 717 | 874 |
| Mean(std) uncovered demand per hour | 1.43(1.18) | 0.77(0.76) | 0.76(0.70) | 0.81(0.74) |
| Maximum uncovered demand per hour | 7 | 4.01 | 2.36 | 3.97 |
| uncovered demand | 24.98 | 12.1 | 10.99 | 13.38 |
| 4. Over-covering of patients’ demand in acute care area | ||||
| Total over-covered demand | 199 | 240 | 260 | 251 |
| Mean(std) over-covered demand per hour | 0.50(0.46) | 0.35(0.43) | 0.36(0.42) | 0.38(0.39) |
| Maximum over-covered demand per hour | 2.28 | 2.2 | 1.99 | 1.99 |
| 5. Over-covering of patients’ demand in fast-track clinic | ||||
| Total over-covered demand | 1412 | 879 | 934 | 848 |
| Mean(std) over-covered demand per hour | 1.36(0.98) | 0.76(0.52) | 0.75(0.53) | 0.77(0.54) |
| Maximum over-covered demand per hour | 4.89 | 2.42 | 3.71 | 2.52 |
| 6. Difference between number of day shifts and the number of evening and night shifts | ||||
| Mean(std) | 0.32(0.47) | 1.41(5.63) | 9.29(11.21) | 0.11(0.32) |
| Minimum per physician | 0 | 0 | 0 | 0 |
| Maximum per physician | 1 | 33 | 43 | 1 |
| Total number of shifts creating an unbalance | 11 | 48 | 316 | 4 |
| 7. Difference between number of wanted shifts and the number of allocated shifts | ||||
| Mean(std) | 2.71(7.53) | 4.79(9.16) | 7.38(10.70) | 2.91(7.46) |
| Minimum per physician | 0 | 0 | 0 | 0 |
| Maximum per physician | 33 | 34 | 41 | 33 |
| Total number of allocated shifts not wanted | 92 | 163 | 251 | 99 |
Scenario 1 reproduces the current schedule of the HSCM ED. In this case, even though the coordination between physicians’ productivity and patients’ demand is not optimised, the fairness in the distribution of shifts and physicians’ preferences is optimised. While the values for fairness and for physicians’ preferences are the best among all scenarios, the values related to the under-covering and over-covering of patients’ demand are, indeed, the worst among all scenarios. As a result, we analysed the results of the three last scenarios in order to improve under-covering and over-covering of demand without degrading the number of under-staffed shifts, the fairness between physicians, and the respect of physicians’ preferences.
4.4. Total under-staffing
All three scenarios (, and ) present the same values for under-staffing, as the large weight given to ensures minimising under-staffing as much as possible.
4.5. Under-covering and over-covering of patients’ demand
Scenarios 2 and 3 present similar results regarding the under-covering and over-covering of patients’ demand. The percentage of uncovered demand in Scenario 4 is reduced when compared to Scenario 1. However, this percentage is slightly larger than the one obtained for Scenarios 2 and 3.
4.6. Difference between the number of day shifts and the number of evening and night shifts
The difference between the number of day shifts and the number of evening and night shifts allocated to physicians gives an idea of the fairness in the distribution of shifts between them. Computational results show that schedules are more fair when Scenarios 1 and 4 are used to solve the problem, rather than using Scenarios 2 and 3.
4.7. Difference between the number of wanted shifts and the number of allocated shifts
The differences between the number of wanted shifts and the number of allocated shifts (corresponding to the number of unwanted shifts) denote the respect of physicians’ preferences. Scenario 4 appears to be the best option for the number of unwanted allocated shifts. On the contrary, Scenarios 2 and 3 are simply unacceptable as the number of unwanted shifts doubles.
Scenario 4 seems to be the scenario that responds best to the objectives defined. Results related to under-covering and over-covering of patients’ demand for Scenario 4 are close to the ones for Scenarios 2 and 3, where the coordination between productivity and demand is best. Results concerning fairness between physicians are close to the ones in Scenario 1, where only fairness and the respect of physicians’ preferences are optimised. They are also significantly better than those for Scenarios 3 and 4, which are not acceptable as the degradation of these objectives is simply too large. While the results related to the physicians’ preferences are worse than for those in Scenario 1, they are acceptable nonetheless. We summarise in Table 6 the improvement in the objectives when Scenario 4 is used instead of Scenario 1 (i.e., the current situation). Negative improvements correspond to a degradation in the corresponding objective.
Table 6.
Improvement of the objectives functions
| Objectives | Improvement |
|---|---|
| Number of under-staffed shifts | 0 |
| % uncovered demand in acute care area | 10.10 |
| % uncovered demand in fast-track clinic | 11.60 |
| Number of shifts creating an unbalance | 36.36 |
| Number of allocated shifts not wanted | −7.61 |
From Table 6 we observe that the improvement in the alignment between productivity and demand, by using Scenario 4, is significant when compared to using Scenario 1. The percentage of uncovered demand is reduced by 10.10 and by 11.60 in acute care area and fast-track clinic, respectively. While the unfairness in the allocation of shifts decreases by 36.36, unfortunately, the number of unwanted allocated shifts increases by 7.61. The graphical results of this comparison are presented in Figure 5.
Figure 5.

Results of the alignment between physicians’ productivity and patients demand in acute care area and fast-track clinic
Figure 5 shows how the physicians’ productivity (corresponding to the number of patients the physician can treat) behaves, on average, in acute care area and fast-track clinic under Scenario 1 (i.e., current schedule) and under Scenario 4 (i.e., improved schedule). The productivity of the improved schedule offers better alignment with patient arrival rates when compared to the productivity of the current schedule. This improvement is particularly visible on the weekend in the fast-track clinic. Indeed, in the current schedule, the physicians’ productivity does not follow the patients’ demand variations. When the demand is high in the morning physicians’ productivity is lower than the afternoon, when the demand is lower.
Figure 6 shows the results of the alignment between physicians’ productivity and patients’ demands in acute care area and fast-track clinic for the first week. Apart from showing that patients’ demands are subject to high variations, this figure also shows that the new schedules improve the gap between the patients’ demand and the ED’s capacity to serve new patients.
Figure 6.

Results of the alignment between physicians’ productivity and patients demand in acute care area and fast-track clinic for the first week
5. Conclusions
This study shows a substantial gap between the current schedules used at HSC and the timing of patient arrivals. Incorporating physicians’ productivity in the design and allocation of physician schedules allows to better align the patients demand to the availability of physicians. It also offers a cost-free way (i.e., it is not necessary to hire more physicians) to decrease some of the patients’ unmet demands and waiting times without significantly degrading fairness and physicians’ preferences.
We proposed a forecasting model to predict the arrival of patients and a productivity index including patients’ heaviness (i.e., consultation time), while also taking into account the productivity variations within a week. These parameters are incorporated into an optimisation model that seeks to improve the coordination between physicians’ productivity and patient arrivals while including physicians’ preferences, fairness between the allocation of schedules for different physicians, and common work rules in the composition of schedules. The proposed model can be generalised to other EDs: the constraints included in the mathematical formulation are common and relevant to most EDs and the objective function can be easily adapted to fit different fairness and satisfaction definitions.
Next step should be to test one of our schedules in vivo and adjust our productivity measure with feedback from the field.
Appendix.
Appendix A. Mathematical model
Appendix A1. Variables and parameters description
Let be a binary variable that takes value if physician is allocated to shift in day . Let and be non-negative slack variables denoting the over-covering and under-covering of demand for emergency type during time period in day , respectively. Non-negative variables and represent positive and negative deviations between the number of day shifts and the number of evening and night shifts allocated to physician , respectively. Let and denote the positive and negative differences between the number of shifts wanted and the number of shifts allocated to physician , respectively. Let be a slack variable representing the number of missing physicians required to cover shift during day . The parameters used in the productivity-driven physician scheduling model are defined in Table A1.
Table A1.
List of parameters
| Name | Type | Definition |
|---|---|---|
| Binary | Takes value if shift covers time period , it assumes value otherwise | |
| Integer | Indicates the day of the week (e.g. Monday,…, Sunday) associated with day | |
| Float | Productivity index for physician , during day of the week and shift | |
| Integer | Estimated number of patients arriving at time period in day for emergency type | |
| Integer | Number of shifts wanted by physician | |
| Integer | Number of budgeted physicians to cover shift during day | |
| Binary | Takes value if physician is qualified to work on shift , it assumes value | |
| otherwise | ||
| Binary | Takes value if physician is available to work on shift of day , it assumes value | |
| otherwise | ||
| Integer | Maximal number of shifts preferred by physician | |
| Integer | Maximal number of night shifts preferred by physician | |
| Integer | Maximal number of weekends that can be allocated to each physician | |
| ,,, | Integers | Weight of each objective in the objective function |
Appendix A2. Mathematical formulation.
The multi-objective function of the model (5) minimises under-staffing, under-covering, and over-covering of the patients’ demand. This objective function also ensures a certain fairness, minimising the differences between the number of day shifts and the number of evening and night shifts allocated to each physician. Objective (5) also ensures the satisfaction of physicians’ preferences, minimising the difference between the number of shifts wanted and the number of shifts allocated.
| (A.1) |
The productivity-driven physician scheduling model is subject to the following constraints:
Compulsory constraints:
Constraints (A.2) guarantee that each physician is allocated a maximum of one shift per day.
| (A.2) |
Constraints (A.3) and (A.4) ensure a minimum rest time of 16 h between two consecutive shifts.
| (A.3) |
| (A.4) |
Constraints (A.5) ensure that the availabilities for each physician are respected.
| (A.5) |
Constraints (A.6) ensure that physician qualifications to perform certain shifts are respected.
| (A.6) |
Ergonomic constraints:
Constraints (A.7) ensure that after a physician ends a night shift at day (which means the physician starts this shift the day ), this physician is not allowed to work a night shift the day after.
| (A.7) |
Constraints (A.7) ensure that after a physician ends a night shift at day (which means the physician starts his shift the day ), the physician is not allowed to work a day or an evening shift the day after.
| (A.8) |
Notably, constraints (A.7) and (A.8) ensure together that a day-off is allocated after a sequence of night shifts.
Constraints (A.9) prevent isolated nights at each physician schedule.
| (A.9) |
In the context of HSCM ED, these constraints are always respected. However, a minimisation of the number of isolated nights is sometimes preferred. In this case, let be a binary variable denoting whether the night of day is an isolated night for the physician . Thus, constraints (A.9) are replaced by constraints (A.10) and the term denoted by equation (A.11) is added in the objective function (A.1) where is the weight of the objective.
| (A.10) |
| (A.11) |
Constraints (A.12) set the maximum number of consecutive working days that can be allocated to a physician.
| (A.12) |
Constraints (A.13) guarantee that each physician is allocated a maximum of five shifts within seven consecutive days.
| (A.13) |
Constraints (A.14) guarantee that each physician is allocated a maximum of 3-night shifts within seven consecutive days.
| (A.14) |
Constraints (A.15) ensure that schedules do not contain two consecutive fast-track clinic shifts.
| (A.15) |
Constraints (A.16), (A.17), and (A.18) ensure a certain continuity within weekend shifts worked by each physician. We denote by and the subsets of days including Fridays and Sundays, respectively. If a physician works a day shift on Saturday, a day shift is also worked on Sunday by the same physician. If a physician works an evening shift on Friday, evening shifts are also worked on Saturday and Sunday by the same physician. If a physician works a night shift on Friday, night shifts are also worked on Saturday and Sunday by the same physician.
| (A.16) |
| (A.17) |
| (A.18) |
Constraints (A.19) forbid the allocation of two consecutive weekends to each physician schedule.
| (A.19) |
Distribution constraints:
Constraints (A.20) and (A.21) guarantee that each physician does not work more than a maximum desired number of shifts and a maximum desired number of night shifts, respectively.
| (A.20) |
| (A.21) |
Constraints (A.22) guarantee that a physician does not work more than weekends during the time horizon.
| (A.22) |
Goal constraints:
Constraints (A.23) ensure that the number of physicians working during day at shift is lower than or equal to .
| (A.23) |
Constraints (A.24) ensure that the number of patients treated by physicians during day and evening shifts is equal to the patients’ demand subject to some adjustments related to under-covering and over-covering.
| (A.24) |
Since there are no physicians allocated to fast-track clinic during night shifts, constraints (A.25) ensure that the number of patients treated by physicians of acute care area in the night shifts is equal to the total patients’ demand in both acute care area and fast-track clinic, subject to some adjustments related to under-covering and over-covering.
| (A.25) |
Constraints (A.26) guarantee that each physician works approximately the same number of day shifts as evening and night shifts.
| (A.26) |
Constraints (A.27) guarantee that each physician works approximately the number of shifts wanted.
| (A.27) |
Funding Statement
This work was supported by the Fonds de Recherche du Québec - Nature et Technologies.
Disclosure statement
No potential conflict of interest was reported by the authors.
References
- 4 reasons why emergency medicine scheduling is so complex . (2018). Glass, K.P. & Anderson, J.R.. https://mdsyncnet.com/emergency-medicine-scheduling-complex/
- Apprendre des meilleurs: étude comparative des urgences au québec . (2016). Rapport du gouvernement: indicateurs de performance Résultats sur le HSCM.
- Arya, R., Salovich, D. M., Ohman-Strickland, P., & Merlin, M. A. (2010). Impact of scribes on performance indicators in the emergency department. Academic Emergency Medicine, 17, 490–494. [DOI] [PubMed] [Google Scholar]
- Beaulieu, H., Ferland, J. A., Gendron, B., & Michelon, P. (2000). A mathematical programming approach for scheduling physicians in the emergency room. Health Care Management Science, 3, 193–200. [DOI] [PubMed] [Google Scholar]
- Bhargava, H. K., & Mishra, A. N. (2014). Electronic medical records and physician productivity: Evidence from panel data analysis. Management Science, 60, 2543–2562. [Google Scholar]
- Boyle, J., Jessup, M., Crilly, J., Green, D., Lind, J., Wallis, M., … Fitzgerald, G. (2012). Predicting emergency department admissions. Emergency Medicine Journal, 29, 358–365. [DOI] [PubMed] [Google Scholar]
- Carter, M. W., & Lapierre, S. D. (2001). Scheduling emergency room physicians. Health Care Management Science, 4, 347–360. [DOI] [PubMed] [Google Scholar]
- Champion, R., ., Kinsman, L. D., Lee, G. A., Masman, K. A., May, E. A., Mills, T. M., … Williams, R. J. (2007). Forecasting emergency department presentations. Australian Health Review, 31, 83–90. [DOI] [PubMed] [Google Scholar]
- Computing in operations research using Julia (2015). INFORMS Journal on Computing 27 238–248. [Google Scholar]
- Cooke, M., Fisher, J., Dale, J., McLeod, E., Szczepura, A., Walley, P., & Wilson, S. (2004) Reducing attendances and waits in emergency departments: A systematic review of present innovations. National Co-ordinating Centre for NHS Service Delivery and Organisation R & D, London. [Google Scholar]
- Derlet, R. W., & Richards, J. R. (2000). Overcrowding in the nation’s emergency departments: Complex causes and disturbing effects. Annals of Emergency Medicine, 35, 63–68. [DOI] [PubMed] [Google Scholar]
- Dula, D. J., Dula, N. L., Hamrick, C., & Wood, G. C. (2001). The effect of working serial night shifts on the cognitive functioning of emergency physicians. Annals of Emergency Medicine, 38, 152–155. [DOI] [PubMed] [Google Scholar]
- El-Rifai, O., Garaix, T., Augusto, V., & Xie, X. (2015). A stochastic optimization model for shift scheduling in emergency departments. Health Care Management Science, 18, 289–302. [DOI] [PubMed] [Google Scholar]
- Erhard, M., Schoenfelder, J., Fügener, A., & Brunner, J. O. (2017). State of the art in physician scheduling. European Journal of Operational Research, 265, 1–18. [Google Scholar]
- Ernst, A. T., Jiang, H., Krishnamoorthy, M., & Sier, D. (2004). Staff scheduling and rostering: A review of applications, methods and models. European Journal of Operational Research, 153, 3–27. [Google Scholar]
- Ganguly, S., Lawrence, S., & Prather, M. (2014). Emergency department staff planning to improve patient care and reduce costs. Decision Sciences, 45, 115–145. [Google Scholar]
- Gendreau, M., Ferland, J. A., Gendron, B., Hail, N., Jaumard, B., Lapierre, S., … Soriano, P. (2006) Physician Scheduling in Emergency Rooms. Practice and Theory of Automated Timetabling VI: 6th International Conference, PATAT 2006 Brno, Czech Republic, August 30–September 1, 2006, Revised Selected Papers, 53–66. [Google Scholar]
- Glass, K. P., & Anderson, J. R. (2002). Relative value units: From A to Z (Part I of IV). The Journal of Medical Practice Management, 17, 225–228. [PubMed] [Google Scholar]
- Green, L. V., Soares, J., Giglio, J. F., & Green, R. A. (2006). Using queueing theory to increase the effectiveness of emergency department provider staffing. Academic Emergency Medicine, 13, 61–68. [DOI] [PubMed] [Google Scholar]
- Harvey, A. C., & Peters, S. (1990). Estimation procedures for structural time series models. Journal of Forecasting, 9, 89–108. [Google Scholar]
- Hoot, N. R., & Aronsky, D. (2008). Systematic review of emergency department crowding: Causes, effects, and solutions. Annals of Emergency Medicine, 52, 126–136.e1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Hulshof, P. J. H., Kortbeek, N., Boucherie, R. J., Hans, E. W., & Bakker, P. J. M. (2012). Taxonomic classification of planning decisions in health care: A structured review of the state of the art in OR/MS. Health Systems, 1, 129–175. [Google Scholar]
- Innes, G. D., Scheuermeyer, F. X., Marsden, J., Sing, C. K., Kalla, D., Stenstrom, R., … Grafstein, E. (2018). The effect of working serial night shifts on the cognitive functioning of emergency physicians. CJEM, 20, 183–190. [DOI] [PubMed] [Google Scholar]
- Jones, S. A., Joy, M. P., & Pearson, J. (2002). Forecasting demand of emergency care. Health Care Management Science, 5, 297–305. [DOI] [PubMed] [Google Scholar]
- Jones, S. S., Evans, R. S., Allen, T. L., Thomas, A., Haug, P. J., Welch, S. J., & Snow, G. L. (2009). A multivariate time series approach to modeling and forecasting demand in the emergency department. Journal of Biomedical Informatics, 42, 123–139. [DOI] [PubMed] [Google Scholar]
- Jones, S. S., Thomas, A., Evans, R. S., Welch, S. J., Haug, P. J., & Snow, G. L. (2008). Forecasting daily patient volumes in the emergency department. Academic Emergency Medicine, 15, 159–170. [DOI] [PubMed] [Google Scholar]
- Kam, H. J., Sung, J. O., & Park, R. W. (2010). Prediction of daily patient numbers for a regional emergency medical center using time series analysis. Healthcare Informatics Research, 16, 158–165. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Leung, A. K., Puri, G., Chen, B. E., Gong, Z., Chan, E., Feng, E., & Duic, M. (2018). Impact of Physician Navigators on productivity indicators in the ED. Emergency Medicine Journal, 35, 5–11. [DOI] [PubMed] [Google Scholar]
- McCarthy, M. L., Zeger, S. L., Ding, R., Aronsky, D., Hoot, N. R., & Kelen, G. D. (2008). The challenge of predicting demand for emergency department services. Academic Emergency Medicine, 15, 337–346. [DOI] [PubMed] [Google Scholar]
- Moineddin, R., Meaney, C., Agha, M., Zagorski, B., & Glazier, R. H. (2011). Modeling factors influencing the demand for emergency department services in Ontario: A comparison of methods. BMC Emergency Medicine, 11, 11–13. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Perceptions et expériences de soins de la population: le Québec comparé - Résultats de l’enquête internationale sur les politiques de santé du Commonwealth Fund de . (2016). Le Commissaire à la santé et au bien-être. Gouvernement du Québec. 2017. [Google Scholar]
- Savage, D. W., ., Woolford, D. G., Weaver, B., & Wood, D. (2015). Developing emergency department physician shift schedules optimized to meet patient demand. Canadian Journal of Emergency Medicine, 17, 3–12. [DOI] [PubMed] [Google Scholar]
- Storfa, A. H., & Wilson, M. L. (2015). Physician productivity: Issues and controversies. American Journal of Clinical Pathology, 143, 6–9. [DOI] [PubMed] [Google Scholar]
- Sun., Y., Heng, B. H., Seow, Y. T., & Seow, E. (2009). Forecasting daily attendances at an emergency department to aid resource planning. BMC Emergency Medicine, 9, 1. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Taylor, S. J., & Letham, B. (2018). Forecasting at Scale. The American Statistician, 72, 37–45. [Google Scholar]
- Wargon, M., Guidet, B., Hoang, T. D., & Hejblum, G. (2009). A systematic review of models for forecasting the number of emergency department visits. Emergency Medicine Journal, 26, 395–399. [DOI] [PubMed] [Google Scholar]
- 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 Systems, 54, 225–228. [Google Scholar]
- Yoon, P., Steiner, I., & Reinhardt, G. (2003). Analysis of factors influencing length of stay in the emergency department. Canadian Journal of Emergency Medicine, 5, 155–161. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Citations
- 4 reasons why emergency medicine scheduling is so complex . (2018). Glass, K.P. & Anderson, J.R.. https://mdsyncnet.com/emergency-medicine-scheduling-complex/
