TY - JOUR AU - Jin, Yonghao AU - Li, Fei AU - Vimalananda, Varsha G AU - Yu, Hong PY - 2019 DA - 2019/11/8 TI - Automatic Detection of Hypoglycemic Events From the Electronic Health Record Notes of Diabetes Patients: Empirical Study JO - JMIR Med Inform SP - e14340 VL - 7 IS - 4 KW - natural language processing KW - convolutional neural networks KW - hypoglycemia KW - adverse events AB - Background: Hypoglycemic events are common and potentially dangerous conditions among patients being treated for diabetes. Automatic detection of such events could improve patient care and is valuable in population studies. Electronic health records (EHRs) are valuable resources for the detection of such events. Objective: In this study, we aim to develop a deep-learning–based natural language processing (NLP) system to automatically detect hypoglycemic events from EHR notes. Our model is called the High-Performing System for Automatically Detecting Hypoglycemic Events (HYPE). Methods: Domain experts reviewed 500 EHR notes of diabetes patients to determine whether each sentence contained a hypoglycemic event or not. We used this annotated corpus to train and evaluate HYPE, the high-performance NLP system for hypoglycemia detection. We built and evaluated both a classical machine learning model (ie, support vector machines [SVMs]) and state-of-the-art neural network models. Results: We found that neural network models outperformed the SVM model. The convolutional neural network (CNN) model yielded the highest performance in a 10-fold cross-validation setting: mean precision=0.96 (SD 0.03), mean recall=0.86 (SD 0.03), and mean F1=0.91 (SD 0.03). Conclusions: Despite the challenges posed by small and highly imbalanced data, our CNN-based HYPE system still achieved a high performance for hypoglycemia detection. HYPE can be used for EHR-based hypoglycemia surveillance and population studies in diabetes patients. SN - 2291-9694 UR - http://medinform.jmir.org/2019/4/e14340/ UR - https://doi.org/10.2196/14340 UR - http://www.ncbi.nlm.nih.gov/pubmed/31702562 DO - 10.2196/14340 ID - info:doi/10.2196/14340 ER -