An architecture of open-source tools to combine textual information extraction, faceted search and information visualisation

Daniel Sonntag, Hans-Jürgen Profitlich

Abstract

Electronic Health Records (EHRs) contain a wealth of information split between structured data and unstructured clinical notes. This paper presents an open-source architecture that bridges these silos using UIMA-based information extraction, Solr-powered faceted search, and interactive temporal visualizations. By integrating these components into a unified "Physician Workbench," the system enables clinicians to efficiently identify patient cohorts and analyze complex medical histories. Evaluation across nephrology and mammography datasets demonstrates significant reductions in search time and high system responsiveness.

Introduction

Electronic Health Records (EHRs) are a goldmine for clinical research, yet they are notoriously difficult to mine due to data being split into structured tables (e.g., lab values, demographics) and unstructured text (e.g., clinical reports, discharge summaries). Standard database tools struggle to query "hidden" information in text, such as nuanced symptom descriptions or patient refusals of medication. Furthermore, correlating events across decades of medical history manually is labor-intensive. This research addresses these challenges by building a flexible, reusable system that makes both data types searchable and visually interpretable.

The system was evaluated using two distinct medical use cases:

  • Nephrology (TBase): Anonymized data from Charité Berlin involving 185 patients, including 830,000 lab values and 5,000 unstructured German text documents.
  • Mammography (UK Erlangen): Data from a Radiology Information System (RIS) containing approximately 100,000 lines of patient records, focusing on BIRADS classifications.

Methods

The proposed architecture is built entirely on open-source tools and consists of three primary modules integrated into a decision support workbench.

The integrated architecture combining UIMA-based information extraction, Solr faceted search, and interactive visualization.
  1. Information Extraction (IE) via UIMA: The system utilizes the Unstructured Information Management Architecture (UIMA) to process clinical notes. A pipeline of "Analysis Engines" performs shallow parsing, ontology-based lookups, and deep linguistic analysis. A key feature is the identification of negations, capturing vital information often missing from structured databases.
  2. Faceted Search via Apache Solr: To manage complex patient-examination relationships, a hierarchical object model was implemented in Solr. This enables "faceted search," allowing clinicians to filter data by medical concepts like ICD-10 codes and lab ranges.
  3. Interactive Visualization: Using HighCharts and AngularJS, the "Workbench" displays temporal event sequences. It allows data alignment to a "focus point" (e.g., a transplant date), facilitating the analysis of events relative to major clinical milestones.

Results

The system demonstrated significant improvements in clinical data accessibility and responsiveness:

  • Search Efficiency: Medical experts reported an 80-90% reduction in search time for structured values during cohort selection.
  • Textual Retrieval: Finding specific information in clinical reports (e.g., treatment rejections) saw a 95% reduction in time compared to manual review.
  • System Performance: Despite the complexity of hierarchical facets, the system remained responsive with Solr response times between 250-300ms for large data blocks.

Discussion and Conclusion

A major strength of this architecture is its reusability; while the initial setup for nephrology took weeks, adapting the search for mammography required only one day. The system highlights the importance of capturing negations in clinical text and the utility of relative time visualizations for spotting physiological precursors.

Future work will address data quality challenges and the manual effort required for rule-based text annotation. The team plans to integrate interactive machine learning for real-time model retraining based on clinician feedback and expand the system to handle multi-modal data like medical sketches and image labels.

Summary updated

BibTeX
@article{sonntag2019architecture,
  author = {Daniel Sonntag and Hans-Jürgen Profitlich},
  title = {{An architecture of open-source tools to combine textual information extraction, faceted search and information visualisation}},
  journal = {Artif. Intell. Medicine},
  year = {2019},
  doi = {10.1016/j.artmed.2018.08.003},
}
Figure