<HashMap><database>biostudies-literature</database><scores/><additional><submitter>Fernandes M</submitter><funding>NCATS NIH HHS</funding><funding>NCCDPHP CDC HHS</funding><funding>Centers for Disease Control and Prevention</funding><funding>NIA NIH HHS</funding><funding>NHLBI NIH HHS</funding><funding>NIH Clinical Center</funding><funding>NINDS NIH HHS</funding><pagination>1472-1481</pagination><full_dataset_link>https://www.ebi.ac.uk/biostudies/studies/S-EPMC10239346</full_dataset_link><repository>biostudies-literature</repository><omics_type>Unknown</omics_type><volume>64(6)</volume><pubmed_abstract>&lt;h4>Objective&lt;/h4>Unstructured data present in electronic health records (EHR) are a rich source of medical information; however, their abstraction is labor intensive. Automated EHR phenotyping (AEP) can reduce the need for manual chart review. We present an AEP model that is designed to automatically identify patients diagnosed with epilepsy.&lt;h4>Methods&lt;/h4>The ground truth for model training and evaluation was captured from a combination of structured questionnaires filled out by physicians for a subset of patients and manual chart review using customized software. Modeling features included indicators of the presence of keywords and phrases in unstructured clinical notes, prescriptions for antiseizure medications (ASMs), International Classification of Diseases (ICD) codes for seizures and epilepsy, number of ASMs and epilepsy-related ICD codes, age, and sex. Data were randomly divided into training (70%) and hold-out testing (30%) sets, with distinct patients in each set. We trained regularized logistic regression and an extreme gradient boosting models. Model performance was measured using area under the receiver operating curve (AUROC) and area under the precision-recall curve (AUPRC), with 95% confidence intervals (CI) estimated via bootstrapping.&lt;h4>Results&lt;/h4>Our study cohort included 3903 adults drawn from outpatient departments of nine hospitals between February 2015 and June 2022 (mean age = 47 ± 18 years, 57% women, 82% White, 84% non-Hispanic, 70% with epilepsy). The final models included 285 features, including 246 keywords and phrases captured from 8415 encounters. Both models achieved AUROC and AUPRC of 1 (95% CI = .99-1.00) in the hold-out testing set.&lt;h4>Significance&lt;/h4>A machine learning-based AEP approach accurately identifies patients with epilepsy from notes, ICD codes, and ASMs. This model can enable large-scale epilepsy research using EHR databases.</pubmed_abstract><journal>Epilepsia</journal><pubmed_title>Identification of patients with epilepsy using automated electronic health records phenotyping.</pubmed_title><pmcid>PMC10239346</pmcid><funding_grant_id>R01HL161253</funding_grant_id><funding_grant_id>RF1 AG064312</funding_grant_id><funding_grant_id>R01 NS107291</funding_grant_id><funding_grant_id>RF1NS120947</funding_grant_id><funding_grant_id>K08 AG053380</funding_grant_id><funding_grant_id>5K08AG053380‐02</funding_grant_id><funding_grant_id>R01 NS102574</funding_grant_id><funding_grant_id>K23NS114201</funding_grant_id><funding_grant_id>R01 NS126282</funding_grant_id><funding_grant_id>R01 HL161253</funding_grant_id><funding_grant_id>2P01AG032952‐11</funding_grant_id><funding_grant_id>5R01AG062282‐02</funding_grant_id><funding_grant_id>R01NS107291</funding_grant_id><funding_grant_id>R01 NS102190</funding_grant_id><funding_grant_id>1R01AG073410‐01</funding_grant_id><funding_grant_id>U48 DP006377</funding_grant_id><funding_grant_id>UL1 TR002541</funding_grant_id><funding_grant_id>R01 AG073410</funding_grant_id><funding_grant_id>3R01AG062282‐03S1</funding_grant_id><funding_grant_id>P01 AG032952</funding_grant_id><funding_grant_id>R01NS102574</funding_grant_id><funding_grant_id>R01AG073410</funding_grant_id><funding_grant_id>R01NS102190</funding_grant_id><funding_grant_id>RF1 NS120947</funding_grant_id><funding_grant_id>R01 AG062282</funding_grant_id><funding_grant_id>K23 NS114201</funding_grant_id><funding_grant_id>RF1AG064312</funding_grant_id><funding_grant_id>U48DP006377</funding_grant_id><pubmed_authors>Jing J</pubmed_authors><pubmed_authors>Ge W</pubmed_authors><pubmed_authors>Moura LMVR</pubmed_authors><pubmed_authors>McGraw C</pubmed_authors><pubmed_authors>Fernandes M</pubmed_authors><pubmed_authors>Westover MB</pubmed_authors><pubmed_authors>Jacobs C</pubmed_authors><pubmed_authors>Zafar SF</pubmed_authors><pubmed_authors>Cardall A</pubmed_authors></additional><is_claimable>false</is_claimable><name>Identification of patients with epilepsy using automated electronic health records phenotyping.</name><description>&lt;h4>Objective&lt;/h4>Unstructured data present in electronic health records (EHR) are a rich source of medical information; however, their abstraction is labor intensive. Automated EHR phenotyping (AEP) can reduce the need for manual chart review. We present an AEP model that is designed to automatically identify patients diagnosed with epilepsy.&lt;h4>Methods&lt;/h4>The ground truth for model training and evaluation was captured from a combination of structured questionnaires filled out by physicians for a subset of patients and manual chart review using customized software. Modeling features included indicators of the presence of keywords and phrases in unstructured clinical notes, prescriptions for antiseizure medications (ASMs), International Classification of Diseases (ICD) codes for seizures and epilepsy, number of ASMs and epilepsy-related ICD codes, age, and sex. Data were randomly divided into training (70%) and hold-out testing (30%) sets, with distinct patients in each set. We trained regularized logistic regression and an extreme gradient boosting models. Model performance was measured using area under the receiver operating curve (AUROC) and area under the precision-recall curve (AUPRC), with 95% confidence intervals (CI) estimated via bootstrapping.&lt;h4>Results&lt;/h4>Our study cohort included 3903 adults drawn from outpatient departments of nine hospitals between February 2015 and June 2022 (mean age = 47 ± 18 years, 57% women, 82% White, 84% non-Hispanic, 70% with epilepsy). The final models included 285 features, including 246 keywords and phrases captured from 8415 encounters. Both models achieved AUROC and AUPRC of 1 (95% CI = .99-1.00) in the hold-out testing set.&lt;h4>Significance&lt;/h4>A machine learning-based AEP approach accurately identifies patients with epilepsy from notes, ICD codes, and ASMs. This model can enable large-scale epilepsy research using EHR databases.</description><dates><release>2023-01-01T00:00:00Z</release><publication>2023 Jun</publication><modification>2025-06-27T03:05:26.428Z</modification><creation>2025-04-07T04:25:11.78Z</creation></dates><accession>S-EPMC10239346</accession><cross_references><pubmed>36934317</pubmed><doi>10.1111/epi.17589</doi></cross_references></HashMap>