Identifying Incarceration Status in the Electronic Health Record Using Natural Language Processing in Emergency Department Settings
Huang, T. T.; Socrates, V.; Gilson, A.; Safranek, C.; Chi, L.; Wang, E.; Puglisi, L.; Brandt, C.; Taylor, R. A.; Wang, K.
Show abstract
BackgroundIncarceration is a highly prevalent social determinant of health associated with high rates of morbidity and mortality and racialized health inequities. Despite this, incarceration status is largely invisible to health services research due to poor electronic health record capture within clinical settings. Our primary objective is to develop and assess natural language processing (NLP) techniques for identifying incarceration status from clinical notes to improve clinical sciences and delivery of care for millions of individuals impacted by incarceration. MethodsWe annotated 1,000 unstructured clinical notes randomly selected from the emergency department for incarceration history. Of these annotated notes, 80% were used to train the Longformer-based and RoBERTa NLP models. The remaining 20% served as the test set. Model performance was evaluated using accuracy, sensitivity, specificity, precision, F1 score and Shapley values. ResultsOf annotated notes, 55.9% contained evidence for incarceration history by manual annotation. ICD-10 code identification demonstrated accuracy of 46.1%, sensitivity of 4.8%, specificity of 99.1%, precision of 87.1%, and F1 score of 0.09. RoBERTa NLP demonstrated an accuracy of 77.0%, sensitivity of 78.6%, specificity of 73.3%, precision of 80.0%, and F1 score of 0.79. Longformer NLP demonstrated an accuracy of 91.5%, sensitivity of 94.6%, specificity of 87.5%, precision of 90.6%, and F1 score of 0.93. ConclusionThe Longformer-based NLP model was effective in identifying patients exposure to incarceration and has potential to help address health disparities by enabling use of electronic health records to study quality of care for this patient population and identify potential areas for improvement.
Matching journals
The top 5 journals account for 50% of the predicted probability mass.
Similar papers in this journal
- Enhancing Research Data Infrastructure to Address the Opioid Epidemic: The Opioid Overdose Network (02-Net) 95%
- Development and Evaluation of Machine Learning Models for the Detection of Emergency Department Patients with Opioid Misuse from Clinical Notes 95%
- Characterization and Racial Stratification of Social Determinants of Health for Individuals with Type 2 Diabetes as Recorded in Electronic Health Records: Implications for Artificial Intelligence Development 92%
Similar papers in this journal
- Clinical prediction rule for SARS-CoV-2 infection from 116 U.S. emergency departments 94%
- EMS injury cause codes more accurate than emergency department visit ICD-10-CM codes for firearm injury intent in North Carolina 94%
- Derivation and validation of a triage tool for acutely ill adults with suspected COVID-19: The PRIEST observational cohort study 93%
Similar papers in this journal
- A Deep Learning Method to Detect Opioid Prescription and Opioid Use Disorder from Electronic Health Records 93%
- Assessment of machine learning algorithms in national data to classify the risk of self-harm among young adults in hospital: a retrospective study 92%
- Completion of electronic nursing documentation of inpatient admission assessment: insights from Australian metropolitan hospitals 92%
Similar papers in this journal
- Score for Emergency Risk Prediction (SERP): An Interpretable Machine Learning AutoScore–Derived Triage Tool for Predicting Mortality after Emergency Admissions 93%
- Electronic Health Record Documentation of Psychiatric Assessments in Massachusetts Emergency Department and Outpatient Settings During the COVID-19 Pandemic 93%
- The Impact of the “Muslim Ban” Executive Order on Healthcare Utilization in Minneapolis-St. Paul, Minnesota 92%
Similar papers in this journal
- Scalable Incident Detection via Natural Language Processing and Probabilistic Language Models 95%
- Improving ascertainment of suicidal ideation and suicide attempt with natural language processing 94%
- Using explainable machine learning to identify patients at risk of reattendance at discharge from emergency departments 93%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.