A flexible method for optimising sharing of healthcare resources and demand in the context of the COVID-19 pandemic
School of Mathematical Sciences, Queen Mary University of London, London E1 4NS, UK l.lacasa@qmul.ac.uk
EPSRC Centre for Predictive Modelling in Healthcare, University of Exeter, Exeter, Devon, UK Taunton and Somerset NHS Foundation Trust, Taunton, Somerset, UK rc538@exeter.ac.uk
Bristol Medical School: Population Health Sciences, University of Bristol, Bristol, UK. ellen.brooks-pollock@bristol.ac.uk
Data Science Institute, College of Engineering, Mathematics and Physical Sciences, University of Exeter, Exeter, UK, and The Alan Turing Institute, British Library, 96 Euston Rd, London NW1 2DB, UK. L.Danon@exeter.ac.uk
*Corresponding author; email: l.lacasa@qmul.ac.ukAbstract
As the number of cases of COVID-19 continues to grow, local health services are at risk of being overwhelmed with patients requiring intensive care. We develop and implement an algorithm to provide optimal re-routing strategies to either transfer patients requiring Intensive Care Units (ICU) or ventilators, constrained by feasibility of transfer. We validate our approach with realistic data from the United Kingdom and Spain. In the UK, we consider the National Health Service at the level of trusts and define a 4-regular geometric graph which indicates the four nearest neighbours of any given trust. In Spain we coarse-grain the healthcare system at the level of autonomous communities, and extract similar contact networks. Through random search optimisation we identify the best load sharing strategy, where the cost function to minimise is based on the total number of ICU units above capacity. Our framework is general and flexible allowing for additional criteria, alternative cost functions, and can be extended to other resources beyond ICU units or ventilators. Assuming a uniform ICU demand, we show that it is possible to enable access to ICU for up to 1000 additional cases in the UK in a single step of the algorithm. Under a more realistic and heterogeneous demand, our method is able to balance about 600 beds per step in the Spanish system only using local sharing, and over 1300 using countrywide sharing, potentially saving a large percentage of these lives that would otherwise not have access to ICU.
Article notes
Competing Interest Statement
The authors have declared no competing interest.
Funding Statement
LL gratefully acknowledges the financial support of the EPSRC via Early Career Fellowship EP/P01660X/1. RCh gratefully acknowledges the financial support of the EPSRC via grant EP/N014391/1 and NHS England, Global Digital Exemplar programme. LD gratefully acknowledges the financial support of The Alan Turing Institute under the EPSRC grant EP/N510129/1.
1Background
The outbreak of COVID-19 [1], the disease caused by the novel coronavirus SARS-CoV-2, detected in China in December 2019 [2], has become pandemic and continues putting national health systems of different countries into significant levels of stress [3, 4, 5, 6] (see [7] and references therein for a detailed overview). Either during the first or successive epidemic waves, the intensive care unit (ICU) demand of several hospitals might surpass their nominal capacity in particular regions in several countries, as has already happened in Italy or Spain [8]. The shortage of sanitary resources is unlikely to be limited to ICU units or ventilators, and other resources will face similar challenges, either during the first surge or in subsequent waves.
In the COVID-19 pandemic, demand for intensive care is not uniform across a country. Epidemic outbreaks can take place in different parts of a country and this can lead to substantial variations of demand both through space and time. Some hospitals may receive substantial numbers of patients early in an outbreak, whilst others may be only mildly affected. This demand heterogeneity opens the possibility of balancing the load of patient admissions such that excessive demand is re-routed to the places which have spare capacity. The clinical need for such a system was evidenced by a spontaneous initiative that took place in Madrid (Spain) in early April 2020 [9], when the Spanish capital was suffering a significant surge of COVID-19 cases. The intensive care lead of 76 hospitals in Madrid created an informal WhatsApp group to share daily information on the ICU demand and availability, with the goal of transferring patients across hospitals in the hope that the network could provide adequate treatment to all patients.
Other tactical load balancing actions have been recently proposed in the US [10, 11]. Of course, this is an example of a quick, crisis emergency action, but as soon as multiple centres are overwhelmed, the demand pattern becomes very complex, and the number of possible transfer combinations increases exponentially. Without a principled and organic approach to patient transfer it is possible to end up worsening the situation. A natural question is thus, given the available resources of a national health system covering a specific region, whether there exist a principled, adaptive and optimal way of balancing the demand across hospitals by which a maximal number of patients can receive adequate treatment even during a pronounced epidemic peak, thereby relieving the stress of the whole system. Furthermore, the need to match intensive care supply to patient demand in different parts of the world is indeed currently urgent in areas of the world experiencing serious outbreaks. Here we address such questions by designing and implementing a simple and flexible load sharing procedure which can help to alleviate the level of stress that healthcare systems experience in a systematic way.
The methodology is in principle tailored to address the COVID-19 pandemic situation, but otherwise is general and thus applicable in different countries, at different resolution levels, and for any resource constrained clinical service. The method uses graph-embedded load balancing technology coupled with a simple optimisation kernel, and we showcase its usability by testing it on the UK National Health Service (NHS) and the Spanish health system as examples with different spatial granularity.
Note that graph-embedded load balancing [12,13] has been mainly explored in Computer Science (CS), usually taking a ‘vertex perspective’ for graphical computation with the aim of achieving a centralised solution to load allocation, subject to locality and availability constraints [14]. Interestingly, this line usually relates to minimise large-scale computational efforts, rather than actually sharing physical resources. A similar approach overlaps with the so-called Social Choice Theory of allocating goods among a set of agents under some constraints that overlaps economics, social sciences and computer science [15, 16, 17, 18]. More closely related to our approach is the concept of dynamic load balancing, theoretically explored in the CS literature recently [19, 20]. Similar approaches have also been investigated in the Operations Research (OR) literature, and in particular the topic of location theory is relevant here as well [21, 22]. All these provide a reasonably mature mathematical framework which we subsequently rely on. Indeed, here we build on conceptually similar approaches although we focus on a healthcare network where resources to be shared consist of ICU beds or ventilators, within the context of the COVID-19 pandemic. After presenting the algorithmic modelling, as a proof of concept we apply our framework to two realistic cases at different spatial resolutions: the United Kingdom’s full NHS trust network, and the Spanish contact network between autonomous communities. We focus on the problem of ICU demand, propose and implement a routine strategy to transfer resources across the network, and demonstrate that it is capable of useful and relevant outcomes.
2Materials and Methods
2.1Transfer Networks
We first define a network over which load and resources can be shared. Demand and capacity data –and thus, load sharing–can be coarse-grained at different resolutions: hospitals, postcodes, trusts, and broader regions. In this paper, we consider two levels of resolution: NHS trusts (UK) and autonomous communities (Spain).
2.1.1NHS trust network
We coarse-grain data for the UK at the level of trusts, as the main units of NHS organisation. We have N = 141 trusts across the UK, where each trust corresponds to a conglomerate of hospitals. For each trust, we define a single central position by finding the centroid of the polygon whose vertices are the hospitals belonging to that trust. While spatial coordinates are given in terms of latitude and longitude, we make a small angle approximation and interpret latitude and longitude as cartesian coordinates. In particular, under this approximation the centroid coordinates of trust ireduces to the arithmetic mean of the coordinates of each hospital in the trust
In the event that the net capacity c of each hospital is also available, then instead of computing the centroid, one can compute the center of mass by appropriately weighting the contribution of each hospital:
where is the normalised capacity of hospital j1, and m is the number of hospitals in trust i. The distance between two trusts corresponds to the Euclidean distance between the centroids or the centers of mass2
In our case we do not have information on the actual ICU capacity of each specific hospital within a given trust, so we choose to use centroids instead of centers of mass.
Once we have defined the location each of the 141 NHS trusts, we assign a vertex to this spatial location and proceed to tessellate this set. We build a regular geometric graph with degree k = 4, where each vertex i is connected to the four closest vertices according to the distance dij defined above. The resulting graph models the NHS trust network, and each trust will only be allowed to transfer patients or resources to the trusts in their topological neighborhood.
2.1.2Spain’s autonomous community networks
Spain has a decentralised health system, so we consider that load sharing between hospitals can only take place within each autonomous community (intra-community). Because of that, as a second example here we will consider load sharing at the inter-community level. The network therefore has N = 17 nodes, each of them characterising a certain autonomous community. We will consider two different networks: a contact network and a fully connected network. Here, two nodes are connected if the respective autonomous communities share a border. This makes this network more heterogeneous than the NHS trust network, where the maximal degree is k = 9 (for the community of Castilla y Leon in the centre of Spain). We assume that load sharing can only be performed by road, meaning that this network is disconnected; as two autonomous communities are not part of mainland Spain (Balearic islands and Canary islands). So, we only consider the large connected component, formed by N = 15 nodes with varying degree 2 ≤ k ≤ 9. Distance is not a constraint in this case.
Additionally, we will also consider a fully connected network formed of N = 15 nodes on the mainland, where all possible links are present.. This models the ideal situation where the transfer of ventilators between any two autonomous communities is possible, e.g. using the national train network, as already proposed [23]. The Balearic islands and the Canary islands are, again, not part of this network.
2.2Local load sharing model
The basic architecture of the local load sharing model is depicted in Fig.1. For each node, the algorithm takes projected-ICU-demand data (aggregated at the NHS trust level or the autonomous community level, depending on the example), matches with its baseline-ICU-capacity (aggregated number of ICU beds or ventilators available), and generates a local-stress value for each node. For those nodes where local stress is positive (meaning that demand surpasses capacity), the algorithm explores which neighboring nodes (extracted from the topological neighborhood of the node under analysis) can accept a transfer.
If more than one receiving node is available in the topological neighborhood of a given node, i.e. there is more than one node with a negative local-stress and the distance between origin and destination is smaller than a certain maximally allowed transfer distance dmax, then the algorithm selects the receptor at random. Finally, a solidary load is shared to the receptor. This load is either 50% of the available capacity of the receptor, or the total excess demand of the origin trust, whichever is smaller.
Importantly, the algorithm can perform this analysis either sequentially or in parallel. In the first case, the projected-ICU-demand of each node is sequentially updated after each local load share is performed. This has the positive implication that no receptor can be overwhelmed from the simultaneous load sharing of different nodes. If the update is parallel, overwhelming receiving nodes can occur, but it is also true that more optimal redistributions are available. The implementation asks the user to choose which processing mode is used (sequential or parallel).
2.3Random search optimisation
The basic local load sharing model is run for all nodes (NHS trusts or autonomous communities), and as a result a possible load sharing configuration is extracted, consisting of the specified origin and destination of all the packets of ICU patients shared:
Trust i shared x loads to trust j
To assess the global impact of such load sharing configuration, we define the global stress of the whole system
where the sum runs over all trusts j, and Θ(x) is a rectified linear unit (ReLu), defined by Θ(x)= x if x> 0 and zero otherwise. So essentially global-stress counts the total demand of ICU units in excess of capacity, in all those trusts which are projected to be overwhelmed.
Finally, the algorithm is independently run 105 times, and the optimal run with the lowest global-stress is retained. In this way, in each realisation the algorithm stochastically chooses a set of actions, and by sampling the search space at random, it finds an approximation to the global load sharing optimum.
2.4Input variables
Now we briefly discuss the main input data required to run the local load sharing model:
projected-ICU-demand: This is an input data to the algorithm and could be estimated following a complex multi-step flow [12], which can be summarised as follows:- The projected number of new infections next week: This quantity can be informed in the first place from an epidemiological model [8, 24] which provides predicted numbers of contagion at different spatial resolutions. Alternatively, or in the absence of such a model, it could be estimated from various sources of data [25] including prescription data [26] or through direct questionnaires3. A post-processing of these numbers is then carried out, taking into account (i) age demographics and (ii) associated infection-to-ICU rates.
- The projected number of patients already in the hospital which progress to ICU by next week: this number is estimated from real data of hospital admissions and average admission-to ICU likelihood.
- The projected number of patients already in ICU this week which will still require ICU next week: this number takes into account both the fatality ratio and the estimated discharge time.
- As a proof of concept, in this work we assume different types of artificial ICU demands (uniform and heterogeneous distributions). We test how the load sharing algorithm performs under different demands.
baseline-ICU-capacity: This list is extracted from public available databases [27, 28]. In the case of autonomous communities these quantities already have into account some enhancement provided by surge capacity [28], whereas in the case of NHS trusts we only use baseline data, so we expect such capacity to be significantly increased in practice.
3Results
4Discussion
The COVID-19 pandemic is putting the national health systems of several countries under significant pressure. In this scenario, it is important to devise strategies that distribute capacity of hospitals, not only in terms of the number of ICU beds or ventilators, but also overall capacity (critical care, acute capacity, etc). Here, we have detailed such methodology and have implemented and validated it at two different resolutions: at the level of NHS trusts in the UK and at the level of autonomous communities in Spain. All data and code are available4, and will be continually updated. We presented a proof of concept and implementation and showed that this procedure works well and can de-collapse the national health systems in the UK and Spain for a range of scenarios. The random search optimisation layer permits exploration of non-intuitive load sharing configurations which go beyond the simple solution of share load with the neighbor with highest capacity, a strategy which might be locally optimal but also might be leading to a global response far away from the global optimum. We have studied several options, and compared the results of single-share (where a trust can only share load with a single receptor) or multiple-share (where the trust can share parts of the load with different receptors of its neighborhood).
In the context of COVID-19, adopting a load sharing strategy is likely to be beneficial when the whole system is not completely overwhelmed, the projected ICU demand can be accurately estimated, and facilities exist to transfer either patients between ICU departments or ventilators. This is likely early on in the exponential growth phase (of each wave), or in situations where demand is declining either due to interventions or towards the end of the pandemic. When the system is already fully overwhelmed or soon-to-be, this strategy is likely to be inefficient. Furthermore, we also expect this approach to be useful as the epidemic reaches a declining phase, helping to reduce demand and allowing hospitals to return back to normal in a fast an optimised way.
Note that we chose to validate the method in two countries (UK and Spain) as we could focus at two different spatial granularities. However, the method is directly applicable to other countries as well, as long as any sort of transfer system can be put in place. From a clinical point of view, an important point to consider is whether the load sharing can be activated at the ICU stage – potentially leading to transferring highly unstable patients who require ambulance with ICU equipment as well as trained personnel – or if, in anticipation to this, transfer needs to be planned at the point of hospitalisation (admission). In the latter scenario, planning needs to further take into account not only baseline ICU capacity, but overall capacity, also factoring in the estimated lag between admission to hospital and the need for ventilators, which for COVID-19 is currently estimated at about 2 to 3 days. The adequate strategy will also depend on the operational capacity of the system and the country where it is applied to.
For illustration, this work explicitly considers the transfer of ICU patients, however exactly the same approach can be followed if the load to be shared is not patients but ventilators (the units to be moved are not ICU patients but ventilators, so transfer simply happens in the opposite direction, from receptor to origin). Assuming the receptor has both room and personnel to handle additional ventilators, this alternative would indeed (i) eliminate the burden on transferring highly unstable patients and the associated resources required to make such transfers, and (ii) the risk of transferring infection along with patients. Of course, risk (ii) is removed if one only transfers non-COVID ICU patients. In reality, a combination of these mechanisms (transferring ICU patients and ventilators) for sharing load is possible.
This work is subject to several limitations which we hope will be addressed in future work. First of all, the baseline ICU demand only takes into account surge capacity in the Spanish case: more realistic analysis of the UK case shall include surge capacity, that is expected to significantly increase the real ICU capacity of each trust. Second, in the sequential case (where receptors cannot be overwhelmed), overwhelmed nodes can at most share all the excess load, but not more (this latter case would be beneficial if e.g. two-step sharing is needed), therefore multiple-step load sharing strategies have not been explored. Also, the optimisation process implemented here is based on a stochastic search, so there is no rigorous guarantee that the suggested configuration is indeed the global optimum. Other refined methods such as hill climbing, genetic algorithms or simulated annealing could be used to refine this layer, if needed. Other extensions of interest include questions related to dynamic load balancing where the demand varies dynamically Finally, we have assumed that the cost of transfer is zero, i.e. the number of ambulances or the human resources are not a constraint, and that there are enough vehicles to transfer ICU patients or ventilators effectively and enough qualified personnel to handle them. All these limitations can be addressed by suitably extending the specifications of the algorithm, leading to multi-criteria optimisation problems.
Data Availability
Codes and data are available at https://github.com/lucaslacasa/loadsharing
Acknowledgments
LL gratefully acknowledges the financial support of the EPSRC via Early Career Fellowship EP/P01660X/1. RCh gratefully acknowledges the financial support of the EPSRC via grant EP/N014391/1 and NHS England, Global Digital Exemplar programme. LD gratefully acknowledges the financial support of the Medical Research Council and The Alan Turing Institute under the EPSRC grant EP/N510129/1.
Competing interests
None of the authors have competing interests.