title: Validity of registration of ICD codes and prescriptions in a research database in Swedish primary care: a cross-sectional study in Skaraborg primary care database.
abstract: BACKGROUND
  In recent years, several primary care databases recording information from computerized medical records have been established and used for quality assessment of medical care and research. However, to be useful for research purposes, the data generated routinely from every day practice require registration of high quality. In this study we aimed to investigate (i) the frequency and validity of ICD code and drug prescription registration in the new Skaraborg primary care database (SPCD) and (ii) to investigate the sources of variation in this registration.
  
  
  METHODS
  SPCD contains anonymous electronic medical records (ProfDoc III) automatically retrieved from all 24 public health care centres (HCC) in Skaraborg, Sweden. The frequencies of ICD code registration for the selected diagnoses diabetes mellitus, hypertension and chronic cardiovascular disease and the relevant drug prescriptions in the time period between May 2002 and October 2003 were analysed. The validity of data registration in the SPCD was assessed in a random sample of 50 medical records from each HCC (n = 1200 records) using the medical record text as gold standard. The variance of ICD code registration was studied with multi-level logistic regression analysis and expressed as median odds ratio (MOR).
  
  
  RESULTS
  For diabetes mellitus and hypertension ICD codes were registered in 80-90% of cases, while for congestive heart failure and ischemic heart disease ICD codes were registered more seldom (60-70%). Drug prescription registration was overall high (88%). A correlation between the frequency of ICD coded visits and the sensitivity of the ICD code registration was found for hypertension and congestive heart failure but not for diabetes or ischemic heart disease.The frequency of ICD code registration varied from 42 to 90% between HCCs, and the greatest variation was found at the physician level (MORPHYSICIAN = 4.2 and MORHCC = 2.3).
  
  
  CONCLUSIONS
  Since the frequency of ICD code registration varies between different diagnoses, each diagnosis must be separately validated. Improved frequency and quality of ICD code registration might be achieved by interventions directed towards the physicians where the greatest amount of variation was found.
authors.affiliation: R&D Centre, Skaraborg Primary Care, Skövde, Sweden. per.hjerpe@vgregion.se
authors.forename: Per
authors.initials: P
authors.lastname: Hjerpe
authors.forename: Juan
authors.initials: J
authors.lastname: Merlo
authors.forename: Henrik
authors.initials: H
authors.lastname: Ohlsson
authors.forename: Kristina
authors.initials: K
authors.lastname: Bengtsson Boström
authors.forename: Ulf
authors.initials: U
authors.lastname: Lindblad
mesh_terms: D003430:Cross-Sectional Studies; D003920:Diabetes Mellitus / Q000145:classification / Q000188:drug therapy; D011307:Drug Prescriptions; D057286:Electronic Health Records; D006302:Health Services Research; D006331:Heart Diseases / Q000145:classification / Q000188:drug therapy; D006801:Humans; D006973:Hypertension / Q000145:classification / Q000188:drug therapy; D038801:International Classification of Diseases; D016015:Logistic Models; D011320:Primary Health Care / Q000379:methods*; D013548:Sweden