APOE and Mental deterioration: Given that cognitive decline is influenced by multiple factors related to chronic pain and opioid use, analyses adjusted for age, physical morbidities, and depressive symptoms, with sensitivity analyses further adjusting for anticholinergic medication use and genetic risk for Alzheimer’s disease (family history, APOE ε4).