Diagnosis of patients with heart failure with preserved ejection fraction in primary care: cohort study