New! Sign up for our email newsletter on Substack.

Diagnostic exhalations

By analyzing carbon dioxide in the breath, an algorithm could help determine how to treat patients.

Paramedics respond to a 911 call to find an elderly patient whoโ€™s having difficulty breathing. Anxious and disoriented, the patient has trouble remembering all the medications heโ€™s taking, and with his shortness of breath, speaking is difficult. Is he suffering from acute emphysema or heart failure? The symptoms look the same, but initiating the wrong treatment regimen 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, believe 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 issue of 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 the concentration of carbon dioxide in a patientโ€™s exhalations.

โ€œ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.โ€

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.

Rich signal

But 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.

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.

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, 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,โ€ Verghese says.

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.

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.

Democratic decisions

Rather than training a single classifier on one set of data and then turning it loose on another set to see how it performed, she 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.

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,โ€ Krauss says. โ€œ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.โ€

Validation

To determine precisely how well, however, 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 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.

โ€œ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. โ€œ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.โ€

There's no paywall here

If our reporting has informed or inspired you, please consider making a donation. Every contribution, no matter the size, empowers us to continue delivering accurate, engaging, and trustworthy science and medical news. Independent journalism requires time, effort, and resourcesโ€”your support ensures we can keep uncovering the stories that matter most to you.

Join us in making knowledge accessible and impactful. Thank you for standing with us!



Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.