End-of-life chatbot helps patients make tough decisions