Machine predicts heart attacks 4 hours before doctors

When someone shouts "Code Blue!" in a hospital, it means a patient needs immediate help. An algorithm may be able to make that call 4 hours earlier to head off dangerous situations. Code Blue events, including cardiac or respiratory arrest, can be difficult to anticipate. Doctors use a scorecard to estimate the severity of a patient’s status.
 
Knowing that certain patients are at high risk helps hospitals to lower rates of arrest and shorten hospital stays. Sriram Somanchi of Carnegie Mellon University in Pittsburgh, Pennsylvania, and his colleagues wanted to see if a computer could predict when these emergencies were imminent. "We had to understand what happens in Code Blue patients before they enter Code Blue," Somanchi says.
 
The researchers trained a machine-learning algorithm on data from 133,000 patients who visited the NorthShore University HealthSystem, a partnership of four Chicago hospitals, between 2006 and 2011. Doctors called a Code Blue 815 times. By looking at 72 parameters in patients’ medical history including vital signs, age, blood glucose and platelet counts, the system was able to tell, sometimes from data from 4 hours before an event, whether a patient would have gone into arrest. It guessed correctly about two-thirds of the time, while a scorecard flagged just 30 per cent of events.
 
Peter Donnan at the University of Dundee, UK, says it may be difficult for the system to work in hospitals that don’t collect such detailed patient data. The advantage of the scorecard, he says, is that it relies on a small number of parameters. "When we look at it from a statistical point of view, a small model is better."