Skip to main content
IOP Publishing logoLink to IOP Publishing
. 2021 Feb 22;3(2):022002. doi: 10.1088/2516-1091/abddc5

Machine learning in patient flow: a review

Rasheed El-Bouri 1,, Thomas Taylor 1, Alexey Youssef 1, Tingting Zhu 1, David A Clifton 1
PMCID: PMC8559147  PMID: 34738074

Abstract

This work is a review of the ways in which machine learning has been used in order to plan, improve or aid the problem of moving patients through healthcare services. We decompose the patient flow problem into four subcategories: prediction of demand on a healthcare institution, prediction of the demand and resource required to transfer patients from the emergency department to the hospital, prediction of potential resource required for the treatment and movement of inpatients and prediction of length-of-stay and discharge timing. We argue that there are benefits to both approaches of considering the healthcare institution as a whole as well as the patient by patient case and that ideally a combination of these would be best for improving patient flow through hospitals. We also argue that it is essential for there to be a shared dataset that will allow researchers to benchmark their algorithms on and thereby allow future researchers to build on that which has already been done. We conclude that machine learning for the improvement of patient flow is still a young field with very few papers tailor-making machine learning methods for the problem being considered. Future works should consider the need to transfer algorithms trained on a dataset to multiple hospitals and allowing for dynamic algorithms which will allow real-time decision-making to help clinical staff on the shop floor.

Keywords: patient flow, deep learning, machine learning, hospital resource

1. Introduction

When a country’s population and average age increase every year, it is inevitable that a strain is placed upon its healthcare system. This is due to the clinical attention that is generally required by older people and the increasing size of the ageing population. This is the situation faced by many countries in the world today (Andrews 2001, Tinker 2002, Oliver et al 2014). National media outlets can be particularly vocal about the performance of healthcare systems which makes the desire for a solution to poor efficiency in healthcare systems not only technically and economically desirable, but also politically important. The ability to cope with the demand for efficient healthcare has recently further been compromised due to the coronavirus pandemic that has swept the world which has shut down the normal operation of many healthcare institutions and reduced their capacity to treat patients significantly in many cases (Chen et al 2020, Hick et al 2020, Janbabai et al 2020). This has consequently increased the pressure placed on healthcare institutions as well as extending the waiting times faced by patients (Propper et al 2020). Despite numerous attempts by governments and hospitals to apply traditional management techniques and lean practices to improve the throughput of patients through hospitals, very little has proven effective in the long-term running of the hospital (Hall 2013, Rutman et al 2015). Even fewer techniques developed have proved easily extendable to multiple hospitals as a simple solution to maximising flow throughput.

It is common today for hospitals today to have digital systems in which all patient data is recorded. These are called the electronic health records and store information on the patients passing through the hospital as well as the state of the hospital at a given time. With the abundance of this data, it has become increasingly feasible to adopt algorithmic approaches to the running of hospitals. As a result, many researchers have turned to utilising machine learning amongst other algorithmic approaches in order to tackle the issue of maximising patient flow through hospitals. In using this algorithmic approach, researchers hope to create solutions which can extend to any hospital which has an electronic health record system, thereby making their solutions ‘generalisable’ to the rest of the industry. In this review we aim to provide an understanding of the landscape of research that has been developed in the field of machine learning applied to the patient flow problem.

1.1. What is patient flow?

Patient Flow is a term used within healthcare services to refer to the way in which patients are moved through a healthcare facility. It involves the medical care, resources, and internal systems needed to get patients from admission to discharge while maintaining a standard of quality of care and satisfaction for the patient (Hall 2013). Many works have shown that patient flow can be predictable using machine learning techniques. These works aim to use these predictions to improve the flow of patients and resources in order to provide a faster and better service to patients.

2. Motivation

Patient flow is a topic that has been studied extensively by various researchers of differing backgrounds. As a result the literature associated with the improvement of patient flow is vast and a diverse range of techniques from different disciplines are employed in an attempt to tackle the problem. In this review, we will primarily focus on the history of how patient flow has been handled, as well as techniques that involve the use of machine learning methods. This is, however, by no means an exhaustive review of all methods used for the improvement of patient flow. It should also be noted that this review is not intended to summarise the machine learning methods that have been applied to patient flow or the best performing models for each task (as seen in Chen et al 2020) and so the performances of the models will not be included. Rather, it is to provide some structure to the field of machine learning applied to patient flow, to allow researchers to see how machine learning has already been applied to the patient flow problem and where there are (to the best of our knowledge) gaps in the literature.

While some authors have attempted to tackle patient flow as a single system through a hospital, most researchers break the problem into smaller constituent problems to tackle. These constituent parts are usually associated with the key flow bottlenecks in hospitals and these are: (a) prediction of patient admissions and demand on emergency departments (EDs), (b) prediction of flow through the emergency-to-inpatient interface (i.e. handover from ED to the hospital), (c) prediction of movement of patients (and associated resource) within the hospital and (d) prediction of length-of-stay. In this review we will discuss the work published in all of these topics and how they have been used to improve patient flow through hospitals.

3. Outline

Figure 1 shows the process of hospitalisation for many hospitals with an ED (although many hospitals may also receive patients from different EDs). Hospital visits can be decomposed into two overarching types of admission: elective (planned) and emergency (unplanned). It is generally the unplanned emergency admissions which cause the greatest disruptions to patient flow through hospitals (Tancrez et al 2009).

Figure 1.

Figure 1.

A visualisation of the process of hospitalisation and the main considerations at each stage from a patient flow perspective.

Elective admissions are planned prior to their admission. As a result, the resource for these patients has been planned and there is bed space should it be needed. Elective patients have also been shown to have consistent lengths of stay in hospitals meaning they cause minimal disruption to the flow of the hospital (Kelly et al 2012).

Due to each emergency case being different there can be no estimate of the resource required or how long each patient will stay in hospital prior to their arrival. These therefore have become popular topics for the use of machine learning for prediction. Should these patients need hospitalisation, there is again little warning and so adapting the planning of the hospital becomes difficult.

In the following sections we will look at the work that has been carried out in applying machine learning to all of these sections of the hospitalisation process, the techniques that have been used and where we believe researchers should focus their attention on in the future to further improve patient flow.

4. How patient flow is currently managed

The effect of poor resource management on patient flow within the hospital is well known. Conceptually, high patient flow can be achieved by the effective balance of supply and demand within the system. If the supply of beds, staff and equipment is readily available to meet the needs of patients arriving at the door, then few perceivable barriers exist to prevent their immediate usage. However, studies of waiting lists have long shown that increasing supply in fact leads to a proportional stimulation of demand, highlighting the inadequacies of using relative need for services solely for the basis of resource provision (Feldstein and Severson 1964). If increasing supply cannot satiate demand, the optimisation of existing resources is an obvious and necessary strategy. Oredsson et al (2011) reviewed modern triage-based interventions designed to improve patient flow in emergency departments, demonstrating that the most significant improvements are observed through the use of fast-track and team triage approaches, indicating the importance of casemix as a fundamental consideration.

Current approaches to the management of patient flow in hospitals are typically driven by the need to report and improve upon key performance objectives. Within the United Kingdom National Health Service (NHS), the introduction of the Patient’s Charter allowed providers greater flexibility to curate local operational policies, whilst imposing stricter performance and reporting structures across the system (NHS England 2015). By specifying the metrics required to deliver an adequate level of care, the identification and treatment of bottlenecks in the system naturally become a focus of attention. Such metrics are often objective and time-based, such as the time taken for acute arrivals to be admitted or discharged. Perhaps the most significant of these targets introduced within the NHS was that of the 4 h waiting limit for ED arrivals, stipulating the need to admit, transfer or discharge a patient within this timeframe (Stevens 2004). The most widely used approach to fulfil this target in the UK is the use of the ‘See and Treat’ framework, which encourages rapid on-arrival assessment of the patients needs by an individual clinician, and allows full autonomy to that clinician to decide the treatments, referrals and investigations necessary to facilitate their care, or be discharged as appropriate. Saint Lamont (2005) discussed the benefits and limitations of this approach, including the barriers to adoption observed when additional resources or suitably trained staff are unavailable.

Anecdotally, a lack of efficiency and poor patient flow is typically perceived to correlate with a reduction in staff availability. This observation is particularly valid where patient satisfaction is concerned. A study by Thompson et al (1996) showed positive overall satisfaction was associated with the perception of short waiting times and accurate information delivery, rather than actual waiting times. Whilst increasing staff within the emergency department may improve turnaround times for rapid triage and discharge of non-urgent cases, it is less likely to result in an improvement for patients requiring admission, as shown by Bucheli and Martina (2004), indicating that the true bottlenecks exist further in the pathway beyond the emergency department. This fact has been clearly recognised in recent guidance, where the focus on enabling patient flow has shifted away from the performance of the ED and towards acute networks and support services (Ham 2017). At the one end, Clinical Streaming has been introduced as the process by which patients are assigned to one of several parallel pathways, according to their care requirements, allowing for more structured and reliable coordination of support services within the hospital. At the other, Discharge to Assess (D2A) models emphasise the need to address unnecessary delays in discharging clinically optimised patients from hospital, due to a lack of funding or support within the community (Hyslop 2020).

5. Machine learning for patient admissions

5.1. Prediction of emergency admissions

The number of patient admissions to the hospital is arguably one of the most important aspects of patient flow. This determines the demand that is placed upon the hospital and therefore affects how patients can be treated. The importance of predicting patient admissions is reflected by the number of publications in this area. However, with little information on patients prior to their arrival it is also one of the most difficult areas of patient flow to create accurate predictions.

Boyle et al (2008, 2012) and Batal et al (2001) predict the number of emergency admissions using multiple regression. They frame the problem such that they forecast for daily admissions as well as weekly and monthly admissions. The use of regression is for interpretability of the predictions as well as the development of a simple model to improve the chance of being able to generalise to other hospitals. As mentioned previously, due to limited information on these patients prior to arrival, the authors use the days of the week and national holidays as features.

Whereas the aforementioned studies approach the problem as a static prediction (i.e. using information from a snapshot in time to make predictions), Tandberg and Qualls (1994), Au-Yeung et al (2009), and Schweigler et al (2009) treat the problem as a time-series. They use autoregressive models to account for the trajectory of the numbers of patients. This approach is more likely to be successful than a static approach due to the incorporation of data close to the event of interest. However, the benefit of a static approach (if the model is accurate) is that a prediction can be made at an early stage and action can be taken based on that prediction without needing to wait for the time-series to unfold. These time-series approaches also perform regressions to predict patient volumes in the coming days, weeks and months.

While the seasonal features such as weather and time of the year have been shown to be helpful with predicting patient numbers, they are not patient-specific and therefore are limited in their use for predicting when a patient will be admitted to hospital. As a result, LaMantia et al (2010) and Artetxe et al (2020) consider predicting patient readmissions to the ED instead of predicting any given admission. In doing so they are able to utilise the wealth of data already recorded by the hospitals on individual patients and identify markers that indicate high risk of readmission in an emergency. Hosseinzadeh et al (2013) use Naive Bayes and a decision tree in order to classify patients who are going to be readmitted to hospital using their health records as features. These works generally pose the readmission problem as predicting readmission within the next 30 d as this has the most impact on the health and welfare of the patient, as well as the scheduling of the hospital (Leppin et al 2014).

A problem that can arise due to these readmission predictions is that patients can be readmitted for various issues (for example a patient who was hospitalised for cardiac issues might need rehospitalisation for breaking their leg). Considering this type of readmission is not very useful for the hospital or the patient, as it is not indicative of an underlying condition and so the health records of the patient will not be useful for this prediction. To get around this issue, many authors have conditioned their prediction of admission on subsets of patients with certain underlying conditions. Shameer et al (2017) use a naive Bayes classifier to predict readmission and only considers a subset of patients with heart failure. They only consider a readmission to be valid if the patients are readmitted with heart failure within 30 d. Kalagara et al (2018) also condition their problem on a subset of patients who have had a neurosurgical procedure carried out and compare the performance of their model (trained used gradient boosted trees) using features available during the patients stay versus features that were obtained after the patients discharge. Naturally the model with access to features after the patient discharge performed better, however it is very difficult in most situations to obtain features post-discharge. Min et al (2019) carry out a similar study but consider patients suffering from COPD. They investigate various machine learning methods and find that gradient boosted trees offer the best prediction of readmission accuracy for their dataset. They also utilise recurrent neural networks in order to treat the problem as a time-series problem but the performance is significantly worse. In fact there are very few works that treat the prediction of readmission as a time-series due to the difficulty of obtaining data on patients post-discharge (Arora et al 2010).

5.2. Scheduling instead of admissions

The ultimate aim of all of the works mentioned in section 5.1 is to provide the hospital with an understanding of the volumes of patients that may be attending the ED. By forecasting this (and if the model is accurate) the hospitals may then plan the appropriate resource (including staff, tests and making equipment available) in order to be able to cope with the demand placed on them. For low numbers forecast, hospitals may also then reduce the required resource that is on standby which can lead to cost savings (Thungjaroenkul et al 2007).

Some authors however approach the problem from the scheduling perspective. This is different in that whereas predicting admissions makes the assumption that resource can be altered to meet demand, the scheduling approach does not. With this approach authors assume that there is fixed resource and how it is used can be optimised with varying patient numbers.

Rosemarin et al (2019) define the ED scheduling problem as needing to satisfy the following constraints: the schedule must minimise the risk of adverse consequences, minimise patient waiting time, minimise patient length-of-stay, minimise ED crowding and minimise interruption to caregivers. They use a mixture of health record data of the patients and data on the status the ED to reconstruct the state of the ED when the patients were there. They then use a mixed integer linear program to optimise these scenarios, maximising throughput while being constrained by the aforementioned constraints. They then train a deep learning architecture on this optimised data and use it as a ranking system to predict the optimal patient-caregiver pair in the ED.

Some authors prefer to allow the machine learning algorithms to discover the optimal policies instead of optimising the problem themselves to learn from. This is seen in Lee and Lee (2020a) where a deep Q network (a reinforcement learning algorithm) is used to learn the optimal policy of treating patients in the ED. In order to do this a simulation is made of the ED which will allow the agent to take exploratory moves essential for reinforcement learning. The state of the model is defined as the distribution of acuity (sum of patients at each acuity level) within the ED as well as the distribution of needed treatment type. The action of the agent is to rank the next patient that needs to be seen meaning it is also a patient priority-ranking system. Krämer et al (2019) also present a priority ranking system based on severity prediction, but go as far as predicting whether patient presentations to the ED should be treated as elective visits given their low severity. They do this using the primary diagnosis code of the patient, however there may be difficulties in expanding this tool to other hospitals given that many hospitals assign diagnosis codes after the patient is discharged from hospital and not at admission.

Yeh and Lin (2007) and Arisha and Abo-Hamad (2013) approach the scheduling problem slightly differently in that instead of ranking the priority patients in the ED, they instead aim to design the staffing schedules. They do this using genetic algorithms and allowing the staffing schedules to be updated and ‘evolve’ to a point where they are suitable for the demand placed on the ED. This approach makes the assumption that should the staffing level be predicted accurately, then there will be no need to prioritise patients in the ED as there will be enough staff (and resource) to process them.

Figure 2 shows the works that have been conducted so far on the prediction of admissions and scheduling in the ED. This is by no means an exhaustive summary but we aim to provide some structure to help other researchers understand what work has been conducted in the field of machine learning for patient flow through the ED. Table 1 further outlines the problems that have readily available datasets for prediction, and what models are popularly used to tackle the prediction problem in the literature. A lack of a readily available dataset for priority ranking is due to priority generally not being recorded in hospital EHRs. Readily available in this instance refers to existence in a typical hospital database and not that it is easily and openly accessible.

Figure 2.

Figure 2.

Visualisation of the studies that have been carried out regarding using machine learning to predict admissions and scheduling in the ED. Dashed lines indicate some studies opt to use these features.

Table 1.

Popularity of different methods and data availability for each of these problems.

ED-admission problem
Volume pred. Readmission pred. Priority rank Schedule
Labelled datatset readily available?
Regression methods popular?
Classification methods popular?
Genetic methods popular?

5.3. Machine learning in elective admissions

We have primarily focused on machine learning applied to emergency admissions as this is the larger body of research in the field. The stochastic nature of these admissions in terms of number and type of admission means that these are the most disruptive to patient flow in a hospital. Elective patients are generally planned for and so resource is available to treat them.

There are however studies that also apply machine learning to the admission of elective patients. In the study conducted by Nelson et al (2019), the authors use machine learning to assess whether or not patients will actually attend their scheduled appointments in hospital. Despite the resource being prepared for these patients, a no-show will result in a waste of this resource and this work aims to provide a way to then re-direct that resource. The authors use information on the history of the patient with a gradient boosting machine to get a strong predictive accuracy. Srinivas and Ravindran (2018) carry out this same prediction of no-shows to elective appointments, however they then leverage the risk of no-show in order to update the scheduling system of the hospital.

With many health systems providing long waiting times for appointments (Xavier 2003, Dimakou 2013), another important factor when it comes to elective patients is prioritising patients in the schedule. Yousefi et al (2019) approach this by first using a clustering algorithm to group patients into different priority categories. They then treat the schedule as a Markov decision process where waiting time for patients in the high priority clusters is to be minimised.

These approaches can be difficult to validate due to their direct impact on the scheduling of appointments. As a result, there is no chance to verify if the patients turn up or not once the schedule is changed. They also rely on historical behavioural data (such as how many times a patient has missed an appointment before) which are not stationary distributions and therefore limit how successful supervised learning can be in this domain in the long term.

5.4. Summary

Overall, the application of machine learning to predicting emergency patient admissions and scheduling is well-explored. Works are generally split between emergency and elective patients with further subdivisions according to the data used, the models used and what is being predicted (see figure 2). Very few works validate their models in hospitals in real-time, most using a retrospective test-set to assess performance. Furthermore, some models are difficult to validate due to being designed to intervene in the admission and scheduling process.

There is also very little connecting these studies. Most work is carried out with the data from the hospital that the authors are associated with and built around that. Due to hospitals being different, that leaves little scope for building on previous work or developing models that can be used universally. A public dataset that could be held as the gold-standard for patient flow would aid in this significantly as a benchmark for experiments.

6. The emergency-inpatient interface

The emergency-inpatient interface is an ill-defined area of many hospitals (Staib et al 2017). There is usually a lack of clarity on the ownership of this space of the hospital and who should manage the handover of patients from the ED to an inpatient setting. As a result of this lack of clarity, it should come as no surprise that there is much published on making predictions across this gap in the hospital. While it may seem like an obvious task to predict which patients need admission to hospital from the ED, it has been shown that this is not a trivial task (Beardsell and Robinson 2011). Whereas the works discussed in section 5 aim to provide predictions for planning (such as expected numbers or schedule planning), the predictions of the works found in this section are primarily designed for decision-support.

A natural question that can be asked is if admission to the hospital from the ED can be predicted. Hong et al (2018) and Graham et al (2018) show this can be done using multiple machine learning models including a logistic regression, XGBoost and a deep fully-connected neural network. They show this is possible using historic patient information as well as information from triage. This does however limit the potential use to patients who already have electronic health records. Leegon et al (2005) and Raita et al (2019) therefore also carried out this prediction but only using a few variables that are measured early in the ED admission process and showed using a Bayesian network that admission to hospital can still be accurately predicted. Sun et al (2011) echo this sentiment, setting up their classification such that the clinical staff may predict the risk of whether an inpatient bed is needed or not as soon as triage is complete in the ED. This prediction is then further augmented with the inclusion of using the free-text written by the triage clinical staff as features to improve the performance of the model (Zhang et al 2017, Sterling et al 2019).

As was the case for prediction of admissions in section 5, many authors find it useful to consider certain demographics of patients. An example is in Lucke et al (2018) where a multiple logistic regression is used to predict hospital admission from the ED for a cohort of patients over 70 years old and another below. This is due to older patients generally being more at risk of admission and so by creating a model conditioned on age, they are able to better predict those most at risk of admission. In Mowbray et al (2020), elderly patients are considered to be those aged 75 and over, however they also show that accurate predictions of admission can be made for an elderly cohort of patients.

Another demographic that is often targeted for prediction is that of paediatric patients (Walsh et al 2004, Marlais et al 2011). In these studies, logistic regressions are used to predict whether a paediatric subset of patients will require admission to the hospital. Once again, by creating a separate cohort for these patients, they can make predictions comparing patients to other similar patients, rather than comparing with older patients who have different physiologies. This introduces a trade-off of improving model accuracy while reducing how generally the model can be applied.

Further subsets of paediatric patients have been made for example by considering those patients suffering from asthma exacerbation and predicting those most likely to be admitted to hospital for treatment (Patel et al 2018).

To augment the performance of a model predicting paediatric admissions to hospital from the ED, the textual data recorded during triage can also be used as features (Roquette et al 2020). Natural language processing techniques have been used in order to extract useful information which has been shown to improve predictability of admission.

6.1. Predicting inpatient resource utilisation

Many of the studies that are created in predicting admission to hospital focus on subsets of patients with certain conditions. As these patients will require the same treatments and specialist staff to treat them, this can be seen as resource prediction for patients being admitted to the hospital from the ED.

An example is in Ong et al (2012) where heart-rate variability in the ED is used alongside other demographic information on the patient as input features to a support vector machine. This is then used to create a score on the likeliness of cardiac arrest occurring in the next 72 h. While this is not strictly framed for patient flow, this prediction allows clinicians to plan for resource in the cardiac department. Predicting whether or not a patient is septic is also important for patient flow in terms of resource planning. As a result, models predicting whether or not ED patients are suffering from sepsis have been developed (Horng et al 2017, McCoy et al 2017, Delahanty et al 2019). The authors use a mixture of information available at triage, demographic information and free-text to make prediction of whether or not the patient is septic, which if accurate, could allow planning of their treatment before the patient becomes critically ill.

In fact, there have been many such studies predicting whether or not a patient is suffering with a certain condition in the ED which allows resource planning. These include predicting if a patient is suffering from acute kidney injury (Martinez et al 2020), requires intensive care (Fernandes et al 2020, Finkelstein 2020), is suffering from a urinary tract infection (Taylor et al 2018), have bacterial infections (Ramgopal et al 2020) as well as predicting emergency hospitalisation of patients undergoing chemoradiation (Hong et al 2018).

While these predictions are useful for planning patient flow, they are not explicit predictions of admission. A more explicit approach is seen in Luo et al (2019) where the classifier is trained to predict admission to hospital of patients suffering from bronchiolitis.

While predicting admission to hospital from the ED is useful, a greater level of granularity, such as which departments in the hospital the patient will be admitted to, is more useful to clinical staff. An example is seen in Lee et al (2020) where rather than predicting admission, they predict the disposition of the admitted patient, choosing out of intensive care units, telemetry units, general practice units and observation units. As these ‘ward types’ tend to have separate resource, they are better able to adapt their resource according to the predictions made. This approach is also seen in El-Bouri et al (2020) where the authors also classify into ‘ward types’ to provide a similar level of granularity to the hospital admission prediction problem. However, in this case they use medical, cardiac, neuro, trauma, intensive care, surgical and general/obstetrics and gynaecology as their ward groupings. They develop a novel ‘interpretable’ layer for their deep neural network to guide information collection at triage and train the model using curriculum learning. El-Bouri et al (2020) further augment their model by using reinforcement learning to allow an agent to carry out the curriculum learning that maximises the performance of predicting where in the hospital patients will be admitted to. In order to make as general a model as possible, these studies of patient disposition do not consider subsets of patients but rather the entire population of the ED to replicate daily working conditions.

Figure 3 shows the general structure of works that have been conducted on predicting flow from the ED to hospital. It should be noted that as all of these works consider flow from the ED, all patients considered are emergency patients. Table 2 shows how readily available labelled datasets are for the EDii prediction problems and the popular approaches to tackling them. It should be noted that readily available here means data that would generally be saved on a hospital EHR and not data that would be easily accessible on a public dataset.

Figure 3.

Figure 3.

A decision tree showing how the studies that have been conducted on predicting movement from the ED to hospital are structured. Dashed lines indicate that these features are used in some works but not all.

Table 2.

Popularity of different methods and data availability for each of these problems.

EDii problem
Hosp. admission Hosp. admission loc. Resource req’ment
Labelled datatset readily available?
Regression methods popular?
Classification methods popular?
Bayesian methods popular?

6.2. Summary

We have seen in this section that the emergency-inpatient interface in hospitals, while being ill-defined in practice, is well researched using machine learning. Authors predict admission from the ED in order to provide information for clinical staff to prepare space should it be needed. To improve the performance of the classifiers, many authors condition their models on the demographics of the patients (e.g. elderly or young patients) or on the patient disease (patients suffering from the same ailment in the ED). In order to provide greater granularity on which resource will be used in the hospital, some authors also predict which ‘ward type’ will be used by the patient to be admitted to the hospital.

However, once again there is little connecting these studies. None of the studies reviewed build off each other or use the same dataset for comparison. Furthermore, the definitions used to categorise patients vary by paper. As was seen when categorising elderly patients some studies use 70 and over and some use 75 and over. Clearly it would be beneficial to have an agreed range to make models more comparable. This further emphasises the need for a shared, publicly available dataset for use when creating machine learning models for patient flow. All definitions of demographics should be included in the dataset so that researchers make valid comparisons to models. It will also be beneficial in allowing researchers to compare their methodologies and validate them on the same dataset as others as well as apply them to their own hospital’s data. This will also make research more consistent, allowing researchers to build and improve upon each others models instead of applying similar models to similar problems using different data.

7. Intra-hospital resource management

Once patients have been admitted to hospital, there is yet another layer of resource flows that need to be considered. Patients can be transferred between wards, need tests carried out and must be moved to use certain equipment such as MRI scanners. These all require staff to carry out the movements and therefore place a demand on the resource of the hospital. As this resource is part of that needed to deliver the patients through hospital to discharge, it is relevant to patient flow.

7.1. Ward transfer

The most common way in which machine learning is used to provide predictions for ‘inpatient flow’ is through predicting if patients will be transferred to another ward. Note that while in section 6.1 we considered studies which investigated patient degradation as a signal for resource preparation, we will not consider degradation for inpatients as a signal for resource prediction. This is due to hospitalised patients generally being admitted to wards that are capable of handling patients in their condition. It is also due to the fact that using machine learning for the monitoring of inpatients for degradation has a very rich literature and would require a review of it is own (Clifton et al 2015). As a result, we only focus on works that explicitly predict admissions or transferrals of patients.

7.1.1. ICU transfer

By far the most popular type of prediction to make in the inpatient setting is predicting admission of a patient to the ICU. This is due to the fact that the ICU is a resource intensive area of the hospital and any way of informing the planning of this unit is beneficial to the running of the hospital (Skowronski 2001).

Wellner et al (2017) use a logistic regression to show that it can be predicted that a patient will need admission to the ICU 16 h ahead of time. Furthermore they demonstrate this using data from three separate institutions, helping validate their model. Desautels et al (2017) carry out the same investigation in a tertiary care hospital but consider readmissions to the ICU in 48 h. This is also explored by Yoon et al (2016) who develop a ‘Bayesian belief system’ to predict admission to the ICU, but this time 9 h before it is requested by the clinician in charge. An NLP approach has also been investigated in Khattak et al (2019) where the online messages of doctors and nurses to each other are used in order to predict transferral of a patient to ICU 3 d prior to the event taking place. It should be noted that for all of these studies, the outcome being predicted is different and so the studies cannot be compared.

Echoing the narrative presented in section 5, many researchers have also considered predicting readmissions of inpatients to the ICU. This is seen in Rojas et al (2018) where the authors investigate which patients, who were previously in the ICU, will be readmitted from their inpatient ward. To predict this they use a gradient boosting machine with features derived from the electronic health record of the patient as well as various blood tests that were taken. A time-series approach to this prediction was investigated by Lin et al (2019) where an LSTM was used and trained on the ICD-9 embeddings of the patients who had previously been admitted to the ICU, their demographics and the chart event features of the patients. They show a strong prediction accuracy when considering if a patient will be readmitted to the ICU within 30 d of their discharge.

Once again, conditioning the dataset on the demographic in question is utilised for the inpatient setting. Rubin et al (2018) demonstrate using adaptive and gradient-tree boosting that they can predict the transfer of a child to the paediatric ICU 8 h preceding the transfer. The prediction of transfer to paediatric ICU is also carried out in Zhai et al (2014) where a logistic regression is used to predict their transfer within the first 24 h of their inpatient status.

We again see works where the datasets (and therefore the models) are conditioned on the co-morbidities of the patients. Lee et al (2019) condition their dataset on patients who have undergone cardiac surgery and predict whether these patients will be readmitted to the ICU. They use a logistic regression with L1 regularisation to provide interpretability to their model, but also use a causal inference method to compare their findings. They find that there is little agreement between the two methods of feature importance ranking.

7.2. Resource management

During a patient’s stay in hospital, various tests may be requested to help clinicians gain a better understanding of the patient’s condition. These tests are also an important part of the patient flow process and timely testing helps to improve flow through the hospital. An example is seen in Molaei et al (2016) where the authors investigate whether or not they can predict if inpatients with traumatic brain injury require a CT scan using ‘cost sensitive’ random forests. In doing so, they aim to create a prioritisation system for scanning, which will allow faster treatment of patients and therefore a better patient throughput.

Another way in which resource management has been tackled with machine learning is in the scheduling of laboratory samples that need to be processed (Williams et al 2019). Again, by scheduling these samples in an efficient way, this allows patients to be treated more quickly in the hospital, and in some cases prevents the unnecessary hospitalisation of a patient.

These examples can be seen as assessing the risk of resource utilisation on a patient-by-patient basis. A more high-level view is used in Vieira and Hollmén (2016) where all resource is pooled together (anything including staff or use of machinery). Random forests are used to perform regression on the expected resource use in the next 30 d. While this has limited use to clinical staff due to the lack of granularity, it may be useful for budgeting purposes.

7.3. Hospital-wide flow

There are very few works that seek to predict the full patient journey through a hospital using machine learning. This may be due to the fact that transfers of inpatients is generally quite rare due to most inpatients being admitted to a ward that is capable of providing the appropriate care for them. Xu et al (2017) treat the hospital journey as a point process. They use a generalised linear model to predict the next location a patient will be transferred to as well as the dwell-time in that unit. They utilise the MIMIC-III dataset (Johnson et al 2016), which is an ICU based dataset and so the transitions they predict are between various types of intensive care unit. However, in terms of predicting the inpatient journey, this is a promising direction. Expanding to the entire hospital, it is possible to predict movement of patients between wards as well as for the use of machinery. Also predicting the dwell-time will allow for better planning of the flow of patients.

7.4. Summary

Of the four parts of the hospitalisation process that we have defined, the inpatient setting is the one in which machine learning has been used the least. The majority of studies investigate the transferral of inpatients to the ICU due to the resource-intense nature of ICUs. There have also been limited attempts at utilising machine learning to predict the expected resource that will be required by a hospital, either as a whole, or on a patient-by-patient basis. Very few works again have attempted to predict the whole hospital journey using machine learning. A common inconsistency throughout the literature is the prediction lookahead time that is considered. Standardising the lookahead time will allow studies to be more comparable and again, crucially, build upon previous work to further improve and integrate the field.

As the vast majority of studies are conducted with a clinical need in mind, this may reflect that the inpatient journey is not seen as a very important part of the patient flow problem. Figure 4 shows the structure of the studies that have been carried out in this area of patient flow. Table 3 shows the data availability for these prediction problems and popular methods used to tackle them.

Figure 4.

Figure 4.

Visualisation of the studies carried out on using machine learning to aid in the inpatient journey. Dashed lines indicate some studies opt to use these features.

Table 3.

Popularity of different methods and data availability for each of these problems.

Intra-hospital prediction problem
Ward (re)admission Transfers Resource forecast
Labelled datatset readily available?
Regression methods popular?
Classification methods popular?
Point processes popular?
Bayesian methods popular?

8. Discharge prediction

The importance of discharging patients in a timely fashion for patient flow cannot be over-stated. Long patient stays incur greater cost to the healthcare institution and reduce capacity for new patients to be admitted (Rotter et al 2008, 2010). As a result, a standard metric of the quality of care being provided is the patient length-of-stay (LOS) (Brasel et al 2007). Patients who are admitted for long periods of time (either due to condition or due to having no appropriate discharge destination) are commonly referred to as ‘bed-blockers’ and can constitute a significant proportion of the hospital population (Coid and Crome 1986, Styrborn and Thorslund 1993, Mustafee et al 2012). Early recognition of the patients likely to have a long LOS should therefore allow for the planning of their treatment by the hospital, such as their admission to long-stay wards and beginning preparations for their discharge.

It should therefore be unsurprising that many researchers have seeked to employ machine learning in order to predict the LOS of patients in order to provide hospitals with a better idea of how much resource will be required for patient stays. Note that the prediction of LOS or of discharge are essentially the same as they both aim to predict when a patient is able to leave the hospital. We will refer to both types of prediction simply as ‘discharge prediction’.

Discharge prediction can be separated into two separate subcategories for emergency and inpatient settings. In the emergency context, predicting the LOS of patients helps to understand whether the ED is at risk of overcrowding or not. In the inpatient setting, predicting the LOS is useful for the planning of patient admissions and preparation of post-discharge care should it be needed.

8.1. Discharge in the emergency department

Discharge from ED has been treated as a classification as seen in Rahman et al (2020). The authors predict if a patient will be in the ED for longer than 4 h or not. They use features that are available early in the ED process to train a decision tree binary classifier. This approach is mimicked in Sariyer et al (2019) where various learning algorithms are experimented with to classify patients according to their length of stay in the ED. Azari et al (2015) acknowledge the large imbalance there tends to be in LOS datasets (with far fewer patients having long LOS), and present an ensemble method combined with multiple logistic regression to overcome this imbalance. However in this work they define a long stay as patients in the ED for longer than 14 h.

Rather than classify patients according to their likely LOS category, some authors prefer to use regression to predict each patient’s LOS in the ED. Combes et al (2014) use linear regression model to predict the likely LOS of each patient presented to the ED. Ding et al (2010) instead use quantile regression but once again for the prediction of LOS in the ED. Feedforward neural networks have also been used for regressing the likely LOS of patients (Gül and Güneri 2015). One advantage to this approach of regressing the probable LOS is that there are no longer inconsistencies between studies on what is defined as a long-stay. However, this approach is also more difficult to train and achieve an accurate model in practice.

8.2. The inpatient setting

Predicting the LOS of patients in the inpatient setting is significantly more popular as a research area than in the emergency setting. This may be due to a prediction of LOS in the ED being less actionable than in the hospital where preparations can be made to ready a patient for discharge.

A hospital-wide approach is adopted in Pendharkar and Khurana (2014) where a regression tree is used to predict the LOS of patients admitted to hospitals in Pennsylvania using data that is available at the time of admission. This approach is also applied in Tanuja et al (2011), this time using a feedforward neural network to regress the LOS. These predictions are carried out at the time of admission. An alternative approach is to implement a classifier every day before discharge and predict the patients who can be prioritised for discharge as seen in Barnes et al (2016). In framing the problem in this way the authors exploit a static model for a dynamic problem by repeatedly applying the algorithm prior to discharge sessions at the hospital. They use a classification decision tree to prioritise patients ready for discharge.

Predicting discharge has also been approached as a time-series problem. In McCoy et al (2018) an autoregressive integrated moving average model is used to incorporate a time-series of seasonal data to predict hospital discharge volume. They compare this with using Prophet (Taylor and Letham 2018), an additive regression model developed by Facebook Research for forecasting seasonal trends, for the same task. An NLP approach has also been used where the clinical notes from the ED are used in order to predict if a patient will be admitted to the hospital for more than 2 d (Bacchi et al 2020).

As has been a common theme throughout this review, discharge predictions are also conditioned on patient demographics. In other sections this is primarily to improve predictive performance amongst patient subgroups. However, in discharge prediction this is due to certain patient subgroups being more likely to be ‘bed-blockers’ such as elderly patients (Launay et al 2018). To maximise clinical utility it is more effective to condition the training dataset on these subgroups and apply the algorithms to these patients only. An example is in Elbattah and Molloy (2016) where a regression forest is used to predict the LOS of elderly patients in a hospital and a random forest is used to predict the location of discharge for these elderly patients. These predictions are used in conjunction with a discrete-event simulation in order to simulate the flow through an Irish hospital. Children are also a cohort of patients in which there can be great variability in LOS. To address this, Castiñeira et al (2020) use a gradient boosted tree to classify whether or not a child will be a long-stay patient in the paediatric ICU (with long-stay being defined as a stay of greater than 4 d). They also use the static model for a dynamic problem approach by extracting features from the time-series of the patient’s vital signs and repeatedly feeding these to the classifier. Note that this prediction concerns the LOS within a ward and not the hospital stay as a whole.

As with conditioning on demographics, conditioning on co-morbidities is also done in discharge prediction. In fact, this tends to be the most popular form of setting the problem due to patients with different ailments and treatments generally requiring different recovery times.

One such prediction is carried out for patients with congestive heart failure in which the authors apply a static cubist model (Quinlan 1998) dynamically as data is updated during the patient stay (Turgeman et al 2017). The model is used to regress the likely LOS in hospital of the patient.

Further discharge predictions have been carried out on patient cohorts who have suffered from stroke (Al Taleb et al 2017), patients who have suffered hip-fracture (Elbattah and Molloy 2016), patients suffering from schizophrenia (Kirchebner et al 2020), patients admitted for cardiac care (Daghistani et al 2019), patients post-brain tumour surgery (Muhlestein et al 2019), patients who have undergone total hip-arthroplasty (Ramkumar et al 2019) and patients who have undergone surgery due to colorectal cancer (Stoean et al 2015). In all of these studies, there is no consensus for defining a ‘long-stay’ patient.

8.3. Summary

Discharge prediction is one of the more popular areas of patient flow for researchers to apply machine learning. Discharge prediction has been carried out by either predicting whether a patient is likely to be long-stay or by directly regressing the expected LOS of the patient. It has been applied to both emergency and inpatient settings. In the inpatient setting, studies have conditioned their datasets according to demographic. There have also been studies that condition their dataset according to the comorbidity or treatment that the patients of interest have undergone.

A clear inconsistency between studies is the definition of a long-stay patient. Having a common dataset with pre-defined long-stay patients will improve the ability of researchers to compare models and build upon previous work. Figure 5 shows the structure of the literature published in this field. Table 4 shows data availability and popular methods used to tackle the discharge problems. It should be noted that the difficulty with a labelled dataset for discharge readiness is that generally it is not recorded when a patient is ready for discharge but when they actually are discharged.

Figure 5.

Figure 5.

Visualisation of the studies carried out on discharge prediction. Dashed lines indicate some studies opt to use these features.

Table 4.

Popularity of different methods and data availability for each of these problems.

Discharge prediction problem
Hospital LOS Long-stay prediction Discharge ready
Labelled datatset readily available?
Regression methods popular?
Classification methods popular?
Point processes popular?
Bayesian methods popular?

9. The future of machine learning in patient flow

The current research efforts in the discipline of machine learning in patient flow have demonstrated the feasibility and potential of machine learning to optimise patient flow in all of the four subcategories outlined our study. However, due to the difficulty of expanding and scaling machine learning models across different healthcare contexts and institutions, the current research efforts are still removed from delivering value in the routine and daily management of patient flow in healthcare institutions. In this section, we outline the future research opportunities to advance the applicability of machine learning in patient flow.

9.1. Priorities in patient flow

While all of the problems outlined in the above review are important for clinical practice, solving some of these problems is more urgent than solving others. An example of a high-priority problem to solve is predicting readiness for discharge. One of the greatest problems dealt with in patient flow is the ‘bed-blocker’ phenomenon whereby patients do not have appropriate destinations to be discharged to. Predictions of readiness for discharge will not solve the lack of space in care homes, however it will allow for more effective allocation of the time and attention of clinical staff.

An equally important task is the prediction of ED admissions. This represents the front-end of the hospital with the discharge readiness representing the back-end. Being able to accurately predict patient admissions numbers in the ED would allow for accurate planning of staffing rotas thereby reducing costs and time wasted. It would also greatly improve the care provided for each individual patient.

Following on from this, should these predictions not be accurate enough, solving the ED-inpatient interface problem would be the next most important. This prediction would prevent the filling up of the ED due to inability to transfer patients into the hospital. Having an accurate model here would create a more streamlined flow of patients into the hospital, but naturally would depend on there being enough flow out as well.

Finally, the problem that should be least prioritised is inpatient transfer prediction. Despite being important, inpatient transfers are generally quite rare due to patients being admitted to appropriate wards from the outset. However, there is value in predicting resource flow and patient movement in order to plan that resource.

9.2. Current challenges

9.2.1. Data challenges

Throughout this review, we have emphasised the need for a common dataset that all researchers can use to benchmark their models and experiments on, as well as have agreed definitions of what age ranges ‘elderly’ patient fit amongst other definitions. However, creating a publicly available dataset does not come without its own challenges. The first issue is that of patient privacy. While there are many data anonymisation methods that can be used to remove association of the data with individuals, prior information such as the source hospital can be used to reconstruct the identities of the patients. There then exists a trade-off between how much information is hidden and how useful the data is to machine learning practitioners. A potential solution for this is sourcing data from multiple medical centres and compiling them together in a dataset. This brings us onto the second challenge which is a lack of standardisation in the recording of health data. In order to take advantage of the data from the EHRs from multiple hospitals, we must first stipulate that these hospitals record data in an agreed fashion.

One example of a publicly available healthcare dataset used for benchmarking is MIMIC-III (Johnson et al 2016). The success of this dataset can be seen through the volume of works that have used it for model comparison. However, for the purposes of patient flow, this dataset is difficult to use due to its focus on intensive care patients. It therefore does not include the data from the EHRs on the key resource utilisation and patient flows in the hospital (unless they are between intensive care units). A dataset built in a similar fashion to MIMIC-III but with the appropriate patient flow data would benefit the research community greatly.

9.2.2. Technical challenges

Currently the majority of patient flow models use a specific dataset from a hospital that can be derived from a certain subset of patients. The model is then applied to aid that hospital in prediction with very few researchers extending their models beyond their own hospitals. This approach is limited due to the variable and dynamic nature of healthcare datasets. Distributions from the same source hospital are subject to issues such as covariate shift whereby the underlying distributions of the features change with time. Examples are the changes to the distributions that can be found in the EHRs of hospitals during flu season or during the COVID-19 pandemic that has swept the world.

Variability also exists across health care delivery institutions and organisations ranging from small primary care centres to large tertiary hospitals. These organisations are different in their resources, organisational structure, staff training, and culture. These differences create variability in healthcare delivery practices, organisational processes, and patient flow across these different institutions as well as variability in what data is recorded and in what format it is recorded.

Differences also exist in the distributions recorded by healthcare institutions due to the differences in populations across the world. Examples include the prevalence of different diseases across different communities and geographical contexts (e.g. the presence of type II diabetes mellitus can vary from 3.5% to over 20% across different populations) (World Health Organization 2016, James et al 2018).

Another issue that is faced is the lack of complete information delivered by the majority of prediction algorithms. While it is useful to know that a patient will be admitted to a certain location in the hospital, having some knowledge of their severity or the likely medications that will be needed for them will further help with the planning of their stay.

These issues faced during deployment create challenges in the applications of machine learning, particularly in the generalisation of models to other hospitals and for their continual use over long periods of time.

In the face of these challenges, we believe that certain research directions will aid future researchers to prepare models that will better serve hospitals to improve patient flow. These research directions should address the issues discussed above, as well as ensure that they integrate seamlessly into the running of the hospital.

9.3. Feature engineering

The majority of studies discussed in this review take advantage of the fact that there exist EHR systems in many modern hospitals which allow data extraction and dataset creation. However, there remain challenges in terms of data collection for the different tasks at hand.

The ED admission prediction relies on seasonal information which can be correlated with admissions but is generally a difficult prediction to make. Wearable sensors could benefit this prediction greatly, providing more granular information to the hospital. The sensors could also be provided to patients who need them most (and are most likely to be brought to the ED in an emergency such as elderly patients in care homes).

We believe that further improvements to data collection could be made in the inpatient journey as well as in discharge prediction. Currently, while scans in the hospital are logged on the EHR, the movement of patients to scans are not and nor is the resource associated in moving that patient. These data would be very helpful to provide a more complete picture of what resource each hospitalised patient utilises and thereby helping machine learning scientists create more accurate predictions of the likely resource needed.

In discharge prediction, one of the challenges is that it is generally not recorded when a patient is medically ready to leave the hospital but when they actually do. Augmenting a dataset with this information could help predict when a patient is ready to leave hospital and in doing so, allow the team looking after them to move their resource to more vital care, with a more generalised team looking after the patient thereafter until discharge.

9.4. Multitask learning

The first research direction to be considered is multitask learning, a machine learning method that allows multiple tasks to be learned at the same time. One of the aims is to exploit the learning signals generated by training on one task to create an inductive bias in the model that will allow the effective learning of another task by the same model (Caruana 1997).

Multitask learning can be applied to different problems across the four domains of patient flow to both related (e.g. predicting risks of various in-hospital complications) or unrelated tasks (e.g. predicting length of stay in the ED and predicting hospital admission destination). Once again this relates to the usefulness of having more granular information for clinicians to work with. An example may be when predicting the location of admission of a patient to hospital, also having some prediction of whether the patient is likely to deteriorate or not. This gives better indications of the likely resource requirement of the patient as well as their likely trajectory within the hospital. While this could be done using separate models for each prediction, a single model that can embed an accurate representation of the patient will be more informative and useful to clinical staff. As a result, a key component of this work will be in the development of representation learning algorithms (Bengio et al 2013, Van Den Oord et al 2017) that are capable of representing patient conditions upon presentation to the ED or admission to hospital.

Multitask learning has been applied in many healthcare applications to leverage the shared information across different tasks. Huang and Dong (2018) have used multitask learning to predict major adverse cardiac events, identifying each type of adverse event as a single task as opposed to having a multiclass classification. Xia et al (2019) have also used this approach to predict prescription patterns for various drugs that are given to similar patients. Multi-task learning has also been used in medical imaging. Khosravan et al (2019) have used multitask learning in the detection of abnormal nodules on chest CT scans for lung cancer screening. They jointly train their model to segmenting potential abnormalities and identify the presence of a nodule in the region of interest. This is further evidence of how more granular information from the model can provide clinicians with better insights into the condition of the patient.

9.5. Transfer learning

Transfer learning is based on the principle of knowledge transfer across different machine learning tasks and models. It is based on the notion that knowledge gained by the algorithm when trained to solve a particular problem can be stored and applied to solve another related problem, which means it is closely related to multitask learning. This approach includes transferring knowledge from the source domain, D S, to the target domain, D T, to help improve the learning of the target-domain task, T T.

Transfer learning can provide significant advantages in the applications of machine learning in patient flow. It can enable (a) the transfer of knowledge across different tasks and (b) the transfer of knowledge across different populations. The former can help overcome the lack of clinical data for certain problems. For example, one of the barriers to developing effective machine learning tools for COVID-19 patients is the lack of data on COVID-19 patients. A transfer learning approach can provide a solution by using a model that is pretrained on a large non-COVID-19 dataset and adapting it to perform the task of interest in COVID-19 patients. Transfer learning has been used to overcome the lack of COVID-19 imaging data by Mahmud et al (2020). They trained a convolutional neural network by using a pretrained a neural network (pretrained on a dataset of bacterial and viral pneumonia chest x-ray scans) and fine-tuned this using scans from COVID-19 patients. This was done due to the scarce availability of chest x-rays from these patients.

Transfer learning can also help us transfer knowledge across different populations. This is valuable clinically given the diversity and differences in the genetic predispositions, prevalence of diseases, lifestyles, and risk factors across different populations. Mao et al (2018) used transfer learning to generalise their sepsis prediction algorithm to a new healthcare setting. They trained their prediction model using data from the MIMIC-III dataset (data from ICU patients) and transferred the model to a dataset from the University of California, San Francisco (UCSF) Medical Centre (a dataset of in-hospital patients from a variety of specialty wards). Their transfer learning approach was based on adding incremental amounts of data from the UCSF dataset to the MIMIC training dataset, resulting in better generalisation of the model to the dataset being introduced.

Transfer learning represents an interesting target for future research in patient flow machine learning applications. Transfer learning can be used to generalise models across different healthcare contexts and to overcome a lack of recorded data.

9.6. Continual learning

Continual or lifelong learning refers to the ability to continually learn over time by accommodating new knowledge while retaining previously learned experiences. This approach has the potential to enable machine learning models in the healthcare space to adapt and adjust automatically to new context and settings like a new healthcare context, new patient population, or a new and emerging disease. This has the potential to enable the creation of dynamic clinical AI models that optimise clinical management decision in real time and learn from the continuous influx of information in real world healthcare context. A continually learning algorithm should be an adaptive algorithm capable of learning from a continuous stream of information, with such information becoming progressively available over time. The accommodation of new information should occur without catastrophic forgetting or interference (Parisi et al 2019).

However, continual learning represents a long-standing challenge due to the susceptibility of machine learning models to catastrophic forgetting. This phenomenon refers to the decrease in model performance or the complete overwriting of the previously learned information when new knowledge is introduced.

A paper published in the Lancet in 2020 (Lee and Lee 2020b) highlights the promise of continual learning in revolutionising the applications of clinical AI and leveraging the continuous influx of clinical information to improve patient care. Shah et al (2019) highlight that machine learning algorithms that are capable of continuous learning are a critical future research and translational direction in healthcare AI. They also report that the FDA is considering widening its regulatory framework to include AI-based Software as Medical Device (SaMD) systems that are capable of continuously learning and optimising performance in real-time to improve patient care.

Continual learning promises considerable value in patient flow as it would enable machine learning models to adjust to different healthcare settings continuously and automatically. Therefore machine learning algorithms would be able to absorb the variation across different healthcare institutions and patient populations. Moreover, continual learning may enable machine learning algorithms to continuously learn after deployment to clinical settings gradually improving their performance through use.

10. Conclusion

We have seen in this review that machine learning in patient flow is a vast if disjoint field. There are many works published with the majority focused on the hospital associated with the authors and little by way of comparison to other hospitals or works. We therefore propose the introduction of a publicly available dataset based on the electronic health records of a given hospital. This should include enough information on all four subcategories of the patient flow process (as highlighted previously) and crucially, must have strict definitions for patient types. The dataset should include:

  • Seasonal information such as the weather, national holidays and ideally EHR data from multiple hospitals.

  • Strict definitions of what age ranges ‘elderly’ or ‘young’ patients fall into for reproducibility and model validation.

  • Pre-defined tasks such as ‘prediction of patient transfer in 3 h from time of measurement’. By creating these pre-defined tasks we improve the ability of researchers to benchmark against each others work and develop upon each others models.

  • A standardised definition of co-morbidities in patients.

We believe that in creating this dataset, a culture of benchmarking on the dataset can be created thereby encouraging researchers to compare their models, build more sophisticated models based on previously published work and crucially provide some external validation to the trained models.

Acknowledgments

ReB is supported by the EPSRC industrial strategy award. T T is supported by The Wellcome Trust [200205/Z/15/Z]. A Y is supported by the Frontier of Development seed funding from the Royal Academy of Engineering (FoD2021424). T Z is supported by the RAEng Engineering for Development Research Fellowship. This research was supported by the National Institute for Health Research (NIHR) Oxford Biomedical Research Centre (BRC). The views expressed are those of the authors and not necessarily those of the NHS, the NIHR or the Department of Health.

Appendix. Models used for the prediction problems

In order to provide a more complete picture of the works that have been conducted in the space of machine learning in patient flow we here provide flow charts including the models and datasets that have been used to make the predictions. Figure A1 corresponds to ED admissions, figure A2 corresponds to the ED-inpatient interface, figure A3 corresponds to inpatient transfers and figure A4 corresponds to discharge.

Figure A1.

Figure A1.

A flowchart showing the models that have been used for the separate prediction problems for predicting ED admissions. The top row shows the sources of data used, the row below shows the models that have been used in various different works for the prediction problem, below this is the problem being tackled and below each of these problems is one of the datasets used in a study to train the model.

Figure A2.

Figure A2.

A flowchart showing the models that have been used for the separate prediction problems for predicting ED to inpatient admissions. The top row shows the sources of data used, the row below shows the models that have been used in various different works for the prediction problem, below this is the problem being tackled and below each of these problems is one of the datasets used in a study to train the model.

Figure A3.

Figure A3.

A flowchart showing the models that have been used for the separate prediction problems for predicting inpatient transfers. The top row shows the sources of data used, the row below shows the models that have been used in various different works for the prediction problem, below this is the problem being tackled and below each of these problems is one of the datasets used in a study to train the model.

Figure A4.

Figure A4.

A flowchart showing the models that have been used for the separate prediction problems for predicting discharges. The top row shows the sources of data used, the row below shows the models that have been used in various different works for the prediction problem, below this is the problem being tackled and below each of these problems is one of the datasets used in a study to train the model.

References

  1. Al Taleb A R, et al. Application of data mining techniques to predict length of stay of stroke patients. 2017 Int. Conf. Informatics, Health and Technology (ICIHT); IEEE; 2017. pp. 1–5. [Google Scholar]
  2. Andrews G R. Promoting health and function in an ageing population. BMJ. 2001;322:728–9. doi: 10.1136/bmj.322.7288.728. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Arisha A, Abo-Hamad W. Towards operations excellence: optimising staff scheduling for new emergency department. Proc. 20th Int. Annual Conf.-Operations Management at the Heart of the Recovery; 2013. p. p 12. [Google Scholar]
  4. Arora V M, et al. Problems after discharge and understanding of communication with their primary care physicians among hospitalized seniors: a mixed methods study. J. Hosp. Med. 2010;5:385–91. doi: 10.1002/jhm.668. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Artetxe A, et al. Balanced training of a hybrid ensemble method for imbalanced datasets: a case of emergency department readmission prediction. Neural Comput. Appl. 2020;32:5735–44. doi: 10.1007/s00521-017-3242-y. [DOI] [Google Scholar]
  6. Au-Yeung S W M, et al. Predicting patient arrivals to an accident and emergency department. Emerg. Med. J. 2009;26:241–4. doi: 10.1136/emj.2007.051656. [DOI] [PubMed] [Google Scholar]
  7. Azari A, Janeja V P, Levin S. Imbalanced learning to predict long stay emergency department patients. 2015 IEEE Int. Conf. Bioinformatics and Biomedicine (BIBM); IEEE; 2015. pp. 807–14. [Google Scholar]
  8. Bacchi S, et al. Prediction of general medical admission length of stay with natural language processing and deep learning: a pilot study. Int. Emerg. Med. 2020;15:989–95. doi: 10.1007/s11739-019-02265-3. [DOI] [PubMed] [Google Scholar]
  9. Barnes S, et al. Real-time prediction of inpatient length of stay for discharge prioritization. J. Am. Med. Inform. Assoc. 2016;23:2–10. doi: 10.1093/jamia/ocv106. [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Batal H, et al. Predicting patient visits to an urgent care clinic using calendar variables. Acad. Emerg. Med. 2001;8:48–53. doi: 10.1111/j.1553-2712.2001.tb00550.x. [DOI] [PubMed] [Google Scholar]
  11. Beardsell I, Robinson S. Can emergency department nurses performing triage predict the need for admission? Emerg. Med. J. 2011;28:959–62. doi: 10.1136/emj.2010.096362. [DOI] [PubMed] [Google Scholar]
  12. Bengio Y, Courville A, Vincent P. Representation learning: a review and new perspectives. IEEE Trans. Pattern Anal. Mach. Intell. 2013;35:1798–828. doi: 10.1109/TPAMI.2013.50. [DOI] [PubMed] [Google Scholar]
  13. Boyle J, et al. Regression forecasting of patient admission data. 2008 30th Annual Int. Conf. IEEE Engineering in Medicine and Biology Society; IEEE; 2008. pp. 3819–22. [DOI] [PubMed] [Google Scholar]
  14. Boyle J, et al. Predicting emergency department admissions. Emerg. Med. J. 2012;29:358–65. doi: 10.1136/emj.2010.103531. [DOI] [PubMed] [Google Scholar]
  15. Brasel K J, et al. Length of stay: an appropriate quality measure? Arch. Surg. 2007;142:461–6. doi: 10.1001/archsurg.142.5.461. [DOI] [PubMed] [Google Scholar]
  16. Bucheli B, Martina B. Reduced length of stay in medical emergency department patients: a prospective controlled study on emergency physician staffing. Eur. J. Emerg. Med. 2004;11:29–34. doi: 10.1097/00063110-200402000-00006. [DOI] [PubMed] [Google Scholar]
  17. Caruana R. Multitask learning. Mach. Learn. 1997;28:41–75. doi: 10.1023/A:1007379606734. [DOI] [Google Scholar]
  18. Castiñeira D, et al. Adding continuous vital sign information to static clinical data improves the prediction of length of stay after intubation: a data-driven machine learning approach. Respir. Care. 2020;65:1367–77. doi: 10.4187/respcare.07561. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Chen I Y, et al. Probabilistic machine learning for healthcare. 2020 doi: 10.1146/annurev-biodatasci-092820-033938. arXiv: 2009.11087. [DOI] [PubMed]
  20. Chen W, et al. Novel coronavirus international public health emergency: guidance on radiation oncology facility operation. Adv. Radiat. Oncol. 2020;5:560–6. doi: 10.1016/j.adro.2020.03.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Clifton D A, et al. Health informatics via machine learning for the clinical management of patients. Yearb. Med. Inform. 2015;10:38. doi: 10.15265/IY-2015-014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  22. Coid J, Crome P. Bed blocking in Bromley. Br. Med. J. Clin. Res. Ed. 1986;292:1253–6. doi: 10.1136/bmj.292.6530.1253. [DOI] [PMC free article] [PubMed] [Google Scholar]
  23. Combes C, Kadri F, Chaabane S. Predicting hospital length of stay using regression models: application to emergency department 2014.
  24. Daghistani T A, et al. Predictors of in-hospital length of stay among cardiac patients: a machine learning approach. Int. J. Cardiol. 2019;288:140–7. doi: 10.1016/j.ijcard.2019.01.046. [DOI] [PubMed] [Google Scholar]
  25. Delahanty R J, et al. Development and evaluation of a machine learning model for the early identification of patients at risk for sepsis. Ann. Emerg. Med. 2019;73:334–44. doi: 10.1016/j.annemergmed.2018.11.036. [DOI] [PubMed] [Google Scholar]
  26. Desautels T, et al. Prediction of early unplanned intensive care unit readmission in a UK tertiary care hospital: a cross-sectional machine learning approach. BMJ Open. 2017;7 doi: 10.1136/bmjopen-2017-017199. [DOI] [PMC free article] [PubMed] [Google Scholar]
  27. Dimakou S. PhD Thesis. City University London; 2013. Waiting time distributions and national targets for elective surgery in UK: theoretical modelling and duration analysis. [Google Scholar]
  28. Ding R, et al. Characterizing waiting room time, treatment time and boarding time in the emergency department using quantile regression. Acad. Emerg. Med. 2010;17:813–23. doi: 10.1111/j.1553-2712.2010.00812.x. [DOI] [PubMed] [Google Scholar]
  29. El-Bouri R, et al. Hospital admission location prediction via deep interpretable networks for the year-round improvement of emergency patient care. IEEE J. Biomed. Health Inform. 2020;25:289-300. doi: 10.1109/JBHI.2020.2990309. [DOI] [PubMed] [Google Scholar]
  30. El-Bouri R, et al. Student–teacher curriculum learning via reinforcement learning: predicting hospital inpatient admission location. Proc. Machine Learning Research; 2020. [Google Scholar]
  31. Elbattah M, Molloy O. Using machine learning to predict length of stay and discharge destination for hip-fracture patients. Proc. SAI Intelligent Conf.; New York. Springer; 2016. pp. 207–17. [Google Scholar]
  32. Feldstein P J, Severson R M. The demand for medical care 1964.
  33. Fernandes M, et al. Predicting intensive care unit admission among patients presenting to the emergency department using machine learning and natural language processing. PLoS One. 2020;15:e0229331. doi: 10.1371/journal.pone.0229331. [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Finkelstein S N. Predicting intensive care unit admission among patients presenting to the emergency department using machine learning and natural language processing. 2020. [DOI] [PMC free article] [PubMed]
  35. Graham B, et al. Using data mining to predict hospital admissions from the emergency department. IEEE Access. 2018;6:10458–69. doi: 10.1109/ACCESS.2018.2808843. [DOI] [Google Scholar]
  36. Gül M, Güneri A F. Forecasting patient length of stay in an emergency department by artificial neural networks. J. Aeronaut. Space Technol. 2015;8:43–48. [Google Scholar]
  37. Hall R. Patient Flow: Reducing Delay in Healthcare Delivery. New York: Springer; 2013. p. p 12. [DOI] [Google Scholar]
  38. Ham C. Next steps on the NHS five year forward view. BMJ. 2017;357:j1678. doi: 10.1136/bmj.j1678. [DOI] [PubMed] [Google Scholar]
  39. Hick J L, et al. Duty to plan: health care, crisis standards of care and novel coronavirus SARS-CoV-2. NAM Perspect. 2020 doi: 10.31478/202003b. [DOI] [PMC free article] [PubMed] [Google Scholar]
  40. Hong W S, Haimovich A D, Taylor R A. Predicting hospital admission at emergency department triage using machine learning. PLoS One. 2018;13:e0201016. doi: 10.1371/journal.pone.0201016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  41. Horng S, et al. Creating an automated trigger for sepsis clinical decision support at emergency department triage using machine learning. PLoS One. 2017;12:e0174708. doi: 10.1371/journal.pone.0174708. [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Hosseinzadeh A, et al. Assessing the predictability of hospital readmission using machine learning. IAAI.2013. [Google Scholar]
  43. Huang Z, Dong W. Adversarial mace prediction after acute coronary syndrome using electronic health records. IEEE J. Biomed. Health Inform. 2018;23:2117–26. doi: 10.1109/JBHI.2018.2882518. [DOI] [PubMed] [Google Scholar]
  44. Hyslop B. ‘Not safe for discharge’? Words, values and person-centred care. Age Ageing. 2020;49:334–6. doi: 10.1093/ageing/afz170. [DOI] [PubMed] [Google Scholar]
  45. James S L, et al. Global, regional and national incidence, prevalence and years lived with disability for 354 diseases and injuries for 195 countries and territories, 1990–2017: a systematic analysis for the global burden of disease study. Lancet. 2018;392:1789–858. doi: 10.1016/S0140-6736(18)32279-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  46. Janbabai G, Razavi S, Dabbagh A. How to manage perioperative patient flow during COVID-19 pandemic: a narrative review. J. Cell. Mol. Anesthesia. 2020;5:47–56. [Google Scholar]
  47. Johnson A E, et al. MIMIC-III, a freely accessible critical care database. Sci. Data. 2016;3:1–9. doi: 10.1038/sdata.2016.35. [DOI] [PMC free article] [PubMed] [Google Scholar]
  48. Kalagara S, et al. Machine learning modeling for predicting hospital readmission following lumbar laminectomy. J. Neurosurg.: Spine. 2018;30:344–52. doi: 10.3171/2018.8.SPINE1869. [DOI] [PubMed] [Google Scholar]
  49. Kelly M, et al. Factors predicting hospital length-of-stay and readmission after colorectal resection: a population-based study of elective and emergency admissions. BMC Health Serv. Res. 2012;12:77. doi: 10.1186/1472-6963-12-77. [DOI] [PMC free article] [PubMed] [Google Scholar]
  50. Khattak F K, et al. Predicting ICU transfers using text messages between nurses and doctors. Proc. 2nd Clinical Natural Language Processing Workshop; 2019. pp. 89–94. [Google Scholar]
  51. Khosravan N, et al. A collaborative computer aided diagnosis (C-CAD) system with eye-tracking, sparse attentional model and deep learning. Med. Image Anal. 2019;51:101–15. doi: 10.1016/j.media.2018.10.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  52. Kirchebner J, et al. Factors and predictors of length of stay in offenders diagnosed with schizophrenia—a machine-learning-based approach. BMC Psychiatry. 20:1–12. doi: 10.1186/s12888-020-02612-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  53. Krämer J, Schreyögg J, Busse R. Classification of hospital admissions into emergency and elective care: a machine learning approach. Health Care Manag. Sci. 2019;22:85–105. doi: 10.1007/s10729-017-9423-5. [DOI] [PubMed] [Google Scholar]
  54. LaMantia M A, et al. Predicting hospital admission and returns to the emergency department for elderly patients. Acad. Emerg. Med. 2010;17:252–9. doi: 10.1111/j.1553-2712.2009.00675.x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  55. Launay C, et al. Age effect on the prediction of risk of prolonged length hospital stay in older patients visiting the emergency department: results from a large prospective geriatric cohort study. BMC Geriatrics. 2018;18:127. doi: 10.1186/s12877-018-0820-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  56. Lee C S, Lee A Y. Clinical applications of continual learning machine learning. Lancet Digit. Health. 2020b;2:279–81. doi: 10.1016/S2589-7500(20)30102-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  57. Lee J, et al. P5706 finding predictors and causes of cardiac surgery ICU readmission using machine learning and causal inference. Eur. Heart J. 2019;40:ehz746.0647. doi: 10.1093/eurheartj/ehz746.0647. [DOI] [Google Scholar]
  58. Lee S Y, et al. Prediction of emergency department patient disposition decision for proactive resource allocation for admission. Health Care Manag. Sci. 2020;23:339–59. doi: 10.1007/s10729-019-09496-y. [DOI] [PubMed] [Google Scholar]
  59. Lee S, Lee Y H. Improving emergency department efficiency by patient scheduling using deep reinforcement learning. Healthcare. 2020a;8:77. doi: 10.3390/healthcare8020077. [DOI] [PMC free article] [PubMed] [Google Scholar]
  60. Leegon J, et al. Predicting hospital admission for emergency department patients using a Bayesian network. AMIA Annual Symp. Proc.; American Medical Informatics Association; 2005. p. p 1022. [PMC free article] [PubMed] [Google Scholar]
  61. Leppin A L, et al. Preventing 30-day hospital readmissions: a systematic review and meta-analysis of randomized trials. JAMA Int. Med. 2014;174:1095–107. doi: 10.1001/jamainternmed.2014.1608. [DOI] [PMC free article] [PubMed] [Google Scholar]
  62. Lin Y W, et al. Analysis and prediction of unplanned intensive care unit readmission using recurrent neural networks with long short-term memory. PLoS One. 2019;14:e0218942. doi: 10.1371/journal.pone.0218942. [DOI] [PMC free article] [PubMed] [Google Scholar]
  63. Lucke J A, et al. Early prediction of hospital admission for emergency department patients: a comparison between patients younger or older than 70 years. Emerg. Med. J. 2018;35:18–27. doi: 10.1136/emermed-2016-205846. [DOI] [PubMed] [Google Scholar]
  64. Luo G, et al. Predicting appropriate hospital admission of emergency department patients with bronchiolitis: secondary analysis. JMIR Med. Inform. 2019;7:e12591. doi: 10.2196/12591. [DOI] [PMC free article] [PubMed] [Google Scholar]
  65. Mahmud T, Rahman M A, Fattah S A. Covxnet: a multi-dilation convolutional neural network for automatic covid-19 and other pneumonia detection from chest x-ray images with transferable multi-receptive feature optimization. Comput. Biol. Med. 2020;122:103869. doi: 10.1016/j.compbiomed.2020.103869. [DOI] [PMC free article] [PubMed] [Google Scholar]
  66. Mao Q, et al. Multicentre validation of a sepsis prediction algorithm using only vital sign data in the emergency department, general ward and ICU. BMJ open. 2018;8:e017833. doi: 10.1136/bmjopen-2017-017833. [DOI] [PMC free article] [PubMed] [Google Scholar]
  67. Marlais M, Evans J, Abrahamson E. Clinical predictors of admission in infants with acute bronchiolitis. Arch. Dis. Child. 2011;96:648–52. doi: 10.1136/adc.2010.201079. [DOI] [PubMed] [Google Scholar]
  68. Martinez D A, et al. Early prediction of acute kidney injury in the emergency department with machine-learning methods applied to electronic health record data. Ann. Emerg. Med. 2020;76:501–14. doi: 10.1016/j.annemergmed.2020.05.026. [DOI] [PubMed] [Google Scholar]
  69. McCoy A, Das R. Reducing patient mortality, length of stay and readmissions through machine learning-based sepsis prediction in the emergency department, intensive care unit and hospital floor units. BMJ Open Qual. 2017;6:e000158. doi: 10.1136/bmjoq-2017-000158. [DOI] [PMC free article] [PubMed] [Google Scholar]
  70. McCoy T H, Pellegrini A M, Perlis R H. Assessment of time-series machine learning methods for forecasting hospital discharge volume. JAMA Netw. Open. 2018;1:e184087. doi: 10.1001/jamanetworkopen.2018.4087. [DOI] [PMC free article] [PubMed] [Google Scholar]
  71. Min X, Yu B, Wang F. Predictive modeling of the hospital readmission risk from patients’ claims data using machine learning: a case study on COPD. Sci. Rep. 2019;9:1–10. doi: 10.1038/s41598-019-39071-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  72. Molaei S, et al. A machine learning based approach for identifying traumatic brain injury patients for whom a head CT scan can be avoided. 2016 38th Annual Int. Conf. IEEE Engineering in Medicine and Biology Society (EMBC); IEEE; 2016. pp. 2258–61. [DOI] [PubMed] [Google Scholar]
  73. Mowbray F, et al. Predicting hospital admission for older emergency department patients: insights from machine learning. Int. J. Med. Inform. 2020;140:104163. doi: 10.1016/j.ijmedinf.2020.104163. [DOI] [PubMed] [Google Scholar]
  74. Muhlestein W E, et al. Predicting inpatient length of stay after brain tumor surgery: developing machine learning ensembles to improve predictive performance. Neurosurgery. 2019;85:384–93. doi: 10.1093/neuros/nyy343. [DOI] [PMC free article] [PubMed] [Google Scholar]
  75. Mustafee N, et al. Planning of bed capacities in specialized and integrated care units: incorporating bed blockers in a simulation of surgical throughput. Proc. 2012 Winter Conf. (WSC); IEEE; 2012. pp. 1–12. [Google Scholar]
  76. Nelson A, et al. Predicting scheduled hospital attendance with artificial intelligence. npj Digit. Med. 2019;2:1–7. doi: 10.1038/s41746-019-0103-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  77. NHS England The NHS constitution for England. 2015. London: Department of Health.
  78. Oliver D, Foot C, Humphries R. Making our Health and Care Systems fit for an Ageing Population. London: King’s Fund ; 2014. [Google Scholar]
  79. Ong M E H, et al. Prediction of cardiac arrest in critically ill patients presenting to the emergency department using a machine learning score incorporating heart rate variability compared with the modified early warning score. Crit. Care. 2012;16:R108. doi: 10.1186/cc11396. [DOI] [PMC free article] [PubMed] [Google Scholar]
  80. Oredsson S, et al. A systematic review of triage-related interventions to improve patient flow in emergency departments. Scand. J. Trauma Resusc. Emerg. Med. 2011;19:43. doi: 10.1186/1757-7241-19-43. [DOI] [PMC free article] [PubMed] [Google Scholar]
  81. Parisi G I, et al. Continual lifelong learning with neural networks: a review. Neural Netw. 2019;113:54–71. doi: 10.1016/j.neunet.2019.01.012. [DOI] [PubMed] [Google Scholar]
  82. Patel S J, Chamberlain D B, Chamberlain J M. A machine learning approach to predicting need for hospitalization for pediatric asthma exacerbation at the time of emergency department triage. Acad. Emerg. Med. 2018;25:1463–70. doi: 10.1111/acem.13655. [DOI] [PubMed] [Google Scholar]
  83. Pendharkar P C, Khurana H. Machine learning techniques for predicting hospital length of stay in Pennsylvania federal and specialty hospitals. Int. J. Comput. Sci. Appl. 2014;11:45–56. [Google Scholar]
  84. Propper C, Stoye G, Zaranko B. The wider impacts of the coronavirus pandemic on the NHS. Fiscal Stud. 2020;41:345–56. doi: 10.1111/1475-5890.12227. [DOI] [PMC free article] [PubMed] [Google Scholar]
  85. Quinlan J R. Combining instance-based and model-based learning. Proc. 10th International Conference on Machine Learning; 1993. pp. 236–43. [Google Scholar]
  86. Rahman M A, et al. Using data mining to predict emergency department length of stay greater than 4 hours: derivation and single-site validation of a decision tree algorithm. Emerg. Med. Australas. 2020;32:416–21. doi: 10.1111/1742-6723.13421. [DOI] [PubMed] [Google Scholar]
  87. Raita Y, et al. Emergency department triage prediction of clinical outcomes using machine learning models. Crit. Care. 2019;23:64. doi: 10.1186/s13054-019-2351-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  88. Ramgopal S, et al. Machine learning to predict serious bacterial infections in young febrile infants. Pediatrics. 2020;146:e20194096. doi: 10.1542/peds.2019-4096. [DOI] [PMC free article] [PubMed] [Google Scholar]
  89. Ramkumar P N, et al. Development and validation of a machine learning algorithm after primary total hip arthroplasty: applications to length of stay and payment models. J. Arthroplasty. 2019;34:632–7. doi: 10.1016/j.arth.2018.12.030. [DOI] [PubMed] [Google Scholar]
  90. Rojas J C, et al. Predicting intensive care unit readmission with machine learning using electronic health record data. Ann. Am. Thoracic Soc. 2018;15:846–53. doi: 10.1513/AnnalsATS.201710-787OC. [DOI] [PMC free article] [PubMed] [Google Scholar]
  91. Roquette B P, et al. Prediction of admission in pediatric emergency department with deep neural networks and triage textual data. Neural Netw. 2020;126:170–7. doi: 10.1016/j.neunet.2020.03.012. [DOI] [PubMed] [Google Scholar]
  92. Rosemarin H, Rosenfeld A, Kraus S. Emergency department online patient-caregiver scheduling. Proc. AAAI Conf. Artificial Intell.; 2019. pp. 695–701. [Google Scholar]
  93. Rotter T, et al. A systematic review and meta-analysis of the effects of clinical pathways on length of stay, hospital costs and patient outcomes. BMC Health Serv. Res. 2008;8:265. doi: 10.1186/1472-6963-8-265. [DOI] [PMC free article] [PubMed] [Google Scholar]
  94. Rotter T, et al. Clinical pathways: effects on professional practice, patient outcomes, length of stay and hospital costs. Cochrane Database Syst. Rev. 2010;17:CD.:006632. doi: 10.1002/14651858.CD006632.pub2. [DOI] [PubMed] [Google Scholar]
  95. Rubin J, et al. An ensemble boosting model for predicting transfer to the pediatric intensive care unit. Int. J. Med. Inform. 2018;112:15–20. doi: 10.1016/j.ijmedinf.2018.01.001. [DOI] [PubMed] [Google Scholar]
  96. Rutman L, et al. Improving patient flow using lean methodology: an emergency medicine experience. Curr. Treat. Opt. Pediatrics. 2015;1:359–71. doi: 10.1007/s40746-015-0038-0. [DOI] [Google Scholar]
  97. Saint Lamont S. ‘See and treat’: spreading like wildfire? A qualitative study into factors affecting its introduction and spread. Emerg. Med. J. 2005;22:548–52. doi: 10.1136/emj.2004.016303. [DOI] [PMC free article] [PubMed] [Google Scholar]
  98. Sariyer G, Taşar C O, Cepe G E. Use of data mining techniques to classify length of stay of emergency department patients. Bio-Algorithms Med-Syst. 2019;15 doi: 10.1515/bams-2018-0044. [DOI] [Google Scholar]
  99. Schweigler L M, et al. Forecasting models of emergency department crowding. Acad. Emerg. Med. 2009;16:301–8. doi: 10.1111/j.1553-2712.2009.00356.x. [DOI] [PubMed] [Google Scholar]
  100. Shah P, et al. Artificial intelligence and machine learning in clinical development: a translational perspective. npj Digit. Med. 2019;2:1–5. doi: 10.1038/s41746-019-0148-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  101. Shameer K, et al. Predictive modeling of hospital readmission rates using electronic medical record-wide machine learning: a case-study using Mount Sinai heart failure cohort. Pacific Symposium on Biocomputing 2017; Singapore. World Scientific; 2017. pp. 276–87. [DOI] [PMC free article] [PubMed] [Google Scholar]
  102. Skowronski G A. Bed rationing and allocation in the intensive care unit. Curr. Opin. Crit. Care. 2001;7:480–4. doi: 10.1097/00075198-200112000-00020. [DOI] [PubMed] [Google Scholar]
  103. Srinivas S, Ravindran A R. Optimizing outpatient appointment system using machine learning algorithms and scheduling rules: a prescriptive analytics framework. Expert Syst. Appl. 2018;102:245–61. doi: 10.1016/j.eswa.2018.02.022. [DOI] [Google Scholar]
  104. Staib A, et al. Uniting emergency and inpatient clinicians across the ED—inpatient interface: the last frontier? Emerg. Med. Australas. 2017;29:740–5. doi: 10.1111/1742-6723.12883. [DOI] [PubMed] [Google Scholar]
  105. Sterling N W, et al. Prediction of emergency department patient disposition based on natural language processing of triage notes. Int. J. Med. Inform. 2019;129:184–8. doi: 10.1016/j.ijmedinf.2019.06.008. [DOI] [PubMed] [Google Scholar]
  106. Stevens S. Reform strategies for the English NHS. Health Aff. 2004;23:37–44. doi: 10.1377/hlthaff.23.3.37. [DOI] [PubMed] [Google Scholar]
  107. Stoean R, et al. Ensemble of classifiers for length of stay prediction in colorectal cancer. Int. Work-Conf. Artificial Neural Networks; New York. Springer; 2015. pp. 444–57. [Google Scholar]
  108. Styrborn K, Thorslund M. ‘Bed-blockers’: delayed discharge of hospital patients in a nationwide perspective in Sweden. Health Policy. 1993;26:155–70. doi: 10.1016/0168-8510(93)90116-7. [DOI] [PubMed] [Google Scholar]
  109. Sun Y, et al. Predicting hospital admissions at emergency department triage using routine administrative data. Acad. Emerg. Med. 2011;18:844–50. doi: 10.1111/j.1553-2712.2011.01125.x. [DOI] [PubMed] [Google Scholar]
  110. Tancrez J S, et al. Intelligent Patient Management. Berlin: Springer; 2009. How stochasticity and emergencies disrupt the surgical schedule; pp. 221–39. [Google Scholar]
  111. Tandberg D, Qualls C. Time series forecasts of emergency department patient volume, length of stay and acuity. Ann. Emerg. Med. 1994;23:299–306. doi: 10.1016/S0196-0644(94)70044-3. [DOI] [PubMed] [Google Scholar]
  112. Tanuja S, Acharya D U, Shailesh K. Comparison of different data mining techniques to predict hospital length of stay. J. Pharm. Biomed. Sci. 2011;7 [Google Scholar]
  113. Taylor R A, et al. Predicting urinary tract infections in the emergency department with machine learning. PLoS One. 2018;13:e0194085. doi: 10.1371/journal.pone.0194085. [DOI] [PMC free article] [PubMed] [Google Scholar]
  114. Taylor S J, Letham B. Forecasting at scale. Am. Stat. 2018;72:37–45. doi: 10.1080/00031305.2017.1380080. [DOI] [Google Scholar]
  115. Thompson D A, et al. Effects of actual waiting time, perceived waiting time, information delivery and expressive quality on patient satisfaction in the emergency department. Ann. Emerg. Med. 1996;28:657–65. doi: 10.1016/S0196-0644(96)70090-2. [DOI] [PubMed] [Google Scholar]
  116. Thungjaroenkul P, Cummings G G, Embleton A. The impact of nurse staffing on hospital costs and patient length of stay: a systematic review. Nurs. Econ. 2007;25:255. [PubMed] [Google Scholar]
  117. Tinker A. The social implications of an ageing population. 2002. [DOI] [PubMed]
  118. Turgeman L, May J H, Sciulli R. Insights from a machine learning model for predicting the hospital length of stay (LOS) at the time of admission. Expert Syst. Appl. 2017;78:376–85. doi: 10.1016/j.eswa.2017.02.023. [DOI] [Google Scholar]
  119. Van Den Oord A, Vinyals O, et al. Neural discrete representation learning. Advances in Neural Information Processing Systems; 2017. pp. 6306–15. [Google Scholar]
  120. Vieira D, Hollmén J. Resource frequency prediction in healthcare: machine learning approach. 2016 IEEE 29th Int. Symp. Computer-Based Medical Systems (CBMS); IEEE; 2016. pp. 88–93. [Google Scholar]
  121. Walsh P, et al. A validated clinical model to predict the need for admission and length of stay in children with acute bronchiolitis. Eur. J. Emerg. Med. 2004;11:265–72. doi: 10.1097/00063110-200410000-00005. [DOI] [PubMed] [Google Scholar]
  122. Wellner B, et al. Predicting unplanned transfers to the intensive care unit: a machine learning approach leveraging diverse clinical elements. JMIR Med. Inform. 2017;5:e45. doi: 10.2196/medinform.8680. [DOI] [PMC free article] [PubMed] [Google Scholar]
  123. Williams A, et al. Effective resource management using machine learning in medicine: an applied example. BMJ Simul. Technol. Enhanced Learn. 2019;5 doi: 10.1136/bmjstel-2017-000289. [DOI] [PMC free article] [PubMed] [Google Scholar]
  124. World Health Organization World health statistics 2016: monitoring health for the SDGs sustainable development goals. 2016. World Health Organization.
  125. Xavier A. Hospital competition, GP fundholders and waiting times in the UK internal market: the case of elective surgery. Int. J. Health Care Finance Econ. 2003;3:25–51. doi: 10.1023/A:1023219915747. [DOI] [PubMed] [Google Scholar]
  126. Xia E, et al. Learning doctors’ medicine prescription pattern for chronic disease treatment by mining electronic health records: a multi-task learning approach. AMIA Annual Symp. Proc.; American Medical Informatics Association; 2017. p. p 1828. [PMC free article] [PubMed] [Google Scholar]
  127. Xu H, et al. Patient flow prediction via discriminative learning of mutually-correcting processes. IEEE Trans. Knowl. Data Eng. 2017;29:157–71. doi: 10.1109/TKDE.2016.2618925. [DOI] [Google Scholar]
  128. Yeh J Y, Lin W S. Using simulation technique and genetic algorithm to improve the quality care of a hospital emergency department. Expert Syst. Appl. 2007;32:1073–83. doi: 10.1016/j.eswa.2006.02.017. [DOI] [Google Scholar]
  129. Yoon J, et al. ForecastICU: a prognostic decision support system for timely prediction of intensive care unit admission. Int. Conf. Machine Learning; 2016. pp. 1680–9. [Google Scholar]
  130. Yousefi N, Hasankhani F, Kiani M. Appointment scheduling model in healthcare using clustering algorithms. 2019 arXiv: 1905.03083.
  131. Zhai H, et al. Developing and evaluating a machine learning based algorithm to predict the need of pediatric intensive care unit transfer for newly hospitalized children. Resuscitation. 2014;85:1065–71. doi: 10.1016/j.resuscitation.2014.04.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  132. Zhang X, et al. Prediction of emergency department hospital admission based on natural language processing and neural networks. Methods Inf. Med. 2017;56:377–89. doi: 10.3414/ME17-01-0024. [DOI] [PubMed] [Google Scholar]

Articles from Progress in Biomedical Engineering (Bristol, England) are provided here courtesy of IOP Publishing

RESOURCES