UK's Medical Research Council (MRC) has coded an AI (Artificial Intelligence) that it claims can help predict when patients with heart conditions may die.
The AI analyzed scans of 256 patients' hearts, measuring 30,000 different points in the organ's structure during each heartbeat and analyzed blood test results.
The MRC was investigating patients with pulmonary hypertension, reports the BBC.
High blood pressure in the lungs damages parts of the heart, and about a third of patients die within five years of being diagnosed. The software could look about five years into the future.
Researcher Dr Declan O'Regan told the BBC News website: "The AI really allows you to tailor the individual treatment. We can tailor getting absolutely the right intensive treatment to those who will benefit the most."
When this data was combined with eight years of patient health records, the AI learned which abnormalities predicted when patients would die. It correctly predicted those who would still be alive after one year about 80% of the time. The figure for doctors is 60%.
The researchers also want to use the technology in other forms of heart failure, such as cardiomyopathy, to see who might need a pacemaker or other forms of treatment.