Law, ethics and medicine at the end of life