Algorithm Analyzing Carbon Dioxide In Patient’s Breath Could Help Determine Correct Emergency Treatment

Paramedics responding to 911 calls may encounter patients having difficulty breathing, anxious and disoriented, short of breath, and having difficulty remembering medications they’re on. Acute emphysema or heart failure? The symptoms look the same, but guessing wrong and initiating inappropriate emergency treatment measures will increase the patient’s risk of severe complications.

Researchers from MIT’s Research Laboratory of Electronics, working with physicians from Harvard Medical School and the Einstein Medical Center in Philadelphia, maintain that repurposing a piece of medical equipment standard in all ambulances in the United States and Europe could help paramedics make this type of field diagnosis.

In the December issueof IEEE Transactions on Biomedical Engineering, they present a new algorithm that can, with high accuracy, determine whether a patient is suffering from emphysema or heart failure based on readings from a capnograph — a machine that measures concentrations of carbon dioxide in a patient’s exhalations. Entitled “Demonstrating the accuracy of an in-hospital ambulatory patient monitoring solution in measuring respiratory rate,” is coauthored by N. Donnelly of Intelesens Ltd., Belfast, UK; T. Hunniford, R. Harper, A.Flynn, A. Kennedy, D. Branagh, and J. McLaughlin, and published in Engineering in Medicine and Biology Society (EMBC), 2013 35th Annual International Conference of the IEEE

The paper presents clinical testing conducted to evaluate the accuracy of Aingeal, a wireless in-hospital patient monitor, in measuring respiration rate via impedance pneumography. Healthy volunteers were invited to simultaneously wear a CE Marked Aingeal vital signs monitor and a capnograph, considered the current gold standard in respiration rate measurement. During the test, participants were asked to undergo a series of defined breathing protocols which included normal breathing, paced breathing between 8-23 breaths per minute (bpm) and a recovery period following moderate exercise. Statistical analysis of the data collected shows a mean difference of -0.73, a standard deviation of 1.61, limits of agreement of -3.88 and +2.42 bpm and a P-value of 0.22. The researchers report that this testing demonstrates comparable performance of the Aingeal device in measuring respiration rate with a well-accepted and widely used alternative method.

verghese.G“This machine is ubiquitous,” says George Verghese, the Henry Ellis Warren Professor of Electrical and Biomedical Engineering at MIT and one of the paper’s coauthors. “It’s actually in every emergency department and operating room. But the use that they’ve typically made of it is much more limited than what we were attempting here.”

George Verghese has been with the Massachusetts Institute of Technology since 1979, and is also a Principal Investigator with MIT’s Research Laboratory of Electronics (RLE). His research interests and publications are in the areas of dynamic systems, modeling, estimation, signal processing, and control. Over the past decade, his research focus has shifted from applications in power systems and power electronics entirely to applications in biomedicine. He co-directs the Computational Physiology and Clinical Inference Group in RLE.

MIT notes that in the United States, capnography was first introduced in the 1980s, as a way to aid medical professionals inserting breathing tubes into the tracheas of sedated patients. If the tube were accidentally inserted into the esophagus — which leads to the stomach, rather than the lungs — the capnograph would measure no carbon dioxide concentrations at all. In that context, a capnogram is easy to read. If the capnograph displays a regular wave pattern, with crests for exhalations and troughs for inhalations, the tube has been inserted properly. If the capnogram flatlines, it hasn’t been.

However, over time, physicians observed that the capnograms of patients with congestive heart failure and emphysema — or chronic obstructive pulmonary disease, as it’s known in the medical literature — were subtly but consistently different both from each other and from those of healthy subjects.

KraussBThe MIT News Office notes that one of those physicians, Baruch Krauss, an emergency-medicine specialist at Boston Children’s Hospital and an associate professor at Harvard Medical School, thought that the capnographic signal could be a source of diagnostically useful information, particularly for paramedics. A blood test performed in a hospital lab can accurately distinguish emphysema and heart failure, but it takes about an hour from the time a sample is received — too long for a patient who’s distressed enough to call 911.

Dr. Krauss was aware that the Computational Physiology and Clinical Inference Group at RLE specialized in novel diagnostic applications of minimally invasive sensors, so he requested a meeting with the group’s leaders, Dr. Verghese and assistant professor of electrical and biomedical engineering Thomas Heldt, who has since joined MIT’s Institute of Medical Engineering and Science. “We didn’t even know the word ‘capnography’ until Baruch set up a meeting with us and came and told us about it,” Dr. Verghese says in the MIT release.

Drs. Verghese and Heldt recruited Rebecca Mieloszyk, a student in their group who had just begun her master’s degree, to investigate the relationship between patients’ capnograms and their ultimate diagnoses. Ms. Mieloszyk’s first task was to identify features of the capnographic signal that appeared to vary between populations. The crests of the waves in healthy subjects’ capnograms seemed to plateau at a maximum concentration, for instance, while those in sick patients’ didn’t. Other obvious factors to consider were the duration of the exhalations and the intervals between them.

Once she had identified maybe a dozen such features, she wrote a machine-learning algorithm that would look for patterns in the features that seemed to correlate with patients’ ultimate diagnoses. But that algorithm was somewhat unconventional.

Rather than training a single classifier on one set of data and then turning it loose on another set to see how it performed, Ms. Mieloszyk split the training data into 50 subsets. Each subset consisted of a random selection of about 70 percent of the data — so there was significant overlap between subsets, but no two subsets were identical. Then she used those subsets to train 50 different classifiers. The algorithm’s ultimate output was the result of a vote by the 50 classifiers.

The MIT report explains that diagnostic techniques are generally assessed according to their true-positive rates — the fraction of actual cases that they successfully diagnose — and their false-positive rates — the fraction of healthy subjects they classify as sick. These can be plotted against each other on a graph, with true-positive as the y-axis and false-positive as the x-axis.

The ideal diagnostic would yield a straight line across the top of the graph: Its true-positive rate is always 1, even when the false-positive rate is 0. The line produces a square with an area of 1, since its top stretches from (0,1) to (1,1). So a good diagnostic is one whose area under the curve is close to 1.

In their tests, the MIT researchers and their colleagues found that their algorithm for distinguishing healthy subjects from those with emphysema yielded an area under the curve of 0.98. The algorithm that distinguished emphysema patients from those with congestive heart failure checked in at 0.89.

“[That] is very good performance,” Dr. Krauss observes. “Now, when the ambulance system picks up an elderly person who’s short of breath, a lot of times they can’t determine whether they’re short of breath from emphysema or heart failure, so they just take their best guess. So when we’re talking about guesstimates, I think we really do pretty well.”

To determine precisely how well the researchers are currently conducting a double-blind experiment in which paramedics assess the conditions of patients while also taking capnograms, whose results are analyzed by the MIT researchers’ algorithm. In other work, other members of Drs. Verghese’s and Heldt’s team are evaluating whether capnography can measure the severity of asthma attacks and the degree of sedation in patients undergoing medical procedures.

GreenStevenMichael“I am convinced that in 10 years the fruits of this work will be commonplace in medical practice,” says Steven Green, a professor of emergency medicine and pediatrics at Loma Linda University and deputy editor of the journal Annals of Emergency Medicine. “There are two real, pressing needs for which this work has great promise, and likely more will be identified as the technology progresses.”

“First, many thousands of patients are transported by ambulances each year for severe shortness of breath,” he says cited in the MIT release. “There are two readily treatable but different causes for this — either wheezing or fluid in the lungs from heart failure — and it can be difficult to identify which one is the active problem. Often, paramedics simply treat for both conditions, exposing patients to the risks of both drug therapies. This technology shows the promise to quickly differentiate these conditions.”

“Second, many thousands of patients each year receive drugs to sedate them for painful or uncomfortable procedures such as colonoscopy, bone fracture reduction, or dental work,” Green adds. “The drugs that are most effective for this can also slow down normal breathing, with a risk of stopping breathing altogether. Current technologies for monitoring ventilatory adequacy can only signal a problem seconds before a breathing complication might occur. This new technology shows the promise to provide greater advance warning to the clinician.”

MIT News Office
IEEE Transactions on Biomedical Engineering
Loma Linda University Medical Center

Image Credits:

MIT News Office
IEEE Transactions on Biomedical Engineering
Loma Linda University Medical Center

Leave a Comment