AI can predict death with up to 90% accuracy, improving end-of-life care