The impact of quality of life on the health of older people from a multidimensional perspective