Use of the i2b2 research query tool to conduct a matched case–control clinical research study: advantages, disadvantages and methodological considerations
BMC Medical Research Methodology volume 14, Article number: 16 (2014)
A major aim of the i2b2 (informatics for integrating biology and the bedside) clinical data informatics framework aims to create an efficient structure within which patients can be identified for clinical and translational research projects.
Our objective was to describe the respective roles of the i2b2 research query tool and the electronic medical record (EMR) in conducting a case-controlled clinical study at our institution.
We analyzed the process of using i2b2 and the EMR together to generate a complete research database for a case–control study that sought to examine risk factors for kidney stones among gastrostomy tube (G-tube) fed children.
Our final case cohort consisted of 41/177 (23%) of potential cases initially identified by i2b2, who were matched with 80/486 (17%) of potential controls. Cases were 10 times more likely to be excluded for inaccurate coding regarding stones vs. inaccurate coding regarding G-tubes. A majority (67%) of cases were excluded due to not meeting clinical inclusion criteria, whereas a majority of control exclusions (72%) occurred due to inadequate clinical data necessary for study completion. Full dataset assembly required complementary information from i2b2 and the EMR.
i2b2 was critical as a query analysis tool for patient identification in our case–control study. Patient identification via procedural coding appeared more accurate compared with diagnosis coding. Completion of our investigation required iterative interplay of i2b2 and the EMR to assemble the study cohort.
The i2b2 (informatics for integrating biology and the bedside) clinical data informatics framework was originally developed within the Partners Healthcare System, a large, integrated healthcare system based in Boston . The first version of code for i2b2 was released publicly in 2007 with support from an NIH-funded National Center for Biomedical Computing . Since its inception, over 200 scholarly articles have been published using data derived from i2b2 systems . A major aim of i2b2 is to create a cost-effective and efficient way to identify patients for many types of clinical and translational research .
At Boston Children’s Hospital (BCH), the data contained within i2b2 is obtained from multiple administrative and electronic medical record data sources, including hospital and physician billing records and data generated over the course of clinical care. Specific available data types include demographics, medications, laboratory values, and International Classification of Diseases, 9 th Edition, Clinical Modification (ICD-9-CM) billing and procedure codes. The clinical and administrative data sources feed into i2b2 to provide a searchable composite data repository that is used by clinical and translational researchers at our hospital. Clinical data becomes available to i2b2 as it becomes digitized, such that laboratory data is robust going back many years, whereas detailed prescription data has become more universally available as more providers have begun to use electronic, rather than paper, prescriptions. Therefore, availability of specific clinical data elements through i2b2 is largely time-dependent.
Our group at BCH recently used the i2b2’s ontological search framework to conduct a case–control study examining risk factors for the development of kidney stones among pediatric patients cared for at our institution who are fed via gastrostomy tube (G-tube) . In order to assemble the database for this study, we undertook a multi-step process that required:
Access to the patient population of interest
Accurate identification of cases based on pre-specified inclusion and exclusion criteria
Assurance that cases arose from the same population from which we were drawing our matched controls
Case–control matching based on pre-specified matching criteria.
The objectives of this paper are to evaluate the role of i2b2 in creating the dataset for our case–control study, and to discuss the interplay between this research query tool and clinical data extracted through detailed chart review. In particular, we describe the utility of i2b2 for identifying cases and controls at a single institution, from our perspective as clinical investigators.
A schematic of our data collection strategy is illustrated in Figure 1.
Potential cases (defined as patients with both G-tubes and kidney stones) were identified via an i2b2 query that requested the presence of at least 1 ICD-9-CM or Current Procedural Terminology (CPT) code for a G-tube (ICD-9-CM codes v44.1, 43.19, 43.11, 43.19, v55.1, 96.36, 97.02, 536.40, 536.41, 536.42, and 536.49; CPT codes 43246, 43653, 43750, 43760, 43830, 43831, 43832, 49440, 49450, 49465, and 74350) and at least 1 ICD-9-CM code representing a kidney stone (592.1, 592.2, 592.9). The initial query was conducted through the i2b2 workbench by our clinical research team, which produced a de-identified dataset. After IRB approval, the query was processed by the i2b2 Clinical Research Informatics Team, which allowed identification of potential cases.
The medical records of potential cases were then reviewed by the clinical research team to confirm eligibility for the study. Criteria for inclusion in the study were 1) an incident stone diagnosis between January 2005 and December 2011 and 2) a patient age of 1–21 at the time of stone diagnosis. Cases were excluded if 1) the presence of a G-tube or kidney stone could not be verified from within the clinical chart, 2) the kidney stone history predated G-tube placement, 3) there was insufficient data regarding tube feed formulation and/or regimen, or 4) the patient had received G-tube feeds for less than 3 months in the 12 months prior to the date of the kidney stone diagnosis. Cases were also later excluded if at least 1 eligible control could not be identified.
The final list of cases was then cross-referenced with patients identified via i2b2 as having one or more of the G-tube ICD-9-CM or CPT codes detailed above, in the absence of an ICD-9-CM code for a kidney stone, to identify potential controls. Criteria were then applied by the automated i2b2 system to match all potential control patients to the existing case list based on date of birth (±1 year) and gender.
The list of all potential controls was then sorted randomly by case number and sequentially examined via chart review until 2 controls were identified for each case. In addition to age and gender matching, each control was also matched to each case based on timing of G-tube placement. Specifically, to be eligible for the study, each control was required to have had a G-tube in place and to have been receiving tube feeds during at least 3 out of the 12 months prior to the date of kidney stone diagnosis for their matched case. Potential controls that did not meet these criteria were excluded, as were those in which the presence of a G-tube could not be verified or the nutritional data contained within their chart was deemed insufficient for the purposes of our study.
The reasons for exclusion of patients from the study cohort after initial inclusion via the i2b2 search algorithm were tabulated and categorized for both cases and controls. The study from which these data were derived was reviewed and approved by the Boston Children’s Hospital Institutional Review Board (Protocol # IRB-P000029420).
The initial i2b2 query identified 177 potentially eligible cases as having both an ICD-9-CM and/or CPT code for a G-tube and an ICD-9 code for a kidney stone. We excluded 136 cases due to aforementioned reasons (Figure 2). The final case cohort consisted of 41 cases (23.2% of the potential cases initially identified).
All identified cases (n = 41) were matched with 80 controls, who collectively represented 16.5% (80/486) of potential controls. All identified controls had both an ICD-9-CM and/or CPT code for a G-tube and fulfilled the matching criteria for at least one of the cases. There were 2 case patients with only 1 matching control and 1 potential case was excluded based on no eligible control. The mean number of potential control medical records reviewed in sequential order until a match for each case was identified was 9.9 +/- 8.4.
A comparison of the reasons for excluding cases vs. controls in the final analysis is illustrated in detail in Table 1. Among potential cases, 22.8% were excluded based on apparent inaccuracy of administrative codes, whereas this was true for only 7.6% of potential controls. Cases were 10 times more likely to be excluded for an inaccurate kidney stone code versus an inaccurate G-tube code. The majority of control exclusions (72.2%) occurred due to inadequate clinical (nutritional) data to complete our study.
In our study, i2b2 was critical as a research query tool for screening potential cases and controls as well as for conducting the matching query for our study. The full assembly of our case–control cohort required an iterative approach with multiple points of comparison between i2b2 and the clinical patient records. Approximately 23% of patients identified as eligible for our study based on the initial i2b2 query were eventually included as cases, and an average of 10 controls per case had to undergo chart review in order to attain a 2:1 match. Among potential cases that were ultimately excluded after chart review, 67% were excluded for not meeting our study inclusion criteria and 23% for the inability to verify the diagnosis of a stone or presence of a G-tube on an individual patient basis. In contrast, potential controls were more likely to be excluded for inadequate clinical data (72%), while coding inaccuracies were more rare (23% of potential cases vs. 8% of potential controls).
Throughout its design and implementation, we were acutely aware of potential methodological pitfalls to our case–control study [5, 6]. Common limitations inherent to a case–control study design that applied to our investigation included 1) the need to explicitly define and apply the criteria for diagnosis of a case, 2) assurance that cases selected were incident cases, and 3) certainty that controls selected came from the same population as our cases . However, given a paucity of prior investigations into both our primary study question, as well as our patient population of interest, we felt a case–control study design to be a reasonable first step. As such, we sought to be as standardized and comprehensive as possible in all aspects of our data collection process, starting with the cohort assembly.
Previous investigators have described the use of other databases sourced from billing/administrative tasks for conducting case–control studies. The proportion and magnitude of chart review necessary for each study appears to vary based on the specific diagnoses/conditions of interest for each investigation. In a manner similar to our use of i2b2, de Abajo and colleagues used a primary care research database to identify patients with a condition of interest based on administrative coding, and then conducted chart review based on the initial query . In their study, the investigators initially identified cases with a diagnosis of upper gastrointestinal (UGI) bleed based on International Classification of Primary Care Code or free text related to UGI bleed, which was screened via natural language processing. Of the potential cases initially identified, 21% were included in the final case cohort after detailed chart review, similar to our final case inclusion rate of 23%. In a British case–control study examining whether routine primary care data could be used to identify children at risk of entering public care, Simkiss and colleagues were able to conduct both cohort assembly and data analysis without the use of detailed chart review . The investigators did selectively validate the case selection strategy using clinician questionnaires. They were able to confirm case status in 93%, suggesting that an automated case selection algorithm for their condition of interest (placement of a child into public care) was a reasonable strategy. However, our experience and that of de Abajo and colleagues suggest that a completely automated case selection strategy is unlikely to yield accurate results, and in turn may require chart review to refine study cohorts.
One alternative to using a multi-source research database to facilitate the completion of institutional or multi-institutional case–control studies is the use of a registry-based strategy. Recent, expanded applications of data registries harness the benefits of open data sharing and advanced query and analytic tools in a similar fashion to the i2b2 framework. In one instance, the International Collaborative Gaucher Group Registry was able to establish a large, multi-institutional registry for a rare medical condition . In this project, researchers and clinicians collaborated and agreed to enter specified data points on for each patient on a prospective basis, which then allowed for stratification of patients by several relevant clinical and demographic factors, which in turn facilitated investigation of risk factors for primary outcomes, such as avascular necrosis, in this rare-disease population. Such an approach is attractive for a variety of specific conditions. However, it may be unrealistic to expect multicenter groups to develop registries for every possible interesting combination of conditions (e.g. G-tube feeding plus kidney stone). Nevertheless, this illustration of using a centralized registry does argue for having complete lists of patients with particular conditions whenever feasible.
Certainly, an important consideration in using a research query tool that draws data from administrative billing records to conduct a case–control study is the potential to encounter inaccuracies in procedural and medical diagnostic coding key to identifying particular patient populations. In the clinical setting, several studies in prevalent diseases have used ICD-9-CM for case identification [10–13]. However, relying on ICD-9-CM codes alone may result in bias and disease misclassification. Recent studies have also supported the combined use of medical record review with an administrative database to validate the diagnosis [14, 15]. For example, the use of both procedural (i.e., upper gastrointestinal endoscopy) and diagnostic (i.e., celiac disease) codes can improve the precision of case identification, as compared to the use of a diagnostic code alone . Overall, procedural codes may have higher sensitivity and specificity compared with diagnosis codes [16, 17]. In our investigation, cases were 10 times more likely to be excluded for an inaccurate kidney stone code versus an inaccurate gastrostomy tube code, likely reflecting that fact that our G-tube definitions used a combination of diagnostic and procedural codes, while the kidney stone definition relied on diagnostic codes alone.
Although our study required manual chart review to conform to the clinical constraints of our inclusion criteria, the i2b2 framework provided multiple important advantages that warrant mention. Most simply, i2b2 has both ICD-9-CM and CPT coding available for query, a feature that is not universal in administrative data sources. A specific advantage of i2b2 compared with traditional billing data is the ability to cross-reference several billing codes to generate a list of unique patients with multiple conditions of interest. i2b2 also contains an intuitive user interface that allows blinded (de-identified) screening queries to be conducted by the clinical research team based on ICD-9-CM and/or CPT coding. This feature allows clinical researchers to assess study feasibility prior to initiating a complete investigational protocol, or to obtaining formal IRB approval. Additional functionality of i2b2 included its ability to specify matched case–control groups based on predetermined criteria; in turn, i2b2 provided a critical means for our cases and controls to be selected from the same source population. Finally, i2b2 contains clinical data including laboratory results and biometric measurements, which could all be extracted into our dataset in a substantially streamlined, reliable fashion when compared with the alternative of manual chart abstraction.
At its current level of functionality, i2b2 did have several limitations. For instance, we were unable to comprehensively query clinical data beyond diagnosis and procedural coding. Even with the recent incorporation of natural language processing into i2b2,  it is difficult to imagine that the entire case–control cohort assembly process could be completed automatically without significant restructuring of the format of clinical data inputs. In the absence of clinical data restructuring, we could have potentially improved our initial query strategy by applying a more specific initial filter that included dates of service and/or by requiring particular encounter types. As an example, the majority of nutrition data were contained within certain visit types, so we could have required that a patient have a GI, complex care, nutrition or inpatient encounter to be eligible for further screening. We also considered limiting age ranges during the initial query so that fewer patients would be excluded due to being outside of the age range for our study. However, we were concerned that we could have missed potential cases or controls with more specific initial filters, so we elected to be broader in our search strategy for this index study using the i2b2 framework for case-cohort assembly.
In summary, the i2b2 multi-source data informatics framework was critical as a query analysis tool for patient identification in our case–control study examining risk factors for kidney stones among G-tube fed children. Patient identification via procedural and diagnostic coding appeared more accurate compared with diagnostic coding alone. i2b2 also streamlined multiple additional aspects of our investigation, including the assessment of feasibility, case–control matching, and clinical data abstraction. Full completion of our study required an iterative interplay between administrative data and the more granular clinical record. Nevertheless, i2b2 remained a critical component at multiple steps in our study execution. Moving forward, enhancements such as natural language processing will continue to improve the i2b2 framework as a tool for clinical researchers, and will further distinguish this as a tool for generating clinical research datasets as compared with standard administrative data sources. In turn, we anticipate that its utility to case–control studies and other types of clinical investigations will continue to grow.
This study was conducted as part of an investigation that was approved by the Institutional Review Board at Boston Children's Hospital. The study was reviewed and determined to be exempt from individual patient consent due to its retrospective nature.
Informatics for integrating biology and the bedside
Electronic medical record
Boston Children’s Hospital
International classification of diseases, 9th edition, clinical modification
Current procedural terminology
Murphy SN, Mendis ME, Berkowitz DA, Kohane I, Chueh HC: Integration of clinical and genetic data in the i2b2 architecture. AMIA Annu Symp Proc. 2006, 1040-
Kohane IS: Using electronic health records to drive discovery in disease genomics. Nat Rev Genet. 2011, 12 (6): 417-428. 10.1038/nrg2999.
Informatics for integrating biology and the bedside. http://www.i2b2.org,
Johnson EK, Lightdale JR, Nelson CP: Risk factors for urolithiasis in gastrostomy tube fed children: a case–control study. Pediatrics. 2013, 132 (1): e167-e174. 10.1542/peds.2012-2836.
Austin H, Hill HA, Flanders WD, Greenberg RS: Limitations in the application of case–control methodology. Epidemiol Rev. 1994, 16 (1): 65-76.
Schulz KF, Grimes DA: Case–control studies: research in reverse. Lancet. 2002, 359 (9304): 431-434. 10.1016/S0140-6736(02)07605-5.
de Abajo FJ, Gil MJ, Bryant V, Timoner J, Oliva B, Garcia-Rodriguez LA: Upper gastrointestinal bleeding associated with NSAIDs, other drugs and interactions: a nested case–control study in a new general practice database. Eur J Clin Pharmacol. 2013, 69 (3): 691-701. 10.1007/s00228-012-1386-3.
Simkiss DE, Spencer NJ, Stallard N, Thorogood M: Health service use in families where children enter public care: a nested case control study using the General Practice Research Database. BMC Health Serv Res. 2012, 12: 65-10.1186/1472-6963-12-65.
Cole JA, Taylor JS, Hangartner TN, Weinreb NJ, Mistry PK, Khan A: Reducing selection bias in case–control studies from rare disease registries. Orphanet J Rare Dis. 2011, 6: 61-10.1186/1750-1172-6-61.
Tanpowpong P, Broder-Fingert S, Obuch JC, Rahni DO, Katz AJ, Leffler DA, Kelly CP, Camargo CA: Multicenter study on the value of ICD-9-CM codes for case identification of celiac disease. Ann Epidemiol. 2013, 23 (3): 136-142. 10.1016/j.annepidem.2012.12.009.
Clark S, Gaeta TJ, Kamarthi GS, Camargo CA: ICD-9-CM coding of emergency department visits for food and insect sting allergy. Ann Epidemiol. 2006, 16 (9): 696-700. 10.1016/j.annepidem.2005.12.003.
Thirumurthi S, Chowdhury R, Richardson P, Abraham NS: Validation of ICD-9-CM diagnostic codes for inflammatory bowel disease among veterans. Dig Dis Sci. 2010, 55 (9): 2592-2598. 10.1007/s10620-009-1074-z.
Birman-Deych E, Waterman AD, Yan Y, Nilasena DS, Radford MJ, Gage BF: Accuracy of ICD-9-CM codes for identifying cardiovascular and stroke risk factors. Med Care. 2005, 43 (5): 480-485. 10.1097/01.mlr.0000160417.39497.a9.
Lindenauer PK, Lagu T, Shieh MS, Pekow PS, Rothberg MB: Association of diagnostic coding with trends in hospitalizations and mortality of patients with pneumonia, 2003–2009. JAMA. 2012, 307 (13): 1405-1413.
Chan M, Lim PL, Chow A, Win MK, Barkham TM: Surveillance for Clostridium difficile infection: ICD-9 coding has poor sensitivity compared to laboratory diagnosis in hospital patients, Singapore. PloS One. 2011, 6 (1): e15603-10.1371/journal.pone.0015603.
Wang MC, Laud PW, Macias M, Nattinger AB: Strengths and limitations of International Classification of Disease Ninth Revision Clinical Modification codes in defining cervical spine surgery. Spine. 2011, 36 (1): E38-E44.
Li X, King C, deGara C, White J, Winget M: Validation of colorectal cancer surgery data from administrative data sources. BMC Med Res Methodol. 2012, 12: 97-10.1186/1471-2288-12-97.
Heinze DT, Morsch ML, Potter BC, Sheffer RE: Medical i2b2 NLP smoking challenge: the a-life system architecture and methodology. J Am Med Inform Assoc. 2008, 15 (1): 40-43.
The pre-publication history for this paper can be accessed here:http://www.biomedcentral.com/1471-2288/14/16/prepub
The authors declare that they have no competing interests.
EJ conceived and designed the paper concept and analysis, drafted and revised the manuscript and approved the final version. SB contributed to the paper concept, assisted with drafting and revising the manuscript and approved the final version. PT contributed to the paper concept, assisted with drafting and revising the manuscript and approved the final version. JP contributed to the paper concept, assisted with drafting and revising the manuscript and approved the final version. JRL contributed to the paper concept, assisted with drafting and revising the manuscript and approved the final version. CPN contributed to the paper concept and analysis, assisted with drafting and revising the manuscript and approved the final version.
About this article
Cite this article
Johnson, E.K., Broder-Fingert, S., Tanpowpong, P. et al. Use of the i2b2 research query tool to conduct a matched case–control clinical research study: advantages, disadvantages and methodological considerations. BMC Med Res Methodol 14, 16 (2014). https://doi.org/10.1186/1471-2288-14-16
- Case–control studies
- Administrative data