New AI tool helps doctors treat cancer patients after heart attack