A lot of time and money has gone into trying to improve end-of-life care.