Differential effect of anticoagulation according to cognitive function and frailty in older patients with atrial fibrillation