Affiliation:
1. Pediatrics, Children's Hospital of Pittsburgh of UPMC, Pittsburgh, United States
2. Data Theoretic, Pittsburgh, United States
3. Biomedical Informatics, University of Pittsburgh, Pittsburgh, United States
Abstract
Objectives: To enable clinical researchers without expertise in natural language processing to extract and analyze information about sexual and reproductive health (SRH), or other sensitive health topics, from large sets of clinical notes.
Methods: (1) We retrieved text from the electronic health record as individual notes. (2) We segmented notes into sentences using one of scispaCy’s natural language processing toolkits. (3) We exported sentences to the labeling application Watchful and annotated subsets of these as relevant or irrelevant to various SRH categories by applying a combination of regular expressions and manual annotation. (4) The labeled sentences served as training data to create machine learning models for classifying text; specifically, we used spaCy’s default text classification ensemble, comprising a bag-of-words model and a neural network with attention. (5) We applied each model to unlabeled sentences to identify additional references to SRH with novel relevant vocabulary. We used this information and repeated steps 3-5 iteratively until the models identified no new relevant sentences for each topic. Finally, we aggregated the labeled data for analysis.
Results: This methodology was applied to 3663 Child Neurology notes for 971 female patients. Our search focused on six SRH categories. We validated the approach using two subject matter experts, who independently labeled a sample of 400 sentences. Cohen’s kappa values were calculated for each category between the reviewers (menstruation: 1, sexual activity: 0.9499, contraception: 0.9887, folic acid: 1, teratogens: 0.8864, pregnancy: 0.9499). After removing the sentences on which reviewers did not agree, we compared the reviewers’ labels to those produced via our methodology, again using Cohen’s kappa (menstruation: 1, sexual activity: 1, contraception: 0.9885, folic acid: 1, teratogens: 0.9841, pregnancy: 0.9871).
Conclusion: Our methodology is reproducible, enables analysis of large amounts of text, and has produced results that are highly comparable to subject matter expert manual review.
Funder
American Academy of Neurology
Subject
Health Information Management,Advanced and Specialized Nursing,Health Informatics