Respecting human dignity at the end of life