electronic health records ( ehrs ) are increasingly used by medical providers and offer a wide - reaching source of information on utilization of preventive services . numerous measures used for quality assessment and public reporting are estimated based on ehr data . however , sources of error and misclassification can lead to over- or underestimation of true utilization rates . ehr - derived measures of screening test use are subject to error due to misclassification of screening and diagnostic tests . the implications of this misclassification for ehr - based screening utilization estimates have not been well explored . we calculated the bias in estimates of screening test utilization associated with several published ehr - based algorithms for identifying screening colonoscopies and propose two simple methods to correct this bias . we apply these corrections to obtain adjusted estimates of screening colonoscopy utilization using ehr data from group health , an integrated health care system in washington state . the bias in screening colonoscopy utilization estimates ranged from an underestimation of 3 percentage points to an overestimation of 12 percentage points across classification methods . if the operating characteristics of the classification method are known or if a statistical model that returns predicted probabilities of screening indication is applied in the population of interest , this information can be used to obtain unbiased estimates through simple corrections to the utilization rates with little loss of precision . when applied to data on colonoscopies received at group health , we found that an unadjusted estimate was 4 percentage points higher than our adjusted estimate . error in classification of tests as screening when using ehr data to study screening utilization should be accounted for in order to eliminate bias and prevent spurious findings . electronic health records ( ehr ) data , including administrative data used for billing and clinical medical records collected as part of patient care , are potential sources of information on a wide range of quality measures . these data include information on a broad patient population and facilitate research and quality assessment that is representative of care in community medical practice . ehr data will become increasingly available and valuable as adoption of electronic systems expands , a process that has been accelerated by incentives for health it provided under the affordable care act . rates of breast , cervical , and colorectal cancer screening are examples of measures of preventive services utilization that are commonly estimated using ehr data . for instance , cancer screening measures estimated via ehr data are included among the national committee on quality assurance s healthcare effectiveness data and information set ( hedis ) measures,1 and have also been tied to reimbursement through incentives mandated by the affordable care act and the centers for medicare and medicaid services ( cms ) hospital outpatient quality reporting program.2 estimating these measures using ehr data is preferable to self - report of screening test utilization due to the possibility of bias in estimates based on self - report.3,4 use of ehr data for evaluating screening utilization is also far more efficient than manual chart review . despite the potential value of ehr data for estimating screening test utilization , obtaining accurate estimates is challenging for several reasons . for instance , the national quality forum ( nqf ) colorectal cancer screening measure is an estimate of the proportion of individuals ages 5075 years who have been screened with colonoscopy within the past 10 years , flexible sigmoidoscopy within the last 5 years , or fecal occult blood test within the past year.5 an accurate assessment of this outcome requires reliable measures of the number of individuals in the screening - eligible population and the number of individuals receiving screening with each of the tests of interest . identifying individuals in the screening - eligible population is challenging because individuals may have recently entered the health system population , making it difficult to determine if they have pre - existing diagnoses that should result in their exclusion from the eligible population . similarly , identifying screened individuals is challenging because new enrollees may have been screened prior to enrollment in the health system . additionally , there are no unique codes for screening as distinguished from diagnostic colonoscopy . including diagnostic colonoscopies in estimates of screening utilization this may obscure important information about access to and utilization of cancer screening services and may produce biased or spurious findings regarding disparities in screening if there is differential misclassification across patient subgroups . the extent of the error in estimates of cancer screening utilization based on ehr data attributable to misclassification of screening indication depends on the operating characteristics of methods used to classify cancer screening tests . several previous studies have estimated the operating characteristics of approaches to distinguishing screening and diagnostic tests using administrative ehr data.68 while these studies have focused on the use of administrative ehr data , similar considerations apply to studies using data from clinical encounters , if the classification approaches in question produce measures of screening indication that have errors . in the context of breast cancer screening , several algorithms have been developed for classifying mammograms as screening or diagnostics using diagnosis and procedure codes from claims data.6,9,10 a number of algorithms have also been developed for identifying screening colonoscopies based on ehr data with varying operating characteristics.7,1113 the sensitivity of these approaches ranges from 70 to 90 percent and specificity from 60 to 90 percent . a natural question arises : how might estimates of screening test utilization based on ehr data be influenced by misclassification of screening and diagnostic examinations ? in this paper we explore the implications of using ehr data with imperfect information on screening indication to estimate rates of screening test utilization . we use numerical examples and simulations focusing on screening colonoscopy to demonstrate the magnitude of bias that can be induced by using an imperfect measure of screening indication . we then demonstrate via simulation studies how to correct this bias using information on the operating characteristics of the algorithm used to assign screening indication or a predicted probability that the test was performed for screening purposes . finally , we demonstrate the application of unadjusted and adjusted measures of screening colonoscopy utilization using ehr data from group health , an integrated health plan and health care delivery system in washington state . to illustrate the bias arising from imperfect ascertainment of screening - test utilization we introduce the following notation . let y represent the true classification of the test with y = 1 indicating a screening test and y = 0 indicating a diagnostic test . we assume that y is unobserved in ehr data but that a proxy is available , denoted y. for instance , in the case of colonoscopy , procedure codes do not distinguish colonoscopy performed for screening versus colonoscopy performed to evaluate signs or symptoms ( i.e. , a diagnostic exam ) . however , by applying existing algorithms to administrative data it is possible to obtain a predicted probability of screening indication that can then be dichotomized to yield an indicator that the examination was a screening test . in this example the operating characteristics of y are the sensitivity , se = p(y=1|y=1 ) , and specificity , sp= p(y=0|y=0 ) . in studying utilization of cancer screening tests , our objective is to estimate the proportion of the population receiving a screening test , p(y=1 ) . if we use instead p(y=1 ) as a measure of screening utilization , the difference , p(y=1 ) we can express this bias as a function of the sensitivity and specificity of y , p(y=1 )  p(y=1 ) = se it can be easily seen that for a test with perfect operating characteristics ( sensitivity and specificity equal to 1 ) , p(y=1 ) will be unbiased . the relative impact of sensitivity and specificity on bias will depend on p(y = 1 ) , which is unknown in practical applications . in table 1 , we illustrate the bias in estimates of screening - colonoscopy utilization when using three different algorithms for identifying screening examinations . previously , self - report data have been used to estimate screening - colonoscopy utilization.14,15 however , ehr data offer the opportunity to evaluate utilization in a broad population without the bias inherent in self - report . motivated by estimates of lower endoscopy utilization,15 we assume that the true proportion of individuals who have been screened with colonoscopy in the past 10 years is 58.5 percent . in this setting , bias in screening - colonoscopy utilization ranges from underestimation by 5.7 percentage points to overestimation by 11.6 percentage points . in this section we present two methods for correcting the bias in estimates of screening utilization based on imperfect ehr - based algorithms for assigning screening indication . the first relies on the existence of validation studies that have established the operating characteristics of the classification algorithm in the population of interest . we can use the known sensitivity and specificity of the algorithm for classifying tests as screening to correct estimates through direct algebraic manipulation of the formula for bias , providing a simple approach for obtaining unbiased utilization estimates . specifically , a corrected formula for screening - test utilization is given by ( p(y=1)+sp1)/(se+sp1 ) . utilization is first estimated using algorithm - assigned screening indication , providing an estimate of p(y=1 ) . this estimate and the estimated sensitivity and specificity of the algorithm are then substituted into the expression above to produce a bias - corrected estimate of p(y=1 ) . the second approach to correcting estimates of screening utilization requires an algorithm that assigns individual - level probabilities of screening indication . some methods for identifying screening tests return a predicted probability that a test was used for screening purposes . for instance , in the context of colorectal cancer screening , a lasso algorithm has been proposed that provides the probability that a given colonoscopy was a screening test.8 lasso is a statistical prediction model that combines variable selection and parameter estimation under a constraint on the size of the regression coefficients.16 assuming that these probabilities are well calibrated , summing the predicted probabilities of screening indication in the patient population of interest provides an unbiased estimate of the number of screening tests performed in the population . a well - calibrated probability implies that the proportion of tests with screening indication is equal to the predicted probability that a test has screening indication . for instance , among all tests with predicted probability of screening indication equal to 0.2 , 20 percent will truly be screening tests if the prediction model is well calibrated . if the algorithm was developed in a different population , it may not be well calibrated and might over- or underestimate the probability of screening indication in a new population . given a well - calibrated predicted probability , the utilization rate can be estimated without bias by taking the mean of the predicted probabilities in the population of interest . to demonstrate the bias and precision resulting from using uncorrected classifications of screening indication to estimate utilization as well as performance of the two proposed approaches to bias correction , we conducted a simulation study motivated by the context of screening with colonoscopy . in this study we assumed a population of size 10,000 and that 59 percent of this population were screened at least once over a 10-year period . we assumed that predicted probabilities of screening indication in this population arose from a beta(0.25 , 0.17 ) distribution . this distribution implies that the cutpoint maximizing the average of sensitivity and specificity has a sensitivity of 0.89 and a specificity of 0.90 . these parameter values were selected to create a scenario similar to the adams algorithm for classifying screening colonos - copies.8 for each simulated individual , both the true classification of the test as screening or diagnostic and the algorithm - assigned predicted probability were known . we first computed an uncorrected utilization estimate by dichotomizing the predicted probability at the value maximizing the average of sensitivity and specificity and then computing the proportion of individuals classified as having received a screening examination . we then computed the two bias - corrected estimates , first by applying the correction factor presented above and then by computing the mean of the predicted probabilities . we repeated this process across 10,000 simulated populations and plotted the distribution of screening - test utilization estimates provided by each approach in figure 1 . in these simulated populations , the approach directly using the algorithm - assigned classification without adjustment underestimated screening utilization by 2.5 percentage points . both of the bias - corrected approaches had a bias of less than 0.01 percentage points . the uncorrected method had a standard error of 0.5 , the direct adjustment method of 0.6 , and the mean probability method of 0.4 percentage points . to demonstrate the application of an adjusted utilization approach in a real data set derived from an ehr , we used data on receipt of colonoscopy from group health , an integrated health plan and health care delivery system in washington state . because sensitivity and specificity in this population are unknown we used the mean probability method to obtain adjusted estimates . we constructed a sample consisting of members ages 50 years or older who were continuously enrolled in group health for at least 5 years between 2002 and 2012 with no prior diagnosis of colorectal cancer . in this population , we estimated the proportion of members receiving a screening colonoscopy at least once during a 5-year period . we used current procedural terminology ( cpt ) codes ( 45355 , 4537845387 , 45391 , 45392 ) , healthcare common procedure coding system ( hcpcs ) codes ( g0105 , g0121 ) and international classification of diseases  ninth revision , clinical modification ( icd-9-cm ) codes ( 45.2145.24 , 45.25 , 45.42 , 45.43 ) to identify each colonoscopy received by a member of the denominator population . we then applied the algorithm of adams8 to each colonoscopy to obtain a predicted probability that the colonoscopy was a screening examination . if an individual received more than one colonoscopy during this time frame we retained the colonoscopy with the highest probability of screening indication we first dichotomized the predicted probabilities at a threshold of 0.261 , the threshold maximizing the average of sensitivity and specificity in a validation study,8 to obtain a binary indicator of receipt of screening colonoscopy . we then computed an unadjusted measure corresponding to the proportion of individuals with a screening colonoscopy based on this binary indicator . finally , we computed an adjusted measure by taking the mean of the predicted probabilities . this approach is appropriate for accounting for misclassification in identification of screening tests when the sensitivity and specificity of the algorithm are unknown in the target population . in this population of 139,163 individuals , we compare this to an estimate of 7.8 percent based on averaging the predicted probabilities . thus , the unadjusted approach appears to substantially overestimate screening - colonoscopy utilization in this population . estimates of screening - test utilization based on algorithms for assigning screening indication with imperfect operating characteristics will be biased . this bias leads to under- or overestimation of the proportion of the population making use of a screening test . in the case of underestimation this could lead to unnecessary efforts to improve utilization , and in the case of overestimation this could lead to failure to address the needs of underserved populations . the magnitude and direction of the bias depend on the sensitivity and specificity of the ehr - based algorithm as well as the prevalence of screening utilization in the population of interest . we have demonstrated two simple approaches to correcting bias , which can easily be applied to ehr data , and implemented an adjusted approach using ehr data from group health . these methods require that either the operating characteristics of the algorithm are known based on a prior validation study or that the algorithm returns predicted probabilities of screening indication and is well calibrated in the population under study . we recommend that one of these two approaches be used to correct utilization estimates whenever possible . use of these approaches is particularly well suited to ehr data because the depth of information available via data from clinical encounters facilitates validation studies for evaluation of the discrimination and calibration of the measure in a small sample of the target population . the measure and appropriate methods for correcting for misclassification can then be rapidly applied to a broad population using administrative ehr data . in this study , we focused on estimation of screening - test utilization when screening indication is imperfectly ascertained . however , there are a variety of other uses for ehr - derived data on cancer screening that rely on accurate ascertainment of test indications . for instance , estimates of screening - test effectiveness including the cancer stage at diagnosis and the mortality among screened and unscreened individuals may be of interest . misclassification of screening and diagnostic tests will bias these measures of screening - test effectiveness . several previous studies have discussed considerations for using algorithm - assigned outcomes and exposures in studies based on ehr data.17,18 these provide guidance on the relationship between algorithm operating characteristics and bias in various measures of effectiveness and can be used in conjunction with the current study to guide the choice of algorithm and analysis strategy when using data with known error in screening indication . calibration and discrimination of the ehr - based measure are key to obtaining accurate estimates . if the measure is not well calibrated all three of the approaches discussed in this paper will return biased estimates . we recommend using a validation sample , in which both clinical and administrative data are available , to evaluate the calibration of any screening indication algorithm before it is applied broadly to ehr data . additionally , an algorithm with poor discrimination ( sensitivity and specificity ) will lead to biased estimates and may inflate the standard errors of the estimates . the direct adjustment method , in particular , will have inflated standard errors if its denominator , se + sp  1 , is close to 0 . this will occur in the case of a measure where the sum of sensitivity and specificity is close to 1 , which would occur , for instance , if both cases and controls are correctly classified only about 50 percent of the time . if each site uses a different approach to classifying screening indication or if a common approach is used that has differing operating characteristics across study sites , then differential bias may lead to the spurious appearance of variability in screening utilization across sites . if patient characteristics differ across sites this could also lead to the appearance of associations between patient characteristics and utilization that are entirely attributable to bias . in the case of a multisite study the classification approach should be validated at each study site allowing for bias correction at the study site level . similarly , if operating characteristics vary across patient subgroups this could result in apparent variation in utilization across subgroups where none truly exists or , conversely , might obscure true variation in utilization . to protect against this bias , validation studies within patient subgroups of interest must be conducted to provide estimates of operating characteristics within each population or to demonstrate that algorithm - assigned probabilities are well calibrated in each group . as use of electronic medical records expands , ehr data will become increasingly valuable as a source of information on screening test utilization . the considerations provided here allow for evaluation of the bias that will occur if algorithms for screening indication are used without correction for potential misclassification of screening tests as diagnostic tests . we have provided simple approaches to correct this bias that can be readily implemented and have demonstrated their potential for eliminating bias without inflating standard errors . the need to classify tests as screening or diagnostic is not unique to the setting of cancer screening using ehr data but exists across a broad range of prevention measures including use of tests for depression , high cholesterol , and osteoporosis . moreover , the considerations described here do not apply solely to misclassification of diagnostic and screening tests but are relevant broadly to measures that rely on imperfect ascertainment of the service of interest . error in ascertainment of utilization due to misclassification should be considered and appropriate adjustment methods such as those proposed in this paper should be applied to avoid bias .
background : electronic health records ( ehrs ) are increasingly used by medical providers and offer a wide - reaching source of information on utilization of preventive services . 
 numerous measures used for quality assessment and public reporting are estimated based on ehr data . 
 however , sources of error and misclassification can lead to over- or underestimation of true utilization rates . 
 ehr - derived measures of screening test use are subject to error due to misclassification of screening and diagnostic tests . the implications of this misclassification for ehr - based screening utilization estimates have not been well explored.objectives:we calculated the bias in estimates of screening test utilization associated with several published ehr - based algorithms for identifying screening colonoscopies and propose two simple methods to correct this bias . 
 we apply these corrections to obtain adjusted estimates of screening colonoscopy utilization using ehr data from group health , an integrated health care system in washington state.findings:the bias in screening colonoscopy utilization estimates ranged from an underestimation of 3 percentage points to an overestimation of 12 percentage points across classification methods . if the operating characteristics of the classification method are known or if a statistical model that returns predicted probabilities of screening indication is applied in the population of interest , this information can be used to obtain unbiased estimates through simple corrections to the utilization rates with little loss of precision . 
 when applied to data on colonoscopies received at group health , we found that an unadjusted estimate was 4 percentage points higher than our adjusted estimate.discussion:error in classification of tests as screening when using ehr data to study screening utilization should be accounted for in order to eliminate bias and prevent spurious findings .