Skip to main content
. Author manuscript; available in PMC: 2020 Sep 1.
Published in final edited form as: Epilepsia. 2019 Aug 23;60(9):e93–e98. doi: 10.1111/epi.16320

Figure 1.

Figure 1.

Architecture of the natural language processing (NLP) algorithm. Electronic health record (EHR) data from all epilepsy patients were exported from the operational database (upper left). Patients with epilepsy were split into three groups: 1) patients who had a history of epilepsy surgery; 2) patients who were seizure free; and 3) “unknown” patients. The NLP algorithm was trained using patients from the first two groups (“Surgery” and “Seizure-Free”), and the trained model was used to assign patients in the “Unknown” group a surgical candidacy score. The scores were then stored in the epilepsy surgery software (ESS) database, where they could be accessed by the study team or used to send alerts to neurologists (shown on right).