← Latest papers
📄 medicine

A Four-Class Machine Learning Framework for Emergency Department Differentiation of Acute Chest Pain in a Resource-Constrained Setting

This study presents a robust Gradient Boosting Ensemble machine learning framework trained on routinely available clinical data that achieves high accuracy in differentiating four classes of acute chest pain (Non-ACS, UAP, NSTEMI, and STEMI) in resource-constrained emergency settings, as validated across internal and external cohorts in Indonesia.

Original authors: Lies Dina Liastuti, Averina Geffanie Suwana, Muhammad Allam Rafi, Adyatma Wijaksara Aryaputra Nugraha Yudha, Muhammad Hannan Hunafa, Wisnu Jatmiko

Published 2026-09-02
📖 5 min read🧠 Deep dive

Original authors: Lies Dina Liastuti, Averina Geffanie Suwana, Muhammad Allam Rafi, Adyatma Wijaksara Aryaputra Nugraha Yudha, Muhammad Hannan Hunafa, Wisnu Jatmiko

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In emergency rooms around the world, a patient arriving with chest pain presents a critical puzzle. The pain might be a harmless muscle spasm, or it could be the first warning sign of a heart attack, a condition where blood flow to the heart is blocked. Doctors must sort through these possibilities quickly, often while the patient is in pain and time is running out. The most dangerous forms of this condition, known as acute coronary syndrome, require immediate treatment to save lives, but distinguishing between the different types of heart attacks and non-heart-related pain is difficult. This is especially true in hospitals with fewer resources, where access to specialist doctors and advanced testing equipment may be limited. For decades, medical teams have relied on a combination of patient history, physical exams, and blood tests to make these life-or-death decisions, but the process remains prone to human error and uncertainty, particularly when symptoms are vague or overlapping.

A team of researchers in Indonesia has developed a new approach to help solve this problem by training a computer system to recognize patterns in routine medical data that humans might miss. Working with thousands of patient records from a major national hospital in Jakarta, they created a digital tool capable of sorting chest pain cases into four distinct categories: pain that is not related to the heart, a specific type of unstable heart pain, a non-severe heart attack, and a severe heart attack. The researchers did not invent new medical tests or require expensive new equipment; instead, they fed the computer information that is already collected during a standard emergency room visit, such as the patient's age, vital signs, the results of an electrocardiogram, and levels of a protein in the blood called troponin that signals heart damage. By analyzing these details, the system learned to make highly accurate distinctions between the four groups, offering a potential safety net for doctors who are under immense pressure to get the diagnosis right the first time.

The study began by looking back at the records of more than 8,000 adults who had visited the emergency department with chest pain or symptoms that felt like a heart attack. The researchers carefully reviewed these cases, using the final medical diagnoses confirmed by expert cardiologists as the ground truth. They then used this data to train a machine learning model, which is a type of computer program that learns from examples rather than following a fixed set of rules. The goal was to teach the program to look at the initial information available when a patient first arrives and predict which of the four diagnostic categories they belonged to. To ensure the system was robust, the team tested it on a separate group of patients from a different national heart center, a crucial step to see if the tool would work on people it had never seen before.

The results showed that the computer system performed with remarkable consistency. When tested on the internal group of patients, the model correctly identified the right category for nearly 95 percent of the cases. It was particularly effective at distinguishing the most severe heart attacks from the less severe ones and from non-heart-related pain. Even more importantly, when the researchers applied the same trained model to the external group of patients from the second hospital, it achieved almost the exact same level of accuracy. This suggests that the tool is not just memorizing the specific details of one hospital's patients but has learned general rules about how heart attacks present that apply across different groups of people. The system identified two key pieces of information as the most important clues: whether the heart's electrical activity showed a specific type of elevation on the test strip, and the initial level of the heart-damage protein in the blood. These findings align perfectly with what medical guidelines already teach doctors, confirming that the computer is using the same logical signals that human experts rely on.

Despite these strong results, the researchers are careful to note that this tool is not yet ready to replace doctors or make final decisions on its own. The study was conducted using past data, and the model has not yet been tested in a live emergency room where it would have to work in real time alongside human staff. There are also specific limitations, such as the fact that one of the features the computer used to make its decisions was the type of treatment the patient eventually received, which a doctor would not know at the moment a patient first walks in. The authors emphasize that this system is designed to be a supportive aid, a second opinion that can help non-specialist doctors feel more confident when they are unsure whether a patient has a severe heart attack or a less critical condition. By providing a clear, data-driven probability for each possible diagnosis, the tool aims to reduce the anxiety of uncertainty and ensure that patients with the most dangerous conditions receive urgent care without delay.

The ultimate value of this work lies in its potential to bring high-quality diagnostic support to settings where specialist cardiologists are not immediately available. In many parts of the world, the first person to see a patient with chest pain might be a general practitioner or a nurse, and having a reliable digital assistant could help bridge the gap in expertise. The researchers have made their code and the trained model publicly available for other scientists to study, verify, and improve. While the path to using this tool in everyday clinical practice requires further testing and validation across different types of hospitals and regions, the study demonstrates that it is possible to build a highly accurate system using only the standard data collected in a busy emergency room. It offers a glimpse of a future where technology works quietly in the background, helping medical teams navigate the most critical moments of a patient's care with greater precision and speed.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →