Literature DB >> 34882644

Clinical characteristics and prognostic factors for Crohn's disease relapses using natural language processing and machine learning: a pilot study.

Fernando Gomollón1, Javier P Gisbert2, Iván Guerra3, Rocío Plaza4, Ramón Pajares Villarroya5, Luis Moreno Almazán6, Mª Carmen López Martín7, Mercedes Domínguez Antonaya8, María Isabel Vera Mendoza9, Jesús Aparicio10, Vicente Martínez10, Ignacio Tagarro10, Alonso Fernández-Nistal10, Sara Lumbreras11, Claudia Maté12, Carmen Montoto10.   

Abstract

BACKGROUND: The impact of relapses on disease burden in Crohn's disease (CD) warrants searching for predictive factors to anticipate relapses. This requires analysis of large datasets, including elusive free-text annotations from electronic health records. This study aims to describe clinical characteristics and treatment with biologics of CD patients and generate a data-driven predictive model for relapse using natural language processing (NLP) and machine learning (ML).
METHODS: We performed a multicenter, retrospective study using a previously validated corpus of CD patient data from eight hospitals of the Spanish National Healthcare Network from 1 January 2014 to 31 December 2018 using NLP. Predictive models were created with ML algorithms, namely, logistic regression, decision trees, and random forests.
RESULTS: CD phenotype, analyzed in 5938 CD patients, was predominantly inflammatory, and tobacco smoking appeared as a risk factor, confirming previous clinical studies. We also documented treatments, treatment switches, and time to discontinuation in biologics-treated CD patients. We found correlations between CD and patient family history of gastrointestinal neoplasms. Our predictive model ranked 25 000 variables for their potential as risk factors for CD relapse. Of highest relative importance were past relapses and patients' age, as well as leukocyte, hemoglobin, and fibrinogen levels.
CONCLUSION: Through NLP, we identified variables such as smoking as a risk factor and described treatment patterns with biologics in CD patients. CD relapse prediction highlighted the importance of patients' age and some biochemistry values, though it proved highly challenging and merits the assessment of risk factors for relapse in a clinical setting.
Copyright © 2021 The Author(s). Published by Wolters Kluwer Health, Inc.

Entities:  

Mesh:

Substances:

Year:  2022        PMID: 34882644      PMCID: PMC8876385          DOI: 10.1097/MEG.0000000000002317

Source DB:  PubMed          Journal:  Eur J Gastroenterol Hepatol        ISSN: 0954-691X            Impact factor:   2.566


Introduction

Crohn’s disease (CD) is a chronic inflammatory disease of the gastrointestinal tract characterized by alternating periods of remission and relapse [1-3]. Patients with CD experience a variety of symptoms that may include localized abdominal pain, chronic diarrhea, weight loss, fatigue, anxiety, and depression [2-6]. Due to complications associated with progressive bowel damage, individuals with CD can require abdominal resections associated with ileostomy or colostomy, and further surgery for perianal complications, including strictures, fistulas, and abscesses [3,7,8]. Thus, the burden for patients with CD is physical, emotional, and economic [8-12], posing a major challenge for healthcare systems worldwide [9,13]. The etiology of CD is only partially known and complex in nature. Existing evidence indicates that the pathological inflammation of the intestinal tissue in CD is mediated by an aberrant mucosal immune response to enteric bacterial flora [1-3,14]. This response is most likely caused by the interaction between genetic susceptibility and environmental factors (e.g., smoking, drugs such as NSAIDs or antibiotics, and urban environment) [2,3,15,16]. Despite recent efforts toward a better understanding of the pathophysiology and diagnosis of CD, the therapeutic options available for these patients are still far from optimal [17]. The traditional approach to treatment in CD was based on a ‘step-wise’ paradigm [1]; patients with CD are often treated with pharmacological agents such as corticosteroids, immunomodulators, and biologics aimed at treating inflammation and related complications while achieving or maintaining remission [2]. In addition, a key aspect of patient management involves the early identification of upcoming relapses to avoid cumulative tissue damage. Because the clinical situation observed at a given timepoint does not anticipate future disease activity [18], predictive models for CD relapses and other complications must take into account large amounts of heterogeneous data, including but not limited to gut microbiota dynamics [19], blood-based and molecular biomarkers [20,21], and standard laboratory results [22,23]. From a clinical standpoint, complex and relatively low-prevalence diseases, such as CD, are best understood using large, population-based registries with available follow-up information [24,25]; a prominent data source with these characteristics is patients’ electronic health records (EHRs). EHRs are growingly available and contain heterogeneous information resulting from medical examinations, diagnosis, prescriptions, and procedures, as well as laboratory testing [26]. Crucially, most of the information in EHRs is unstructured [27,28], including imaging results or the valuable free-text clinical notes written down by physicians and other health professionals in their routine practice. Recent advances in the realms of natural language processing (NLP) and machine learning (ML) are now enabling access to the free-text, unstructured information in EHRs and have yielded valuable contributions in specific clinical populations [29,30], epidemiology [31], and healthcare resource use [32]. However, the application of these cutting-edge technologies is only beginning to be explored in CD [33-35]. Though several studies use ML models to identify risk factors related to CD or NLP to better define cases, our study is the first to combine NLP and ML for a predictive model of relapse, to the best of our knowledge. In light of the above discussion, here, we used NLP and ML techniques to access and analyze the free-text clinical information contained in the EHRs of a large series of patients with CD in selected hospitals within the Spanish National Healthcare System. Our main objectives were to (1) describe clinical characteristics and current medical management with biologics of patients with CD and (2) generate a data-driven predictive model for the occurrence of relapses.

Methods

Data source

This study was conducted within the scope of the PREMONITION-CD project, sponsored by Takeda and was formally approved by the Madrid Institutional Review Board in May 2018. It was registered in ClinicalTrials.gov with the identifier number NCT03668249. This was a multicenter, retrospective study using data from the EHRs of eight participating tertiary hospitals within the Spanish National Healthcare Network (Fig. 1). Data from the EHRs were collected using NLP for the period between 1 January 2014 and 31 December 2018 (except for one participating site with electronic data available from 2013 to 2017) and were obtained from all available departments (including inpatient hospital, outpatient hospital, and emergency room) for virtually all types of services provided in each participating hospital. The study database was fully anonymized and contained no personal information from patients.
Fig. 1

Study design and timeline. For each patient in the database, the Index Date (i.e., Baseline) was defined as the timepoint when diagnostic criteria for CD is first identified. All available EHRs before January 2014 were handled to extract information regarding the clinical history of patients (dotted line). The follow-up period ranged from the index date to the end of the study period or the last data point available. Data from patients’ EHRs were extracted and organized with the EHRead technology. See the Methods section for further details. CD, Crohn’s disease; EHR, electronic health record.

Study design and timeline. For each patient in the database, the Index Date (i.e., Baseline) was defined as the timepoint when diagnostic criteria for CD is first identified. All available EHRs before January 2014 were handled to extract information regarding the clinical history of patients (dotted line). The follow-up period ranged from the index date to the end of the study period or the last data point available. Data from patients’ EHRs were extracted and organized with the EHRead technology. See the Methods section for further details. CD, Crohn’s disease; EHR, electronic health record.

Study design

As shown in Fig. 1, data are presented in relation to two main time frames, namely Index Date and Follow Up. Index Date (also referred to as Baseline) was defined as the timepoint when diagnostic criteria for CD were first identified; this timepoint could occur before study onset. Analyses were performed for the time window comprising the 5-year post-baseline - this time window coincides with the longest follow-up period (Fig. 1). Additional information about the patient’s medical history was also collected before baseline (i.e., pre-index date; Fig. 1).

Participants

The study sample included pediatric and adult patients in the source population with a documented diagnosis of CD. Patients were identified based on clinical diagnosis as included in the unstructured, free-text information in the EHRs.

EHRead

To extract and analyze the unstructured, free-text information in patients’ EHRs, we used Savana’s EHRead technology [36-40]. Based on NLP, ML, and deep learning methodologies, this technology enables the extraction of information from all types of EHRs and the subsequent normalization of the extracted clinical entities to a unique terminology. Savana’s custom body of terminology was originally built from SNOMED CT and includes more than 400 000 medical concepts, acronyms, and laboratory parameters amassed over the course of 5 years of free-text mining. The terminology entities detected in the patients’ records are later classified based on sections contained in the EHRs (e.g., demographics, medical history, medications, diagnoses, etc.), hospital service where the data were originally captured, and other clinical specifications. The extent to which EHRead correctly identified records that mention CD and predefined associated variables (i.e., CD-related relapse and ‘vedolizumab’) was calculated according to previously published procedures [41,42]. Briefly, given the lack of clinically coded data in Spanish, our evaluation required the development of an annotated corpus, otherwise known as the ‘gold standard’. The gold standard consists of a series of documents marked up by expert physicians with any metadata tag related to CD and CD-related variables. This corpus is compared against EHRead’s output, and performance is calculated in terms of the standard metrics of accuracy (P), recall (R), and their harmonic mean F-score. For the evaluated clinical terms, all F-scores were above 0.80, thus indicating that CD and associated variables were accurately identified in patients’ EHRs.

Data analyses

All categorical variables (e.g., medication use, surgical procedures) are shown in frequency tables, whereas continuous variables (e.g., age) are described using summary tables that include the mean, SD, median, minimum, maximum, and quartiles for each variable. Given the descriptive nature of the present study, no tests were performed to assess possible statistically significant differences in the distribution of categorical or numerical variables.

Predictive model

All patients included in the descriptive study were also included in the predictive one, with a random 70% assigned to training and 30% to validation. The results reported correspond to the performance of the fitted models on this validation set. The models aimed at identifying the clinical factors that prelude future relapses in patients with CD were built as follows.

Variables

In all cases, the dependent variables considered were the occurrence/absence of relapses (i.e., binary variable). Because relapses are not always registered as such in EHRs, we also inferred relapses from hospitalizations that coincided with drug administration associated with CD relapse. Tens of thousands of independent variables were used to train the predictive model. These variables include all available information captured in EHRs (e.g., family records, medical history, surgeries, treatments, hospitalizations, etc.), with special focus on previously used variables in CD studies (e.g., substance use, phenotype, age at diagnosis, and additional information about CD-related complications).

Temporality

The models aimed at predicting the occurrence of relapses in the near future; we considered a 3-month time window for all models.

Machine learning

Predictive models were generated using three different algorithms, namely logistic regression, decision trees, and random forests. Logistic regression. In this model, the logarithm addressing the odds for the occurrence of a relapse/complication is a linear combination of the independent variables. In this case, the weights of the regression reflect the relative importance of each independent variable in predicting the desired outcome. We applied this model to our data to assess the importance of the variables when considered independently. Decision trees. This algorithm was used to classify patients according to whether they will experience a relapse/complication or not, based on their individual characteristics and medical history. Classification trees can show interactions between variables and enable the identification of any important subgroups that could determine disease prognosis. Random forests. Unlike classification trees, which apply the learning algorithm to the full dataset, random forests focus on a random sample of the data. Instead of attempting to fit the data into one single large ‘tree’, they fit a very large number of trees on random samples of the data (hence the name random forest). Random forests efficiently deal with issues such as collinearity of variables, can uncover relationships or patterns buried in large datasets, and also provide intuitive measures regarding the relative importance of the variables in predicting disease outcomes.

Model performance

To evaluate the predictive power of the models, we provide standard measures of performance, including the following: The confusion matrix shows, for each row, the number of positives (i.e., presence of relapse) and negatives (i.e., absence of relapse) in our database. In this matrix, columns represent the positives and negatives that were predicted by the model. The elements in the main diagonal show the elements that were correctly predicted, while the off-diagonal terms show the false negatives (element 2,1) and false positives (1,2). Precision: Proportion of true positives over positives obtained by the model, calculated as the fraction of patients that our model correctly identified to have an upcoming relapse over the total number of patients that the model predicted to have a relapse or complication. Recall: Fraction of patients that the model correctly identified to have a relapse over the total number of patients that actually experienced a relapse. Accuracy: Proportion of correct predictions calculated as the number of true positives and true negatives divided by the total amount of predictions. F-score: Used to account for a possible imbalance between precision and recall; it is the harmonic mean of these two measures.

Ethical considerations

The present study was classified as a ‘post-authorization study’ (EPA-OD) by the Spanish Agency of Medicines and Health Products and was approved by the regional institutional review board. This study was conducted in compliance with legal and regulatory requirements and followed generally accepted research practices described in the ICH Guideline for Good Clinical Practice, the Helsinki declaration in its latest edition, Good Pharmacoepidemiology Practices, and applicable local regulations. Because we collected data retrospectively and handled all clinical information in an aggregate, anonymized, and irreversibly dissociated manner, regulations regarding informed patient consent do not apply to the present study.

Results

EHRs from 2 242 730 patients were processed from eight participating hospitals. We identified a total of 5938 patients with CD; 43.4% (n = 2575) of patients had already been diagnosed at the onset of the study (i.e., before the index date), whereas 56.6% of patients (n = 3363) were newly diagnosed within the study period. Patients’ demographics are shown in Table 1. Notably, nearly 40% (n = 1364) of patients were smokers, and 29% (n = 1010) were former smokers (Table 1). However, information about tobacco use was only collected in 58% of the analyzed EHRs at baseline, and only 15% of the documents contained information about alcohol use.
Table 1

Demographics, clinical characteristics, and medication use

N = 5938
Demographics
Sex, n (%)
 Female3034 (51.1)
 Male2904 (48.9)
Age (years)a
N5934
 Mean (SD)48.3 (18.3)
 Median46.3
 (Q1-Q3)(35.0-61.0)
 Adults (≥18 years old), n (%)5782 (97.37)
 Children (<18 years old), n (%)152 (2.56)
 Missing4
Substance useb
Tobacco use, n (%)3465
 Ex1010 (29.15)
 No1091 (31.5)
 Yes1364 (39.36)
 Missing2473
Alcohol use, n (%)893
 Ex81 (9.1)
 No324 (36.3)
 Yes492 (55.1)
 Missing5045
Disease characteristicsb,c
 Location, n (%)
  L1 ileal913 (54.0)
  L2 colonic199 (11.8)
  L3 ileocolonic507 (30.0)
  L4 isolated upper diseased73 (4.3)
  Missing4246
 Behavior, n (%)
  B1 nonstricturing, nonpenetrating: inflammatory589 (48.8)
  B2 stricturing356 (29.5)
  B3 penetrating262 (21.7)
  Missing4731

Age at registered Crohn’s disease diagnosis.

Subjects with missing values are not included in percentage calculations.

Based on the Montreal Classification.

L4 is a modifier that can be added to L1–L3 when concomitant upper gastrointestinal disease is present.

Demographics, clinical characteristics, and medication use Age at registered Crohn’s disease diagnosis. Subjects with missing values are not included in percentage calculations. Based on the Montreal Classification. L4 is a modifier that can be added to L1–L3 when concomitant upper gastrointestinal disease is present. Using the Montreal Classification [43] as a reference, we analyzed the location and behavior of CD at baseline (Table 1). Among patients with available information (approximately 30% of total patients), the most common location was ileal (L1), in 54% (n/n = 913/1692) of patients. Regarding disease behavior, nearly half of patients (48.8%; n/n = 589/1207) suffered from inflammatory (nonstricturing, nonpenetrating) CD (B1). Regarding family history, our analyses revealed that this variable was poorly registered in the EHRs, as it was only available for 34% of the patients (n = 2042). The most common conditions (up to 37.1%; n = 757) were related to neoplasms (including cysts and polyps), of which the most frequent were malignant tumor of the large intestine, neoplasm of the large intestine, carcinoma of the stomach, and malignant tumor of the breast. Gastrointestinal and hepatobiliary disorders were also highly prevalent (27.3%; n = 557), where inflammatory disorder of the digestive tract and disorder of the lower gastrointestinal tract were predominant (Table 2).
Table 2

Family history

N (%)a
Crohn’s disease401 (6.8)
Other medical conditions and diseases
 Blood and lymphatic system disorders87 (1.5)
 Cardiovascular disorders421 (7.1)
  Disorder of cardiovascular system151 (2.5)
  Myocardial infarction76 (1.3)
  Structural disorder of heart67 (1.1)
  Cerebrovascular disease45 (0.8)
  Others189 (3.2)
 Congenital, familial, and genetic disorders31 (0.5)
 Ear and labyrinth disorders12 (0.2)
 Endocrine disorders339 (5.7)
  Diabetes mellitus148 (2.5)
  Disorder of endocrine system108 (1.8)
  Disorder of thyroid gland63 (1.1)
  Others79 (1.3)
 Eye disorders69 (1.2)
 Gastrointestinal and hepatobiliary disorders557 (9.4)
  Inflammatory disorder of digestive tract136 (2.3)
  Disorder of lower gastrointestinal tract97 (1.6)
  Colitis75 (1.3)
  Viral hepatitis54 (0.9)
  Disorder of rectum34 (0.6)
  Others293 (4.9)
 General disorders22 (0.4)
 Immune system disorders88 (1.5)
 Infections and infestations82 (1.4)
 Injury, poisoning, and procedural complications13 (0.2)
 Metabolism and nutrition disorders130 (2.2)
  Disorder of lipoprotein and/or lipid metabolism35 (0.6)
  Others103 (1.7)
 Musculoskeletal and connective tissue disorders183 (3.1)
 Neoplasms, benign (incl. cysts and polyps)109 (1.8)
 Neoplasms, malignant (incl. cysts and polyps)457 (7.7)
  Malignant tumor of breast190 (3.2)
  Malignant neoplasm of intraabdominal organ47 (0.8)
  Primary malignant neoplasm of colon33 (0.6)
  Neoplastic disease32 (0.5)
  Others250 (4.2)
 Neoplasms, unspecified (incl. cysts and polyps)757 (12.7)
  Malignant tumor of large intestine251 (4.2)
  Neoplasm of large intestine137 (2.3)
  Carcinoma of stomach107 (1.8)
  Neoplasm of lung96 (1.6)
  Neoplasm of breast68 (1.1)
  Neoplasm of prostate42 (0.7)
  Neoplasm of ovary36 (0.6)
  Others286 (4.8)
 Nervous system disorders196 (3.3)
  Cerebral degeneration presenting primarily with dementia41 (0.7)
  Others158 (2.7)
 Pregnancy, puerperium, and perinatal conditions37 (0.6)
 Psychiatric disorders72 (1.2)
 Renal and urinary disorders56 (0.9)
 Reproductive system and breast disorders50 (0.8)
 Respiratory, thoracic, and mediastinal disorders171 (2.9)
  Bronchial hyperreactivity/hyperresponsiveness33 (0.6)
  Others146 (2.5)
 Skin and subcutaneous tissue disorders162 (2.7)
  Acquired disorder of keratinization52 (0.9)
  Others116 (2)
 Social circumstances5 (0.1)
 Surgical and medical procedures13 (0.2)

Percentage based on the total number of patients. All medical terms were obtained from the standardized SNOMED CT glossary.

Family history Percentage based on the total number of patients. All medical terms were obtained from the standardized SNOMED CT glossary.

Management and treatment of Crohn’s disease

Table 3 summarizes the number of patients assigned to different procedures and surgical interventions aimed at treating CD during the follow-up period. Colonoscopy and esophagogastroduodenoscopy were the most frequent types of endoscopy procedures in 28.7% (n = 1705) and 11.3% (n = 673) of patients, respectively. A total of 43.1% of patients (n = 2558) underwent imaging procedures, including diagnostic radiography of abdomen (31.7%; n = 1883), computed tomography of abdomen (18.0%; n = 1068), and ultrasonography of abdomen (16.4%; n = 975). Surgical interventions were documented in 38.1% of patients (n = 2260). The most common surgeries during follow up were intestinal structure excision, colectomy, and gastrointestinal and digestive anastomosis.
Table 3

Procedures and surgical interventions during follow up

N (%)a
Endoscopy2161 (36.4)
 Colonoscopy1705 (28.7)
 Esophagogastroduodenoscopy673 (11.3)
 Rectoscopy112 (1.9)
 Rectosigmoidoscopy72 (1.2)
 Missing3777
Imaging2558 (43.1)
 Diagnostic radiography of abdomen1883 (31.7)
 CT of abdomen1068 (18.0)
 Ultrasonography of abdomen975 (16.4)
 CT of abdomen and pelvis744 (12.5)
 MRI of abdomen682 (11.5)
 Magnetic resonance enterography598 (10.1)
 MRI of abdomen and pelvis24 (0.4)
 Barium enema18 (0.3)
 Missing3380
Surgical interventions2260 (38.1)
 Excision1550 (26.1)
 Excision of intestinal structure933 (15.7)
 Colectomy585 (9.9)
 Gastrointestinal and digestive anastomosis561 (9.4)
 Perianal region operations122 (2.1)
 Colostomy138 (2.3)
 Ileostomy operation183 (3.1)
 Proctocolectomy53 (0.9)
 Anal fistulectomy32 (0.5)
 Small intestinal strictureplasty9 (0.2)
 Missing3678

CT, computed tomography.

Percentage based on the total number of patients.

Procedures and surgical interventions during follow up CT, computed tomography. Percentage based on the total number of patients. Regarding pharmacological management of CD, this study focused on the use of biologics. These analyses were performed on the subpopulation of biologics-treated patients in our database (n = 443). Specifically, we selected patients undergoing treatment with a biologic during the last year of the study period (i.e., 2018) and analyzed their therapeutical history with biologics since baseline. This methodology allowed us to obtain high-quality data in terms of quantity, homogeneity, and recency. In addition, we anticipated that the probability of receiving a prescription for any biologic would increase with time since diagnosis. Figure S2, Supplemental digital content 1, http://links.lww.com/EJGH/A730 and Table 4 display the sequencing patterns and flow of treatment with biologics across treatment lines. About half of the patients (46.7%; n/n = 207/443) in the first line (1L) were treated with adalimumab, followed by infliximab (43.3%; n/n = 192/443). Similarly, the percentage of patients treated with adalimumab in the second line (2L) was maintained (45.8%; n/n = 65/142), but the proportion of patients treated with infliximab decreased to 23.2% (n/n = 33/142). Most of the patients who switched treatment from adalimumab in the 1L changed to infliximab, and vice versa. Finally, time to treatment discontinuation was also evaluated in this subpopulation of patients treated with biologics (Figure S1, Supplemental digital content 1, http://links.lww.com/EJGH/A730).
Table 4

Biologics treatment by treatment line during the last year of the follow-up period

LineTreatmentN = 443; N (%)a
1L (N = 443)Adalimumab207 (46.7)
Infliximab192 (43.3)
Vedolizumab26 (5.9)
Ustekinumab14 (3.2)
Certolizumab pegol3 (0.7)
Natalizumab1 (0.2)
2L (N = 142)Adalimumab65 (45.8)
Infliximab33 (23.2)
Ustekinumab26 (18.3)
Vedolizumab14 (9.8)
Certolizumab pegol4 (2.8)
NAb301
3L (N = 54)Ustekinumab21 (38.8)
Vedolizumab20 (37)
Infliximab5 (9.3)
Adalimumab4 (7.4)
Certolizumab pegol4 (7.4)
NAb389
4L (N = 22)Ustekinumab11 (50)
Vedolizumab8 (36.4)
Infliximab2 (9.1)
Adalimumab1 (4.5)
NAb421
5L (N = 4)Vedolizumab2 (50)
Ustekinumab1 (25)
Certolizumab pegol1 (25)
NAb439

Percentage based on the total number of biologics-treated patients during the selected window.

NA = not available, representing either patients who (1) continued treatment with the same biologic until the end of the study period, (2) discontinued the treatment and did not receive any other biologic, or (3) information regarding biologic treatment was not available in the electronic health records.

Biologics treatment by treatment line during the last year of the follow-up period Percentage based on the total number of biologics-treated patients during the selected window. NA = not available, representing either patients who (1) continued treatment with the same biologic until the end of the study period, (2) discontinued the treatment and did not receive any other biologic, or (3) information regarding biologic treatment was not available in the electronic health records.

Predicting relapses in Crohn’s disease

As described above, one of the objectives of the study was to forecast whether a patient would suffer a relapse in a 3-month period. The percentage of patients with documented relapses after baseline until the end of the study period was 23.5% (n = 1393). The predictive models were adjusted to the data of 5938 patients, 19% of which suffered at least one relapse in the following 3 months from baseline. The number of variables that were included was over 25 000; the categories of variables included in the predictive models are shown in Table S1, Supplemental digital content 1, http://links.lww.com/EJGH/A730. The results of the predictive models are presented in Table 5. For all models tested, the false-positive and false-negative rates were approximately 50%, and accuracy was roughly 80%. As can be seen, the performance of the different ML models (logistic regression, decision trees, or random forests) was very similar. The relative importance for the variables in the random forest model can be found in Table 6, representing the 25 variables that were ranked as most important by the algorithm (a full list in Table S2, Supplemental digital content 1, http://links.lww.com/EJGH/A730). Those with the highest relative importance are past relapses and patients’ age, as well as leukocyte, hemoglobin, and fibrinogen levels. The clinical significance of the obtained metrics and selected variables is discussed below.
Table 5

Predictive model for relapse risks at different timepoints

AccuracyConfusion matrixaPrecisionRecallF-scoreAUC
Decision tree, 3 months0.8121912810.500.500.500.84
288291
Logistic regression, 3 months0.8222132590.500.520.510.85
287292
Random forest, 3 months0.8422951770.460.600.520.88
309270
Random forest, 6 months0.8421841890.560.670.610.89
301377
Random forest, 1 year0.8320891860.590.710.650.90
318458
Random forest, 2 years0.8319842300.670.710.690.91
275562

AUC, area under the curve.

In a confusion matrix, the rows reflect the number of positives (i.e., presence of relapse) and negatives (i.e., absence of relapse), whereas columns indicate the positives and negatives that were predicted by the model. The elements in the main diagonal show the elements that were correctly predicted; off-diagonal terms show the false negatives (element 2,1) and false positives (1,2). See Methods section for further details regarding the calculation of each performance metric. See Table S2, Supplemental digital content 1, http://links.lww.com/EJGH/A730 for the relative importance of the most relevant variables included in the predictive model.

Table 6

Relative importance of the 25 most relevant variables included in the predictive model for CD-related relapse

VariableRelative importance
Cumulative past flare0.358901
Age0.029441
Difference between event value and basal value leukocytes0.023361
Difference between event value and basal value hemoglobin0.010256
Increment respect to maximum normal value fibrinogen0.009158
Disposition events - Past admissions0.008597
Montreal Scale0.008082
Proton pump inhibitors - A02BC0.007368
Substance use findings (habits) - TOBACCO USE0.006733
Acetic acid derivatives and related substances - M01AB0.006705
Belladonna and derivatives in combination with analgesics - A03DB0.006624
Evaluation procedures - CT of chest and abdomen0.005912
methylprednisolone - H02AB040.005684
ciprofloxacin - J01MA020.005551
prednisone - H02AB070.005274
Evaluation procedures - Source-specific culture0.004973
Diagnostic procedures - Laboratory procedure0.004925
Medical history - Infection due to Enterobacteriaceae0.004657
Difference between event value and basal value CRP - 480.004641
Sex0.004507
mesalazine -A07EC020.004463
Increment respect to maximum normal value leukocytes - 90.004463
Evaluation procedures - Imaging of abdomen0.004428
Increment respect to maximum normal value CRP - 480.004324
Evaluation procedures - Blood gas measurement0.004311

CD, Crohn’s disease; CRP, C-reactive protein.

Predictive model for relapse risks at different timepoints AUC, area under the curve. In a confusion matrix, the rows reflect the number of positives (i.e., presence of relapse) and negatives (i.e., absence of relapse), whereas columns indicate the positives and negatives that were predicted by the model. The elements in the main diagonal show the elements that were correctly predicted; off-diagonal terms show the false negatives (element 2,1) and false positives (1,2). See Methods section for further details regarding the calculation of each performance metric. See Table S2, Supplemental digital content 1, http://links.lww.com/EJGH/A730 for the relative importance of the most relevant variables included in the predictive model. Relative importance of the 25 most relevant variables included in the predictive model for CD-related relapse CD, Crohn’s disease; CRP, C-reactive protein.

Discussion

Using NLP and ML to extract and analyze the clinical information captured in CD patients’ EHRs, our goals were to (1) describe clinical characteristics and current medical management with biologics of patients with CD and (2) generate a data-driven predictive model for the occurrence of relapses. Our results justify the use of this technology and data source to further explore the clinical features of CD, yet reflect some important caveats to overcome in future research. Though numerous studies use big data analytics to assess coded or structured EHRs from CD patients, few instances of NLP-driven approaches from free-text EHRs or machine learning-driven predictive models are found for CD [44]. Recently, NLP was used in a large cohort of CD patients to assess biologic use and surgery rates [33]. Several previous studies have used NLP to improve the identification and case definition of patients with inflammatory bowel disease, separating them efficiently as ulcerative colitis or CD [35,45]. ML has also produced predictive models for risk factors regarding CD-related surgery [46] or azathioprine nonadherence in Chinese CD patients [47]. However, to the best of our knowledge, our study is the first to assess the predictability of relapse occurrence in CD. Our study included nearly 6000 patients; a sample size substantially larger than most studies in CD to date and in a dataset not described previously, namely, Spanish patients [48,49]. Notably, the clinical characteristics of patients with CD reported here were in line with results using traditional methods [48,49], validating the use of our technology. Here, disease behavior (phenotype) was defined mostly as an inflammatory disease (i.e., nonstricturing and nonpenetrating disease) [48]. Regarding risk factors for CD, cigarette smoking is associated with CD onset, and postdiagnosis smoking leads to worse disease prognosis, as previously described [48,50,51]. In the present study, we found that only 30% of patients with CD were either nonsmokers or former smokers, though tobacco use information was missing for 40% of patients. Although CD diagnosis has been associated with family medical history, only about 15% of patients with CD have family members with the disease [52,53]. In our sample, of the patients with information about family history, about 7% of patients had a documented family history of CD. Interestingly, we found a high incidence of gastrointestinal tumors as well as other gastrointestinal disorders in patients’ family history, suggesting that they may represent a risk factor for developing CD. Treatment with biologics represents an important advancement in the management of patients with CD [54]. Here, we were able to document the treatment, treatment switches, and time to discontinuation in biologics-treated CD patients during a controlled, short period of time, though future research should aim at identifying the relationship between effective disease management across treatment lines. As stated above, surgery is fairly common among patients with CD [48]. Previous studies reported that the probability of surgical resection after 1, 5, and 10 years from diagnosis is 9-15%, 25-30%, and 34-52%, respectively [48]. Nearly 70% of patients in our study were newly diagnosed within the 5-year study period. The remaining 30% had a disease evolution of more than 5 years (i.e., they were diagnosed before study onset). Thus, our results fall within the expected ranges, as around 38% of patients experienced a surgical procedure from baseline to the end of the study. One of the main goals of this study was to identify the demographic and clinical variables that predict the occurrence of CD-related relapses in a time window of 3 months. Although critical to patient management [55], identifying risk factors that prelude CD-related complications or impact disease onset and evolution is still challenging [51]. Though we analyzed thousands of variables with our big data approach, the data captured in EHRs during routine clinical practice showed substantial missing information and inconsistencies that affected the clinical impact of the results. Overall and across models, the metrics obtained revealed that relapses can be predicted with an accuracy of over 80%, but with a false-positive/false-negative rate of around 50%. Although the performance metrics of the predictive models were not optimal, some valuable insights were obtained regarding the relative importance of variables associated with CD relapses, namely age, past relapses and complications, and tobacco/substance abuse. In fact, a decision tree reflects the importance of cumulative relapses, obesity, imaging of abdomen or intake of belladonna and its derivatives in combination with analgesics in predicting a further relapse in a 3-month period (Figure S3, Supplemental digital content 1, http://links.lww.com/EJGH/A730). The highest-ranked variables in the model also included medical history, past surgeries, and laboratory results (i.e., fecal and blood tests), as disease-related treatments. Furthermore, the model identified problems related to malabsorption, such as some types of anemia (treated with iron bivalent preparations) and fistulization-related variables (e.g., urinary tract infection, genital infection, pain in male genitalia, and incontinence) as relevant predictors. Our predictive model also identified some unexpected factors, including problems in the respiratory tract (identified by the variable respiratory infection). The involvement of respiratory infections in CD prognosis is especially intriguing given that pulmonary manifestations with unknown origin have been documented in intestinal inflammatory diseases such as CD [56].

Strengths and limitations

This study represents one of the first attempts to combine NLP and ML to explore the free-text, unstructured information from EHRs in a large set of CD patients. NLP-based EHR studies allow for collection of large amounts of data, longitudinal access to patients’ information, and exploration of unknown associations between clinical variables, which is not feasible with more traditional research methods. These advantages become especially relevant when studying complex diseases with low prevalence such as CD. The results and conclusions of the present study should be interpreted in light of the following limitations. First, this study is based on the secondary use of data captured in patients’ records. Therefore, data quality depends on physicians’ criteria to jot down relevant patient information. EHRs of patients diagnosed before the study period might lack crucial demographic or clinical information previously recorded on paper. Missing and inaccurate information may have also impacted some key variables, as well as the metrics and clinical relevance of the predictive model for CD-related relapses. Second, unlike the a priori-designed data collection in classical trials, this was a data-driven, retrospective study, meaning we reuse existing clinical information. Also, we found a significant degree of variability across patients’ EHRs regarding the quality and quantity of available information, especially temporal heterogeneity. Third, drug availability during the study period should be considered regarding exposure to biologics, that is, dates of drug approval during the study period and the resulting limitations on prescription policies by site. Lastly, the technology used to extract and analyze the data is still under development. Undoubtedly, future studies will benefit from rapid technological advancements in the NLP system used, and from simultaneous analyses of unstructured and structured sources of information, improving the predicting power of the models.

Conclusion

When applied to patients’ EHRs, NLP and ML hold great potential to offer valuable insights into CD. In the present study, we were able to identify well-known and novel clinical characteristics in a large series of CD patients by exclusively analyzing the unstructured, free text captured in physicians’ notes during routine clinical practice. CD is a very complex disease and predicting relapses or other complications is highly challenging. Therefore, the risk factors identified in our predictive model, which are data-driven hypotheses, should be further explored and validated in controlled trials and in clinical settings. Clinical notes, as a data source, can provide key clinical information that is not found elsewhere - hence the importance of including full medical records in future studies to improve the quality of data analysis. Raising awareness among healthcare professionals on the importance of medical record completeness is crucial for improving patient care, conducting research, and managing healthcare resources [57-60].

Acknowledgements

We thank Laura Yebes, Carlos Del Río-Bermúdez, and Clara L. Oeste, Medical Writers at SAVANA, for writing and editing the manuscript, as well as preparing the figures. This study was sponsored by Takeda Farmacéutica España, S.A. The Premonition-CD Study Group includes the following investigators: Carlos Castaño from HU Rey Juan Carlos, Madrid, Spain; Ángel Ponferrada Díaz from HU Infanta Leonor, Madrid, Spain; María Chaparro and María José Casanova from HU de La Princesa, Madrid, Spain; Felipe Ramos Zabala from HM Hospitales, Madrid, Spain; Almudena Calvache from HU Infanta Elena, Madrid, Spain; Fernando Bermejo from HU de Fuenlabrada, Madrid, Spain; Noemí Manceñido from HU Infanta Sofía, Madrid, Spain; Marta Calvo Moya from HU Puerta de Hierro, Majadahonda, Madrid, Spain.

Conflicts of interest

Dr. F. Gomollón has received educational grants from Janssen, MSD, Takeda, and Abbvie, and nonpersonal investigation grants from MSD, Janssen, Abbvie, Takeda, and Tilllots. Dr. J.P. Gisbert has served as a speaker, a consultant, and advisory member for, or has received research funding from, MSD, Abbvie, Hospira, Pfizer, Kern Pharma, Biogen, Takeda, Janssen, Roche, Sandoz, Celgene, Ferring, Faes Farma, Shire Pharmaceuticals, Dr. Falk Pharma, Tillotts Pharma, Chiesi, Casen Fleet, Gebro Pharma, Otsuka Pharmaceutical, and Vifor Pharma. Dr. I. Guerra has served as a speaker, a consultant, and advisory member for, or has received research funding from, Kern Pharma, Takeda and Janssen. Dr. R. Plaza has served as a speaker for Takeda and Janssen. Dr. M.I. Vera has served as a speaker, consultant, and advisory member for, or has received funding from, MSD, Abbvie, Pfizer, Ferring, Shire Pharmaceuticals, Takeda and Jannsen. Jesús Aparicio, Vicente Martínez, Ignacio Tagarro, Alonso Fernández-Nistal, and Carmen Montoto are employees at Takeda Farmacéutica España S.A. S. Lumbreras is an employee at Universidad Pontificia Comillas, Madrid. Dr. C. Maté is an employee at Medsavana S.L. The remaining authors have no conflicts of interest to declare.
  59 in total

1.  Correlation between levels of C-reactive protein and clinical activity in Crohn's disease.

Authors:  S Karoui; S Ouerdiane; M Serghini; T Jomni; L Kallel; M Fekih; J Boubaker; A Filali
Journal:  Dig Liver Dis       Date:  2007-09-21       Impact factor: 4.088

2.  High Vitamin D-Binding Protein Concentration, Low Albumin, and Mode of Remission Predict Relapse in Crohn's Disease.

Authors:  Simon Ghaly; Kevin Murray; Angela Baird; Katherine Martin; Ruth Prosser; Justine Mill; Lisa A Simms; Prue H Hart; Graham Radford-Smith; Peter A Bampton; Ian C Lawrance
Journal:  Inflamm Bowel Dis       Date:  2016-10       Impact factor: 5.325

3.  The inevitable application of big data to health care.

Authors:  Travis B Murdoch; Allan S Detsky
Journal:  JAMA       Date:  2013-04-03       Impact factor: 56.272

4.  Epidemiology of Lyme disease in Pennsylvania 2006-2014 using electronic health records.

Authors:  Katherine A Moon; Jonathan Pollak; Annemarie G Hirsch; John N Aucott; Cara Nordberg; Christopher D Heaney; Brian S Schwartz
Journal:  Ticks Tick Borne Dis       Date:  2018-10-26       Impact factor: 3.744

5.  Blood-based biomarkers used to predict disease activity in Crohn's disease and ulcerative colitis.

Authors:  Robert Burakoff; Vikas Pabby; Louisa Onyewadume; Robert Odze; Cheryl Adackapara; Wei Wang; Sonia Friedman; Matthew Hamilton; Joshua Korzenik; Jonathan Levine; Frederick Makrauer; Changming Cheng; Hai Choo Smith; Choong-Chin Liew; Samuel Chao
Journal:  Inflamm Bowel Dis       Date:  2015-05       Impact factor: 5.325

6.  Clinical Management of COPD in a Real-World Setting. A Big Data Analysis.

Authors:  José Luis Izquierdo; Diego Morena; Yolanda González; José Manuel Paredero; Bernardino Pérez; Desirée Graziani; Matilde Gutiérrez; José Miguel Rodríguez
Journal:  Arch Bronconeumol (Engl Ed)       Date:  2020-02-22       Impact factor: 4.872

7.  Trends in the Incidence, Prevalence, and Survival Outcomes in Patients With Neuroendocrine Tumors in the United States.

Authors:  Arvind Dasari; Chan Shen; Daniel Halperin; Bo Zhao; Shouhao Zhou; Ying Xu; Tina Shih; James C Yao
Journal:  JAMA Oncol       Date:  2017-10-01       Impact factor: 31.777

Review 8.  The relationship between urban environment and the inflammatory bowel diseases: a systematic review and meta-analysis.

Authors:  Ing Shian Soon; Natalie A Molodecky; Doreen M Rabi; William A Ghali; Herman W Barkema; Gilaad G Kaplan
Journal:  BMC Gastroenterol       Date:  2012-05-24       Impact factor: 3.067

9.  Machine learning for patient risk stratification for acute respiratory distress syndrome.

Authors:  Daniel Zeiberg; Tejas Prahlad; Brahmajee K Nallamothu; Theodore J Iwashyna; Jenna Wiens; Michael W Sjoding
Journal:  PLoS One       Date:  2019-03-28       Impact factor: 3.240

10.  Applying Machine Learning Models to Predict Medication Nonadherence in Crohn's Disease Maintenance Therapy.

Authors:  Lei Wang; Rong Fan; Chen Zhang; Liwen Hong; Tianyu Zhang; Ying Chen; Kai Liu; Zhengting Wang; Jie Zhong
Journal:  Patient Prefer Adherence       Date:  2020-06-03       Impact factor: 2.711

View more
  1 in total

1.  Assessment of medical management in Coronary Type 2 Diabetic patients with previous percutaneous coronary intervention in Spain: A retrospective analysis of electronic health records using Natural Language Processing.

Authors:  Carlos González-Juanatey; Manuel Anguita-Sá Nchez; Vivencio Barrios; Iván Núñez-Gil; Juan Josá Gómez-Doblas; Xavier García-Moll; Carlos Lafuente-Gormaz; María Jesús Rollán-Gómez; Vicente Peral-Disdie; Luis Martínez-Dolz; Miguel Rodríguez-Santamarta; Xavier Viñolas-Prat; Toni Soriano-Colomé; Roberto Muñoz-Aguilera; Ignacio Plaza; Alejandro Curcio-Ruigómez; Ernesto Orts-Soler; Javier Segovia; Claudia Maté; Ángel Cequier
Journal:  PLoS One       Date:  2022-02-10       Impact factor: 3.240

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.