1 Introduction

Home Care (HC) service consists of providing medical, paramedical and social services to patients at their domicile. The main benefit of HC is the reduction of the hospitalization rate, that leads to significant quality of life increase for the assisted patients and to relevant cost savings for the entire health care system (Comondore et al. 2009).

In the US, about 3.3 million patients received HC services from more than 11,400 agencies, and Medicare spent 19 billion dollars on HC services in 2009 (Medicare Payment Advisory Commission MEDPAC 2011). HC is a relevant aspect of the healthcare domain also in Europe, Canada and Australia (Chevreul et al. 2005). This is a growing sector in western countries, due to the ageing of the population, the increase in chronic pathologies, the introduction of innovative technologies and the continuous pressure of governments to contain healthcare costs.

Several types of resources are involved in the service delivery, including different categories of operators (nurses, physicians, physiotherapists, social assistants and psychologists), support staff and material resources. Managing these HC resources is a difficult task that is still executed without appropriate methodologies and tools (Chahed et al. 2006; Asquer et al. 2007). In fact, resource management in HC requires to assign and schedule the human and material resources for delivering the care services to a high number of patients that live in different locations of a geographical area. In addition, the amount of service required by each patient is intrinsically random, thus making the planning problem more complex (DeAngelis 1998; Lanzarone et al. 2010). Finally, the existence of some constraints, such as the continuity of care (Haggerty et al. 2003) and the risk of incurring in burn-out of operators (Cordes and Dougherty 1993; Borsani et al. 2006), makes the HC resource planning peculiar and different from the planning problems encountered in other production and service systems.

The main issues in HC human resource planning are the human resource dimension, the partitioning of a territory into a given number of districts, the assignment of visits to operators and the routing problem (Chahed et al. 2006). In particular, the operator assignment is a critical issue for maintaining a high quality of the provided service (Lanzarone and Matta 2009) when the HC provider wants to preserve the continuity of care, i.e., when the service is delivered by the same actors. Working with continuity of care should preserve a dimension of the service quality perceived by the customer, because the patient receives the care from the same operator within each category (named reference operator) for a long period (usually a semester), and thus he/she does not have to continuously change his/her relationships with a new operator (Haggerty et al. 2003).

In the literature, there are several works dealing with the human resource planning in HC services without continuity of care or with a partial continuity of care (Eveborn et al. 2006, 2009; Bertels and Fahle 2006; Thomsen 2006; Akjiratikarl et al. 2007; Chahed et al. 2009; Bennett and Erera 2011). However, there are not many studies dealing with the continuity of care in HC providers, yet. Among them, Borsani et al. (2006) study the scheduling of visits in two HC organizations and propose an assignment model coupled to a scheduling model. Hertz and Lahrichi (2009) propose two mixed programming models for allocating operators to patients in the Cotes-des-Neiges local community health clinic in Montreal, Canada. Ben Bachouch et al. (2008) develop a mixed integer linear programming model to minimize the total distance traveled by nurses. Lanzarone and Matta (2009) propose a set of linear programming models to balance the workloads of the operators of different categories for different configurations of HC providers.

An important research stream deals with the assignment and scheduling of nurses and medical staff in hospitals and a certain number of papers testify this research activity. Cheang et al. (2003) report a bibliographic survey of the models and methodologies available to solve the nurse rostering problem. Burke et al. (2004) discuss on the strengths and weaknesses of the literature on nurse rostering problem and outline the key issues to be addressed in the research. Bard and Purnomo (2005, 2007) and Purnomo and Bard (2007) propose integer programming models for scheduling the nurses in the presence of a fixed nursing staff, that vary in the objective pursued (i.e., taking into account the preferences of nurses or minimizing the number of uncovered shifts) and in the solution procedure: solved with a branch-and-price algorithm, a column generation approach, or decomposed using Lagrangian relaxation. Belien and Demeulemeester (2008) integrate the nurse and the operating room scheduling processes adopting the column generation method. Punnakitikashem et al. (2008) develop a stochastic integer programming model for the nurse assignment in hospital. The model takes into account the variability of the demand and is solved with a decomposition technique. DeGrano et al. (2009) propose a scheduling that considers both nurse preferences and hospital constraints. Sundaramoorthi et al. (2010) develop two numerical policies to make nurse-to-patient assignments when new patients are admitted during a shift. A recent review on nurse scheduling models is also reported in the chapter of Bard (2010). Finally, Brunner et al. (2009, 2011) solve the flexible scheduling of physicians to shifts in hospital with the goal of minimizing the overtime to be extra paid.

This analysis shows that the operator assignment in the healthcare domain is solved with numerical approaches, as the mathematical programming, while no attempts of formalizing structural policies can be found. The knowledge about the structure of the optimal assignment policies could be helpful mainly for three reasons. HC providers could easily apply simplified policies without requiring expensive software applications, and this aspect can be particularly helpful for small providers that does not have ERP-like platforms and a complex organization. Furthermore, analytical policies can solve the problem with a limited computational effort, allowing to easily include the high variability of the demand. Finally, the structure of the optimal policy could be used to help research the optimum in the heuristic-based algorithms that have to be adopted for large scale problems faced by large HC providers.

This paper deals with the problem of assigning one newly admitted patient to a HC operator (e.g. nurse, physician, physiotherapist) under uncertain workload (related to the amount of care needed by the patients) and respecting the continuity of care. Specifically, the paper proposes a structural policy for solving the assignment problem, choosing the reference operator among a set of possible operators compatible with the newly admitted patient. In general, this set refers to all of the operators belonging to patient’s district and, for this reason, compatible in terms of skill and territory; however, in the presence of specific patient’s requests (e.g., specific treatments related to the patient’s pathology or the gender compatibility between the patient and the operator) the set can exclude some operators in the district.

The reference operator of the new patient is chosen to reduce the expected value of a penalty cost that is function of the amount of the time for visits that each operator supplies in excess of his/her capacity (in accordance with the working contract). Hence, the proposed policy allows planners to assign the new patient with the minimum increase of the expected cost sustained by the HC provider under stochastic patient demand.

In this paper we focus on nurses, who provide the largest amount of visits to the HC patients and manage the emergencies and the fluctuations of the patient demand.

The paper is structured as follows: the detailed problem description and the assumptions introduced are reported in Sect. 2. Then, in Sect. 3, the policy is formally presented. In Sect. 4, the proposed policy is compared to the real practice of HC providers that assign patients based on the expected workloads of their operators. Finally, a real case analysis is reported in Sect. 5 and the conclusions of the work are drawn in Sect. 6.

2 The model

This paper analyzes the case in which a new patient is admitted into the HC service and has to be assigned to his/her reference operator. We consider the assignment of the reference operator independent of the districting of the provider. It means that the provider has already been divided into districts and that the human resources have been already assigned to each district. Moreover, the problem is solved in a configuration where the assignment is also independent of the routing of operators. This is valid for several HC providers, where the territorial extension of the districts is limited and the routes are drawn after the assignments are defined.

Each operator has been already loaded with a certain number of patients that, all together, give an initial stochastic workload X 0, expressed as the amount of time spent for visits in the planning period (variable from a week to a month). To keep simple the notation, we refer to a generic operator that is under consideration for the assignment of a new patient; therefore, we omit the index denoting the specific operator. The initial workload X 0 is assumed distributed with a triangular probability density function \(\Upphi_{0} \left(x\right)\) characterized by parameters a, b and c; parameter a is the minimum workload, b the modal workload and c the maximum workload.

We consider a cost function for each operator that depends on the amount of time for visits that he/she supplies in surplus to his/her capacity v in the planning period (in accordance with the working contract). The analysis considers differential costs, because only the visits above the contract threshold v are significant for the assignment problem. The fixed costs for the HC provider are not considered (i.e. costs associated with visits below v), because they are always sustained by the provider independent of the assignments of patients to their reference operator. An implicit assumption is that nurses are employees of the HC provider.

The cost related to an operator is assumed to be a quadratic function of time for visits above the capacity. Hence, an operator who works two hours of overtime is more costly than two operators who work one hour of overtime. Therefore, the expected cost C related to an operator under a stochastic workload \(X \sim \Upphi \left(x\right)\) is defined as:

$$ C = \int\limits_{v}^{\infty} \left( x-v \right)^{2} \Upphi \left( x \right) \hbox {d}x $$
(1)

Given a set of n compatible operators, the assignment of the reference operator to the new patient is chosen to minimize the increase of the expected cost. This leads to balance, in some way, the workload among the operators. Workload balancing among operators is a goal pursued in practice by most of HC providers.

We now introduce a set of further assumptions that focus the analysis on realistic cases and allow us to simplify the analytical derivation of the optimal policy. These assumptions are consistent with the real situation of several HC providers (Chahed et al. 2006).

The operator capacity v is assumed to be in the second part of the triangular density function \(\Upphi_{0}\) (i.e., b < v < c) (see Fig. 1). The other possibilities for v (i.e., v < b and v > c) are not of interest for a practical application of the assignment policy. Indeed, the case v < b is the case in which the operator is highly overloaded; for this reason he/she should not be considered for the assignment of another patient. The case v > c refers to a highly underloaded operator that is not frequent in real organizations.

Fig. 1
figure 1

Triangular probability density function \(\Upphi_{0} \left(x\right)\) with the related parameters. Parameter v is included between b + β and c

The initial workload X 0 of each operator is assumed to be stationary in the planning period. This assumption might not be valid for some types of patients that may change their conditions during the care pathway. However, for chronic diseases and some other pathologies that are relevant in the HC, this assumption may hold.

2.1 Initial cost

The initial expected cost C 0 of an operator, according to Eq. (1) and the triangular density function \(\Upphi_{0} \left(x\right)\), is function of the current workload (i.e., ab and c) and capacity v:

$$ C_{0} = \frac{\left(c-v \right)^{4}}{6\left( c-a \right) \left( c-b \right)} $$
(2)

The above expression is a convex function decreasing in v. When v is equal to the maximum workload value c, the expected cost is 0. This is simply because the probability of incurring in an extra time for visits is null.

2.2 Assignment cost

The new patient to assign has a stochastic service request Y (time demanded for visits in the planning period) with a probability density function \(\Uppsi \left(y \right)\) that strictly depends on his/her characteristics at the beginning of the care pathway.

Two cases are considered in this paper. In the case the variability of the new patient’s demand is neglected, a deterministic value μ is assumed for Y (with μ ≥ 0). In the case the variability of the new patient’s demand is included in the model, it is difficult to go beyond the estimation of a minimum value α and a maximum value β of the time requested for visits in the planning period. In the absence of detailed information, the most convenient choice is to assume that the density \(\Uppsi\) is uniformly distributed within the interval [α, β].

The demand Y is assumed to be stationary in the planning period. Moreover, the maximum workload related to a single patient is always inferior to the smallest workload already assigned to an operator, i.e., β < a. This assumption is motivated because a patient usually requires at maximum one or two visits per day, while an operator provides a larger number of visits on each day.

Finally, the assumption regarding v of each operator is modified into b + β < v < c to derive the assignment cost (see Fig. 1).

When the newly admitted patient is assigned to the reference operator, the initial workload of this operator is increased with the demand of the new patient. In the case of a deterministic patient demand, the new workload distribution \(\tilde{\Upphi}_1\) of the assigned operator is simply shifted of μ with respect to \(\Upphi_0\). Therefore, the new expected cost (assignment cost) \(\tilde{C}_{1}\) is:

$$ \tilde{C}_{1} = \int\limits_{v}^{\infty} \left( x-v \right)^2 \tilde{\Upphi}_1 \left( x \right) \hbox {d}x = \frac{\left( c+\mu-v \right)^4}{6 \left( c-a \right) \left( c-b \right)} $$
(3)

Alternatively, \(\tilde{C}_{1}\) can be directly obtained from Eq. (2) by adding μ to the parameters of the triangular distribution, or by subtracting μ from v.

With a uniform patient demand distribution \(\Uppsi\), the new workload distribution \(\Upphi_{1}\) is derived with the convolution product between the initial workload distribution \(\Upphi_{0}\) and the uniform distribution \(\Uppsi\):

$$ \begin{aligned} \Upphi_1 \left( x \right) = & \int\limits_{-\infty}^{\infty} \Upphi_0 \left( x-n \right) \Uppsi \left( n \right) \hbox {d}n \\ = & 2 \left[\frac{g \left( x-a \right)}{\left( c-a \right) \left( b-a \right)} - \frac{g \left( x-b \right)}{\left( b-a \right) \left( c-b \right)} + \frac{g \left( x-c \right)}{\left( c-a \right) \left( c-b \right)} \right] \end{aligned} $$
(4)

where

$$ g \left( x \right) = \int\limits_{-\infty}^{x} \left[ \int\limits_{-\infty}^{\tau} \Uppsi \left( \xi \right) \hbox {d}\xi \right] \hbox {d}\tau $$
(5)

Using a triangular density function for \(\Upphi_{0}, \Upphi_{1}\) is equal to:

$$ \Upphi_1 \left( x \right) = \int\limits_{x-\beta}^{x-\alpha} \frac{1}{\beta-\alpha} \Upphi_{0} \left( n \right) \hbox {d}n $$
(6)

The resulting expression (limiting to the part x > b + β that is used in Eq. (1) for calculating the cost) is:

$$ \Upphi_1 \left( x \right)=\left\{\begin{array}{ll} -\frac{2x-\alpha-\beta-2c}{\left(c-a \right)\left(c-b \right)} & b+\beta<x \le c+\alpha\\ \frac{\left(x-\beta-c \right)^{2}}{\left(\beta-\alpha \right) \left(c-a \right) \left( c-b \right)}&c+\alpha<x \le c+\beta\\ 0&x>c+\beta\end{array}\right. $$
(7)

Then, the new expected cost C 1 is obtained considering the distribution \(\Upphi_1\):

$$ C_{1}= \int\limits_{v_{i}}^{\infty} \left(x_{i}-v_{i} \right)^{2} \Upphi_{1} \left(x \right) \hbox {d}x $$
(8)

The analytical expression of C 1, whose form is not simple, is reported in Appendix 1. In detail, the analytical expression of the difference between \(\tilde{C}_{1}\) and C 1, leading to the expression of C 1, is derived. This difference measures the accuracy of the approximation derived from neglecting higher moments in patient demand Y.

2.3 Objective function

The goal of the assignment is to allocate the newly admitted patient to only one reference operator, among the n compatible ones, characterized by the lowest increment of the expected cost (i.e., the difference between the assignment cost in the case of patient assignment and the initial cost).

In the case of deterministic patient demand, the objective is to minimize the increment \(\tilde{\delta}\):

$$ \tilde{\delta} = \tilde{C_{1}}-C_{0} $$
(9)

where the expression of \(\tilde{\delta}\) has a simple analytical form:

$$ \tilde{\delta} = \frac{\left( c+\mu-v \right)^{4} - \left( c-v \right)^{4}}{6 \left( c-a \right) \left( c-b \right)} $$
(10)

In the case of uniform patient distribution \(\Uppsi\), the objective is to minimize the increment δ:

$$ \delta = C_{1}-C_{0} $$
(11)

which has a more complex analytical expression (see Appendix 1).

In Sect. 2.4, the comparison between the two cases and the appropriateness of considering the minimization of \(\tilde{\delta}\) instead of δ (with a simpler analytical form) are discussed.

2.4 Comparison between deterministic and stochastic patient demand

The two objective functions introduced in Sect. 2.3 are compared with a geometrical approach. For this purpose, we refer to the time for visits that can be loaded to the operator below the capacity v (i.e., the assignable workload) or the extra time for visits exceeding v (i.e., the excess workload). Therefore, the parameters of the distribution \(\Upphi_{0}\) are expressed in relative terms with respect to the operator capacity v:

$$ \left \{\begin{array}{rl} a_{t}=a-v\\ b_{t}=b-v\\ c_{t}=c-v \end{array}\right. $$
(12)

c t can be interpreted as the maximum workload in excess related to the analyzed operator and the absolute value of a t as the maximum assignable workload (Fig. 1). The domain of these parameters is determined according to the relationships imposed among the variables:

$$ \left\{\begin{array}{ll} a_{t} \le b_{t} \le 0\\ c_{t} \ge 0 \end{array}\right. $$
(13)

Let us now define the parameter r b , related to the asymmetry of the distribution \(\Upphi_{0}\), as the ratio:

$$ r_b = \frac{b-a}{c-a} = \frac{b_t-a_t}{c_t-a_t} $$
(14)

with 0 < r b  < 1.

The analytical expressions of \(C_{0}, \tilde{C}_{1}\) and \(\tilde{\delta}\) are modified as follows:

$$ C_{0}=\frac{c_{t}^{4}}{6 \left(1-r_{b}\right) \left(c_{t}-a_{t}\right)^{2}} $$
(15)
$$ \tilde{C}_{1} = \frac{\left( c_{t}+\mu \right)^{4}}{6 \left(1-r_{b} \right) \left(c_{t}-a_{t}\right)^2} $$
(16)
$$ \tilde{\delta} = \frac{\left(c_{t}+\mu \right)^{4}-c_{t}^{4}}{6 \left(1-r_{b} \right) \left(c_{t}-a_{t}\right)^{2}} $$
(17)

and the constraints of Eq. (13) are modified into:

$$ \left \{\begin{array}{ll} c_{t} \ge 0\\ a_{t} \le -\frac{r_{b}}{1-r_{b}} c_{t} \end{array}\right. $$
(18)

The isolevel curves of C 0, δ and \(\tilde{\delta}\) can be reported in the plane c t a t . Each point in the admissible zone of the plane c t a t (included in the IV quadrant according to Eq. (18)) represents a possible operator, and the contour line passing through the point his/her associated expected initial cost or cost increase. Figure 2 reports the contour plots of δ (in two cases, with different variability of the uniform patient demand \(\Uppsi\)) and \(\tilde{\delta}\), while the contour plot of C 0 is reported in Fig. 3.

Fig. 2
figure 2

Contour plot of δ (dotted lines) and \(\tilde{\delta}\) (continuous lines) with r b  = 0.5 and μ = 3: a case with medium patient variability (α = 2 and β = 4), and b case with high patient variability (α = 0 and β = 6). The non admissible region, given by Eq. (18), is grey colored

Fig. 3
figure 3

Contour plot of C 0 (with r b  = 0.5). The non admissible region is grey colored

Two operators can be considered in the same contour plot if their workload density functions \(\Upphi_{0}\) have the same value of r b (same asymmetry of the distribution). As regards the nurses, basing on several real cases, this condition is often verified among the n nurses compatible with a new patient to assign. This probably holds because the assignment splits the different types of patients among the operators, with consequent similar mixes, and the mode of the distribution is in the same intermediate position between the minimum value and the maximum value.

Points in the upper left region represent operators with a low variability of the workload (low difference c t  − a t ), while points in the lower right region represent operators with a high variability of the workload (high difference c t  − a t ). Moreover, the more a point is close to the line \(a_{t}=-\frac{r_{b}}{1 -r_{b}} c_{t}\) that limits the admissible region, the more the operator has an expected workload close to his/her capacity.

The expected cost increases δ and \(\tilde{\delta}\) are compared in terms of the direction of the gradient of their isolevel curves in the plane c t a t , where the direction D k of a curve k is defined as the ratio between the derivative of k with respect to a t and the derivative of k with respect to c t . D k represents the tangent of the angle between the gradient vector of k and the axis c t .

It is possible to notice a good superposition between δ and \(\tilde{\delta}\) for a low patient demand variability, with a difference that limitedly grows when the variability increases (Fig. 2). In detail, directions \(D_{\tilde{\delta}}\) and D δ are similar in each point, even in the presence of a large patient demand variability. As a consequence, in the majority of cases, the operator with the lowest cost increase remains the same including or neglecting the variability of the new patient’s demand.

The motivation for this similarity is that the patient demand variability is negligible with respect to the variability already assigned to the operators. When an operator takes care of a certain number of patients, the variability of the already assigned workload is prevailing on the variability of the new patient in the determination of the cost increase. Therefore, it can be reasonable to consider \(\tilde{\delta}\) rather than δ.

Also considering other shapes for the probability density function \(\Uppsi\), the variability of the new patient’s demand is negligible with respect to the variability already assigned and the assumption of considering \(\tilde{\delta}\) remains valid.

After the assignment of a patient to an operator, the point relative to the operator moves in the contour plot as a consequence of the workload increase: both the mean value and the standard deviation of the operator workload increase, while the skewness does not significantly change because a uniform distribution for the new patient’s demand is assumed (we can therefore suppose that r b remains the same). Following the geometrical approach, the operator point movement in the plane c t a t after the assignment is derived in Appendix 2.

3 Assignment policy

The policy minimizes the expected cost increase related to the patient-operator assignment. The cost increase \(\tilde{\delta}\) is considered in the analytical derivation of the policy, as discussed in Sect. 2.4.

The following Lemmas will be useful for deriving the policy.

Lemma 1

The direction \({D_{C_0}}\) is always positive \(({D_{C_0} > 0})\) and C 0 increases with c t and a t .

Proof

The direction \({D_{C_0}}\) is calculated as the ratio between the derivative of C 0 with respect to a t and the derivative of C 0 with respect to c t :

$$ D_{C_{0}} = \left[ \frac{2 \left( c_{t}-a_{t} \right)}{c_{t}} - 1 \right]^{-1} $$
(19)

This expression is greater than zero if \(a_{t}<\frac{c_{t}}{2}\), that is always valid in the admissible region because a t  < 0 and c t  > 0.

Moreover, the derivative of C 0 with respect to a t is equal to:

$$ \frac{\partial C_{0}}{\partial a_{t}} = \frac{c_{t}^{4}}{3 \left( 1-r_{b} \right) \left(c_{t}-a_{t}\right)^{3}} $$
(20)

that is always positive in the admissible region; therefore, C 0 increases with a t .

Also the derivative of C 0 with respect to c t is always positive, because of \(D_{C_0}>0\) and \(\frac{\partial C_{0}}{\partial a_{t}}>0\). Therefore, C 0 increases with c t . \(\square\)

Lemma 2

For any assignment patient-operator characterized by an initial operator workload distribution \(\Upphi_{0}\) and a patient demand μ, the directions \(D_{\tilde{\delta}}\) and \({D_{C_0}}\) are related in the following way: \(D_{\tilde{\delta}} > D_{C_{0}}\).

Proof

The direction \(D_{\tilde{\delta}}\) is calculated as the ratio between the derivative of \(\tilde{\delta}\) with respect to a t and the derivative of \(\tilde{\delta}\) with respect to c t :

$$ D_{\tilde{\delta}} = \left[\frac{2 \left( c_{t}-a_{t}\right) \left( 3 c_{t}^{2}+3\mu c_{t}+\mu^{2}\right)}{4 c_{t}^{3}+6 \mu c_{t}^{2}+4 \mu^{2} c_{t}+\mu^{3}}-1 \right]^{-1} $$
(21)

Considering Eqs. (19) and (21), the condition \(D_{\tilde{\delta}} > D_{C_{0}}\) is expressed as follows:

$$ \left[ \frac{2 \left( c_t-a_t \right) \left( 3 c_t^2 + 3 \mu c_t + \mu^2 \right)}{4 c_t^3 + 6 \mu c_t^2 + 4 \mu^2 c_t + \mu^3} -1 \right] ^{-1} > \left[ \frac{2 \left( c_t-a_t \right)}{c_t} - 1 \right]^{-1} $$
(22)

After some manipulations it results in:

$$ \frac{3 c_{t}^{2}+3 \mu c_{t}+\mu^{2}}{4 c_{t}^{3}+6 \mu c_{t}^{2}+ 4 \mu^{2} c_{t}+ \mu^{3}}<\frac{1}{c_{t}} $$
(23)

and then in (c t  + μ)3 > 0. Therefore, inequality (22) is satisfied for all of the admissible c t and μ (both positive values). \(\square\)

Lemma 3

The direction \(D_{\tilde{\delta}}\) is always positive \((D_{\tilde{\delta}} > 0)\) and \(\tilde{\delta}\) increases with c t and a t .

Proof

Inequalities \(D_{\tilde{\delta}}>D_{C_0}\) (Lemma 2) and \(D_{C_0} > 0\) (Lemma 1) result in \(D_{\tilde{\delta}}>0\). Moreover, the derivative of \(\tilde{\delta}\) with respect to a t is equal to:

$$ \frac{\partial \tilde{\delta}}{\partial a_{t}} = \frac{\left( c_{t}+ \mu \right)^{4}-c_{t}^{4}}{3 \left(1-r_{b}\right) \left(c_{t}-a_{t} \right)^{3}} $$
(24)

that is always positive in the admissible region; therefore, \(\tilde{\delta}\) increases with a t .

Also the derivative of \(\tilde{\delta}\) with respect to c t is always positive, because of \(D_{\tilde{\delta}}>0\) and \(\frac{\partial \tilde{\delta}}{\partial a_t}>0\). Therefore, \(\tilde{\delta}\) increases with c t . \(\square\)

Assuming valid to consider \(\tilde{\delta}\) rather than δ for the expected cost increment (as discussed in Sect. 4), the policy derived in the following is optimal. In the derivation, the particular case of operators with the same initial cost is firstly considered and, then, the theorem for the general assignment policy is formulated.

Theorem 1

In the presence of operators with the same C 0 and r b , the optimal choice is to assign the patient to the operator with the highest assignable workload (lowest a t ) independent of the new patient’s demand.

Proof

Lemmas 1, 2 and 3 affirm that \(D_{\tilde{\delta}} > D_{C_{0}} > 0\). Therefore, considering different points on the same C 0 isolevel line (meaning operators with the same C 0 and r b ), the point with the highest a t value intersects the isolevel line of \(\tilde{\delta}\) with the highest value and vice versa (Fig. 4).

Fig. 4
figure 4

Intersections of different operators points having the same C 0 value with the \(\tilde{\delta}\) isolevel curves

Hence, given different operators with the same initial cost C 0, the lowest cost increase is obtained assigning the patient to the operator with the lowest a t value (highest assignable workload). \(\square\)

In the presence of different initial costs, the general theorem of the assignment policy is now stated.

Theorem 2

In the presence of two operators i and j with the same r b , if operator i has the lowest C 0 and the maximum assignable workload (lowest a t ), the optimal choice is to assign the new patient to operator i, independent of the new patient’s demand. Otherwise, the optimal choice also depends on the new patient’s demand and the optimal choice is to assign the new patient to the operator with the minimum expected cost increase.

Proof

The value of \(\tilde{\delta}\) increases moving from the lower left part to the upper right part in the admissible zone of the plane c t a t (Lemma 3). Consequently, considering the \(\tilde{\delta}\) curve passing through the point of operator i, the region upper this line is characterized by higher cost increases (assuming operators with the same r b value) and operator i is the best assignment with respect to all of the operators j whose point is in the region upper the \(\tilde{\delta}\) curve through the point i.

Based on Lemma 2, the isolevel curve of C 0 passing through the point of operator i is on the right with respect to the isolevel curve of \(\tilde{\delta}\) passing through the same point for a t values greater than the value of operator i. On the contrary, the isolevel curve of C 0 is on the left with respect to the isolevel curve of \(\tilde{\delta}\) for a t values lower than the value of operator i (see Fig. 4).

Therefore, if operator j has higher C 0 and a t values than operator i (with the same r b ), he/she consequently has a higher \(\tilde{\delta}\) value and the optimal choice is to assign the patient to operator i. On the contrary, if operator j has lower C 0 and a t values than operator i, he/she consequently has a lower \(\tilde{\delta}\) value and the optimal choice is to assign the patient to operator j (Fig. 5).

Fig. 5
figure 5

Graphical representation of the assignment policy in the C 0 contour plot (with r b  = 0.5)

If operator j is in the remaining regions of the plane, the best assignment depends on the new patient’s demand (i.e., μ) because the \(\tilde{\delta}\) curve passing through the point of operator i is included in these regions, with a direction \(D_{\tilde{\delta}}\) that depends on μ. Indeed, \(D_{\tilde{\delta}}\) increases with μ where \(\frac{\partial D_{\tilde{\delta}}}{\partial \mu}>0\), with:

$$ \frac{\partial D_{\tilde{\delta}}}{\partial \mu} = \frac{\left(c_{t}-a_{t}\right) \left(\mu^{4}+6 \mu^{3}c_{t}+15 \mu^{2}c_{t}^{2}+ 16 \mu c_{t}^{3}+6 c_{t}^{4}\right)}{\left(4 c_{t}^{3}+6 \mu c_{t}^{2}+4 \mu^{2}c_{t}+ \mu^{3}\right)^{2}\left[ \frac{2 \left(c_{t}-a_{t}\right) \left( 3 c_{t}^{2}+ 3 \mu c_{t}+ \mu^{2} \right)}{4 c_{t}^{3}+6 \mu c_{t}^{2}+4 \mu^{2}c_{t}+\mu^{3}}-1\right]^{2}} $$
(25)

Hence, because both μ and c t are positive and a t is negative, the condition \(\frac{\partial D_{\tilde{\delta}}}{\partial \mu}>0\) is always verified and \(D_{\tilde{\delta}}\) always increases with μ. Therefore, if operator j has a lower a t value and a higher C 0 than operator i, the optimal choice is to assign the patient to operator i for low μ values and to operator j for high μ values. On the contrary, if operator j has a higher a t value and a lower C 0 than operator i, the optimal choice is to assign the patient to operator j for low μ values and to operator i for high μ values. \(\square\)

More complex demonstrations can be developed for δ instead of \(\tilde{\delta}\). We numerically verified that the same policy can be derived considering δ, as expected.

4 Comparison with the expected workload approach

In the current practice of the HC providers, the variability of patient demands, and consequently of future operator workloads, is not considered. The only information used for assigning the patient to his/her reference operator is the operator expected workload, often estimated as the sum of the standard times for visits of his/her patients in the charge (taken from existing clinical protocols). Consequently, the patient is assigned to the operator with the smallest utilization value scaled to his/her capacity.

To model this practice with the approach proposed in this paper, only the expected value is extracted from each triangular distribution \(\Upphi_{0}\). Thus, the new patient is assigned to the operator with the highest expected assignable workload W that is given by the difference between the operator capacity v and his/her expected workload:

$$ W=v-\frac{a+b+c}{3}=- \frac{a_{t}+b_{t}+c_{t}}{3} $$
(26)

Parameter r b is introduced also in this case:

$$ W=-\frac{a_{t}\left(2-r_{b}\right)+c_{t}\left(1+r_{b}\right)}{3} $$
(27)

An analogue contour plot is drawn for W, to compare the assignment policy with the expected workload approach (Fig. 6). When W assumes a negative value, it has to be interpreted as an expected workload in excess. Therefore, this region is not considered for the assignment of new patients, because an operator with an expected workload in excess than his/her capacity should not receive other patients. If r b  = 0.5, this region is equal to the region excluded from the hypotheses (Eq. (18)).

Fig. 6
figure 6

Contour plot of δ (continuous lines) and W (dotted lines) with points relative to two operators (operator 1 with a t  =  −10.5 and c t  = 3.5; operator 2 with a t  =  −17 and c t  = 6). Parameters are the same as in Fig. 2a

Similar directions \(D_{\tilde{\delta}}\) and D W in a region of the plane lead to similar assignments under both the assignment policy and the expected workload approach, while on the contrary, different directions indicate a solution of the assignment problem that depends on the approach.

The direction D W is constant all over the admissible region and it is equal to:

$$ D_{W}=\frac{2-r_{b}}{1+r_{b}} $$
(28)

D W varies from 0.5 if r b  = 1 to 2 if r b  = 0, with a value equal to 1 in the case of a symmetric function \(\Upphi_{0}\) with r b  = 0.5.

Because the assignment is for the highest W (while for the lowest δ in the case of the policy), the gradients to compare have opposite versa; however, the similarity between directions is not influenced by the different versa and the approaches can be compared by analyzing the direction.

Figure 7 reports the contour plot of \(D_{\tilde{\delta}}-D_{W}\); very similar plots are obtained for D δ − D W . In the admissible region, the differences \(D_{\tilde{\delta}}-D_{W}\) and D δ − D W are almost everywhere negative and the directions are highly different. Therefore, different solutions of the assignment problem can derive from using W instead of the proposed policy. Similar directions are obtained in a limited region, where the differences are low (upper part of the admissible region, characterized by a quite null W and a low variability of the operator workload). This means that the expected workload approach is useful only in this zone, while in the other regions there is a potential added value in considering the service demand variability with its cost for the entire structure. Considering the real case analyzed in Sect. 5, the majority of operator points are in the lower region of the plane c t a t , where the difference is high (Fig. 8).

Fig. 7
figure 7

Contour plot of \(D_{\tilde{\delta}}-D_{W}\) with μ = 3 and r b  = 0.5. The non admissible zone is grey colored

Fig. 8
figure 8

Points relative to the nurses of the considered districts of the analyzed HC provider, reported in the contour plot of C 0 (the non admissible region is grey colored)

As an example, comparing the two operators of Fig. 6, the approaches lead to opposite decisions: operator 2 is chosen with the expected workload approach, while operator 1 with the minimum cost increase policy. The corresponding triangular density functions of the two operators are shown in Fig. 9. Operator 1 has a lower W than operator 2 and the expected workload approach consequently assigns the new patient to operator 2. However, the part of the workload distribution \(\Upphi_{0}\) greater than v suggests that operator 2 has a higher probability to exceed the capacity. This excess is translated into a higher cost for the structure, according to Eq. (1), and the minimum cost increase policy assigns the new patient to operator 1.

Fig. 9
figure 9

Triangular probability density functions \(\Upphi_{0} \left(x\right)\) for the operators of Fig. 6

In detail, the assignment provided by the expected workload approach is different from the assignment provided by the minimum cost increase policy mainly if the assignments provided by the policy also depends on the new patient’s demand (see Theorem 3), as shown in the following Corollary.

Corollary 1

Considering two operators whose workloads are fitted with triangular density functions \(\Upphi_{0}\) with the same \(r_{b}\ge \frac{1}{3}\), a different assignment between the minimum cost increase policy and the expected workload approach is possible only if the assignment of the policy is influenced by the new patient’s demand. If \(r_{b}< \frac{1}{3}\), a different assignment between the minimum cost increase policy and the expected workload approach is also possible if the assignment of the policy is independent of the new patient’s demand in the region where \(a_{t}<-\frac{c_{t}}{2}\).

Proof

The direction D W is always positive (0.5 ≤ D W  ≤ 2) and W grows moving to the lower left zone of the plane c t a t .

Considering the point of an operator i, if \({D_{C_0}}\) < 0.5 in the point, the W line through the point i is always included in the region where the best assignment of the policy also depends on the new patient’s demand. This condition is verified for:

$$ a_{t}<-\frac{c_{t}}{2} $$
(29)

When verified, the region where the policy assigns the new patient to operator i independently from the new patient’s demand always refers to a higher W for operator i than for operator j and also the W approach assigns the new patient to operator i, and vice versa. Hence, opposite choices only occur where the best assignment of the policy also depends on the new patient’s demand (see Fig. 5).

Considering the admissible region, given by Eq. (18), the condition of Eq. (29) is always verified if \(r_{b}\ge \frac{1}{3}\). If \(r_{b}< \frac{1}{3}\), Eq. (29) is not verified close to the boundary of the admissible region, where \(\frac{r_{b}}{r_{b-1}} c_{t}<a_{t}<-\frac{c_{t}}{2}\) (operators with an expected workload close to the capacity). □

5 Real case analysis

5.1 Provider

The real case analysis is conducted considering the nurses of one of the largest Italian public HC providers. This provider operates in the north of Italy, covering a region of about 800 km2, with about 1,000 patients assisted at the same time and 50 nurses. It is divided into three divisions and the analysis refers to the largest one. In this division, six independent districts of nurses are present, divided by skill and territorial distribution. Table 1 reports the main data for the districts of the analyzed division; the districts with only one nurse are excluded from the analysis.

Table 1 Districts of nurses in the considered division of the analyzed HC provider

The capability of the proposed policy to balance the workload among the nurses and to reduce the variable costs is evaluated over a period of 26 weeks (data from April to September 2008).

5.2 Experimental set-up

An initial assignment of the reference nurse is carried out for the initial week (named week 0) for all of the patients in the charge, while the other assignments are carried out rolling at each week: at the beginning of each week, the new patients admitted in the service in the previous week are assigned.

The weekly arrivals of new patients are taken from the historical data of the HC provider, in terms of numerousness, characteristics and district, while the patient demands (demand expressed in terms of weekly hours for visits) are estimated with the patient stochastic model built with the procedure of Lanzarone et al. (2010).

The minimum cost increase policy is applied and evaluated in three different experiments:

  1. 1.

    Using triangular distributions \(\Upphi_{0}\) for X and uniform distributions \(\Uppsi\) for Y, both computed to fit the empirical distributions from the patient stochastic model relative to the next week. Hence, the planning horizon is equal to one week.

  2. 2.

    Using triangular distributions \(\Upphi_{0}\) for X and deterministic values μ for Y, both computed to fit the empirical distributions from the patient stochastic model relative to the next week, with a planning horizon equal to one week.

  3. 3.

    Using the empirical distributions for both X and Y, directly obtained from the patient stochastic model. In this case, the non stationarity of the patient demand is considered, using a planning period of eight weeks (with a different distribution for each patient demand at each week) and considering the cost function as the sum of the costs estimated at each one of the eight weeks.

The expected workload approach W is also evaluated, with a planning horizon equal to one week, using the expected values of the empirical distributions from the patient stochastic model for both the operators’ workloads X and the new patient’s demand Y.

In all of the cases, the initialization at week 0 is carried out using the minimum cost increase and the empirical distributions; then, in the other weeks, the different approaches are adopted.

The goal is to evaluate the impact of an inappropriate modeling of the initial workloads and the new patient’s demand (\(\Upphi_{0}\) and \(\Uppsi\), respectively).

By the data collected from the analyzed division, r b has a mean value of 0.467 and a standard deviation of 0.070 (estimations are made on the basis of a sample of 22 operators). Hence, each density function \(\Upphi_{0}\) is estimated based on the expected value and the variance of the empirical distribution, assuming r b  = 0.467. Parameter a is imposed to be higher than 0; in the case a < 0, a = 0 is set, maintaining the same expected value and r b and underestimating the variance.

For each uniform patient distribution \(\Uppsi, \alpha\) and β are estimated based on the expected value and the variance of the empirical distribution. In the case α < 0, α = 0 is set, maintaining the expected value and underestimating the variance.

Because more than one patient has to be assigned at each week, a simple rule coherent with the assignment approach is adopted to choose the assignment order. For the cost increase approaches, the new patients are ranked by their expected cost increase (after having identified the best nurse for each patient). For the expected workload approach, the new patients are ranked by their expected demand. Then, the new patient with the highest cost increase or expected demand is the first assigned patient, and this ranking process is repeated for the other new patients, and so forth.

If an operator is underloaded with respect to the hypotheses (i.e., c < v), we consider a null cost increase so that he/she is the best assignment. On the contrary, if an operator is overloaded with respect to the hypotheses (i.e., b + β > v), he/she is the worst assignment. In the presence of two or more operators in one of these conditions, they are ranked starting from the patient with the highest difference v − c (for underloaded operators) or the lowest difference b − v (for overloaded operators).

The new assignments and the planned workload of each operator at each week are obtained in each experiment. The assignments are then executed in a set of 10 sample paths, generated with a mix between a Monte Carlo approach from the considered demand distributions and the real execution. The Monte Carlo approach is used for the majority of patients, while the demands of long stay non palliative patients (with a very low variability along with the time that does not represent an uncertainty source) are taken from their real execution. Finally, the assignments are evaluated with the performance indicators described in Sect. 5.3 These indicators allow to validate the hypotheses introduced and to compare the proposed policy with the expected workload approach.

5.3 Performance indicators

The mean utilization \(\bar{u}\) along with the weeks is assumed to be the workload level indicator for each nurse. This indicator is calculated as the ratio between the weekly time for visits spent by the nurse and his/her capacity v for each simulated week, averaged from week 1 through week 25.

Within each district, the range of \(\bar{u}\) among the nurses (denoted with Z) is computed as the indicator of the workload balancing performance of the assignment in the district: the more a strict range is obtained, the more a higher workload balancing is performed.

Finally, the mean variable cost is computed for each district, as the average of costs among the nurses belonging to the district, averaged from week 1 through week 25.

6 Results and discussion

Results of the experiments are reported in Tables 2, 3, 4, and 5. Planned values refer to the expected demand predicted for assigning, while the executed values are reported for both each sample path and averaged on the paths.

Table 2 Results of the first cost increase approach (triangular distributions \(\Upphi_{0}\) for X and uniform distributions \(\Uppsi\) for Y)

The three experiments based on the minimum cost increase show very similar results. Thus, the adoption of the triangular approximation does not affect the results with respect to the use of the empirical distributions (comparison among Tables 2, 3 and 4). Moreover, the variability of the new patient’s demand seems to be negligible with respect to the operator workload variability. Indeed, very similar results for districts 1, 3 and 5 and equal results for district 2 are obtained assuming a uniform distribution \(\Uppsi\) (Table 2) or a deterministic patient demand μ (Table 3).

Table 3 Results of the second cost increase approach (triangular distributions \(\Upphi_{0}\) for X and deterministic values μ for Y)
Table 4 Results of the third cost increase approach (empirical distributions from patient stochastic model)
Table 5 Results of the expected value approach

Table 6 reports the percentage differences for ranges and costs between the proposed policy (Table 2) and the expected workload approach (Table 5). Stricter ranges Z and lower costs are obtained with the minimum cost increase with respect to the expected workload approach W for the districts related to non palliative patients (districts 1, 3 and 5). In the case of palliative patients (district 2), no benefit is shown by the cost increase policy. This holds because of the lower variability of the demand of palliative patients (Table 7). As a matter of fact, the obtained cost is similar between the approaches and the range is minimized by the expected value approach that considers the expected available capacity rather than the probability of exceeding the capacity. The lower variability can be explained considering that the palliative class includes patients with very similar pathologies and, consequently, similar care pathways.

Table 6 Sample paths average values compared between the proposed policy (in the case of triangular distributions \(\Upphi_{0}\) for X and uniform distributions \(\Uppsi\) for Y) and the W approach: value in the policy minus value in the W approach, divided by value in the W approach
Table 7 Mean value and standard deviation of the weekly patient demand in hours at the admission in the service for the different types of patients (data from the patient stochastic model of Lanzarone et al. (2010))

7 Conclusions

The proposed policy allows resource planners to assign the reference operator to each newly admitted patient, with the main goal of reducing the expected costs for the HC provider under the constraint of respecting the continuity of care.

All of the hypotheses at the basis of the policy were evaluated considering the real data of the several HC providers (Chahed et al. 2006; Lanzarone and Matta 2009; Lanzarone et al. 2010). Therefore, the proposed policy can be considered general and applicable to a large number of structures. The comparison with the expected workload approach underlines that, for patients with a high variability of the demand, the proposed policy provides lower costs and higher balancing than the widespread approach, usually adopted by HC providers, based on the expected available capacity. Considering the typical classification of HC providers, this refers to non palliative patients.

Another result is that the demand variability of the newly admitted patient is negligible with respect to the variability already assigned to the operator workload (given by the variability of the already assigned patients). This result has been validated on one real case analysis.

Our future work will focus on the analysis of the entire probability density function of the cost increase, in order to develop a more general assignment policy based on stochastic orders. Moreover, the possibility of removing some assumptions made in this work will be evaluated. For instance, the assumption dealing with the stationarity of the workload distribution cannot be applied to some specific categories of patients. Another extension will be the assignment of a set of newly admitted patients all together, instead of one patient at a time. Furthermore, the assignment decision framework could be more complex, since the HC provider could decide not to admit a new patient if the available capacity of the operators is not sufficient.