A longitudinal study of factors associated with cognitive frailty in middle-aged and elderly population based on the health ecology model | Synapse