End of life in relation to frailty