Relevant Word Order Vectorization for Improved Natural Language Processing in Electronic Health Records

Sci Rep. 2019 Jun 25;9(1):9253. doi: 10.1038/s41598-019-45705-y.

Abstract

Electronic health records (EHR) represent a rich resource for conducting observational studies, supporting clinical trials, and more. However, much of the data contains unstructured text, presenting an obstacle to automated extraction. Natural language processing (NLP) can structure and learn from text, but NLP algorithms were not designed for the unique characteristics of EHR. Here, we propose Relevant Word Order Vectorization (RWOV) to aid with structuring. RWOV is based on finding the positional relationship between the most relevant words to predicting the class of a text. This facilitates machine learning algorithms to use the interaction of not just keywords but positional dependencies (e.g. a relevant word occurs 5 relevant words before some term of interest). As a proof-of-concept, we attempted to classify the hormone receptor status of breast cancer patients treated at the University of Kansas Medical Center, comparing RWOV to other methods using the F1 score and AUC. RWOV performed as well as, or better than other methods in all but one case. For F1 score, RWOV had a clear edge on most tasks. AUC tended to be closer, but for HER2, RWOV was significantly better for most comparisons. These results suggest RWOV should be further developed for EHR-related NLP.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Algorithms*
  • Breast Neoplasms / classification*
  • Breast Neoplasms / metabolism
  • Breast Neoplasms / pathology
  • Datasets as Topic
  • Electronic Health Records / standards*
  • Electronic Health Records / statistics & numerical data*
  • Female
  • Humans
  • Machine Learning*
  • Natural Language Processing*
  • Receptor, ErbB-2 / metabolism
  • Receptors, Estrogen / metabolism
  • Receptors, Progesterone / metabolism

Substances

  • Receptors, Estrogen
  • Receptors, Progesterone
  • ERBB2 protein, human
  • Receptor, ErbB-2