{'fraction_non_alphanumeric': 0.051323608860075635, 'fraction_numerical': 0.041058887088060506, 'mean_word_length': 4.974193548387097, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Validation of diagnosis of acute myocardial infarction and stroke in electronic medical records: a primary care cross-sectional study in Madrid, Spain (the e-MADVEVA Study)

Objectives: To validate the diagnoses of AMI and stroke recorded in EMR and to estimate the population prevalence of both diseases in people aged [≥] 18 years Design: Cross-sectional validation study Setting: 45 primary care centres Participants: Simple random sampling of diagnoses of AMI and stroke (ICPC-2 codes K75 and K90, respectively) registered by 55 physicians and random age- and sex-matched sampling of the records that included in primary care EMRs in Madrid (Spain). Primary and Secondary Outcomes Measures: Sensitivity, specificity, positive and negative predictive values, and overall agreement were calculated using the kappa statistic. Applied gold standards were electrocardiograms, brain imaging studies, hospital discharge reports, cardiology reports, and neurology reports. In the case of AMI, the ESC/ACCF/AHA/WHF Expert Consensus Document was also used. Secondary outcomes were the estimated prevalence of both diseases considering the sensitivity and specificity obtained (true prevalence). Results: The sensitivity of a diagnosis of AMI was 98.11% (95% CI, 96.29-99.03), and the specificity was 97.42% (95% CI, 95.44-98.55). The sensitivity of a diagnosis of stroke was 97.56% (95% CI, 95.56-98.68), and the specificity was 94.51% (95% CI, 91.96-96.28). No differences in the results were found after stratification by age and sex (both diseases). The prevalence of AMI and stroke was 1.38% and 1.27%, respectively. Conclusion: The validation results show that diagnoses of AMI and stroke in primary care EMRs constitute a helpful tool in epidemiological studies. The prevalence of AMI and stroke was lower than 2% in the population aged over 18 years.