Spanish hospital trials AI app to monitor for heart failure