BMC Primary Care (Jan 2023)
Real-world data in primary care: validation of diagnosis of atrial fibrillation in primary care electronic medical records and estimated prevalence among consulting patients’
Abstract
Abstract Background Primary care electronic medical records contain clinical-administrative information on a high percentage of the population. Before this information can be used for epidemiological purposes, its quality must be verified. This study aims to validate diagnoses of atrial fibrillation (AF) recorded in primary care electronic medical records and to estimate the prevalence of AF in the population attending primary care consultations. Methods We performed a cross-sectional validation study of all diagnoses of AF recorded in primary care electronic medical records in Madrid (Spain). We also performed simple random sampling of diagnoses of AF (ICPC-2 code K78) registered by 55 physicians and random age- and sex-matched sampling of the records that included a diagnosis of AF. Electrocardiograms, echocardiograms, and hospital discharge or cardiology clinic reports were matched. Sensitivity, specificity, positive and negative predictive values (PPV and NPV), and overall agreement were calculated using the kappa statistic (κ). The prevalence of AF in the community of Madrid was estimated considering the sensitivity and specificity obtained in the validation. All calculations were performed overall and by sex and age groups. Results The degree of agreement was very high (κ = 0.952), with a sensitivity of 97.84%, specificity of 97.39%, PPV of 97.37%, and NPV of 97.85%. The prevalence of AF in the population aged over 18 years was 2.41% (95%CI 2.39–2.42% [2.25% in women and 2.58% in men]). This increased progressively with age, reaching 16.95% in those over 80 years of age (15.5% in women and 19.44% in men). Conclusions The validation results obtained enable diagnosis of AF recorded in primary care to be used as a tool for epidemiological studies. A high prevalence of AF was found, especially in older patients.
Keywords