Risk of dementia and death in patients with atrial fibrillation: A competing risk analysis of a population-based cohort