quality of life in advanced illness