JMIR Medical Informatics (Feb 2022)

Evaluation of Natural Language Processing for the Identification of Crohn Disease–Related Variables in Spanish Electronic Health Records: A Validation Study for the PREMONITION-CD Project

  • Carmen Montoto,
  • Javier P Gisbert,
  • Iván Guerra,
  • Rocío Plaza,
  • Ramón Pajares Villarroya,
  • Luis Moreno Almazán,
  • María Del Carmen López Martín,
  • Mercedes Domínguez Antonaya,
  • Isabel Vera Mendoza,
  • Jesús Aparicio,
  • Vicente Martínez,
  • Ignacio Tagarro,
  • Alonso Fernandez-Nistal,
  • Lea Canales,
  • Sebastian Menke,
  • Fernando Gomollón

DOI
https://doi.org/10.2196/30345
Journal volume & issue
Vol. 10, no. 2
p. e30345

Abstract

Read online

BackgroundThe exploration of clinically relevant information in the free text of electronic health records (EHRs) holds the potential to positively impact clinical practice as well as knowledge regarding Crohn disease (CD), an inflammatory bowel disease that may affect any segment of the gastrointestinal tract. The EHRead technology, a clinical natural language processing (cNLP) system, was designed to detect and extract clinical information from narratives in the clinical notes contained in EHRs. ObjectiveThe aim of this study is to validate the performance of the EHRead technology in identifying information of patients with CD. MethodsWe used the EHRead technology to explore and extract CD-related clinical information from EHRs. To validate this tool, we compared the output of the EHRead technology with a manually curated gold standard to assess the quality of our cNLP system in detecting records containing any reference to CD and its related variables. ResultsThe validation metrics for the main variable (CD) were a precision of 0.88, a recall of 0.98, and an F1 score of 0.93. Regarding the secondary variables, we obtained a precision of 0.91, a recall of 0.71, and an F1 score of 0.80 for CD flare, while for the variable vedolizumab (treatment), a precision, recall, and F1 score of 0.86, 0.94, and 0.90 were obtained, respectively. ConclusionsThis evaluation demonstrates the ability of the EHRead technology to identify patients with CD and their related variables from the free text of EHRs. To the best of our knowledge, this study is the first to use a cNLP system for the identification of CD in EHRs written in Spanish.