Automatic Detection of Osteoporosis in Electronic Consultation (eConsult) Service Using Natural Language Processing
<h3>Context</h3> The primary care practitioners’ (PCP) perceptions of disease given patients’ conditions are reflected in their narrated questions to specialists while using eConsult, an online primary care service. <h3>Objective</h3> The aim is to analyze the feasibility of natural language processing (NLP) to train and automatically detect osteo from endocrinology cases in eConsult, to use primary care providers’ text data, provide explanations and help route endo cases to the more appropriate MD. <h3>Study Design and Analysis</h3> We set up NLP experimentations and used multiple transformations of text to vector space, such as normalized bag-of-words (TFIDF) with machine learning algorithms. We then used pretrained Language Model (BERT) to extract important terms associated with contrasting segments of data. <h3>Setting or Dataset</h3> Out of 844 size sample of endocrinology cases, our human expert annotated only 144 as true osteoporosis cases, flagged as a binary target. We took a random sample of 144 endo cases as non-osteo. <h3>Population Studied</h3> Population is a sample of the 2019-20 of endocrinology cases off the Champlain eConsult BASE™ system. <h3>Intervention/Instrument</h3> eConsult is an online system that facilitates more timely access to specialist advice and eliminates a significant portion of patients that otherwise required in-person visits with specialists. <h3>Outcome Measures</h3> We used a combination of evaluation indices, such as accuracy, precision, recall, to decide the optimum feature engineering approach and model. <h3>Results</h3> Training sample from eConsult, TFIDF transformation with the Stochastic Gradient Descent model could distinguish osteoporosis cases by 91% accuracy. Large language model extracted important semantic patterns associated with osteoporosis cases in contrast with endocrinology such as risk of fracture, bisphosphonate, calcium hypercalcemia, prolia denosumab against insulin, diabetes, thyroid, testosterone, cortisol, adrenal, urine adenoma, prolactin, ozempic, glucose respectively. Inherited gender bias observed in osteoporosis cases from the training samples remained constant in test of up to 15% more female. Model predicted up to 19.3% of the total endocrinology cases as being osteoporosis. <h3>Conclusion</h3> Osteoporosis narrations had sufficient semantic properties for the machine to learn and accurately distinguish them from endocrinology cases. Latent extracted terms and conceptual symptoms helped users gain confidence in AI, better informed diagnostics, PCPs understandings.
Authors
- Arya Rahgozar (ORCID: https://orcid.org/0000-0002-2127-2449)
- Amir Afkham (ORCID: https://orcid.org/0000-0001-7563-636X)
- Douglas Archibald (ORCID: https://orcid.org/0000-0001-6751-9788)
- Claire Sethuram (ORCID: https://orcid.org/0000-0003-4964-0183)
- Clare Liddy (ORCID: https://orcid.org/0000-0003-0699-5494)
- Danica Goulet
Publication Details
- Journal
- Healthcare informatics
- Published
- 2024-11-20
- DOI
- https://doi.org/10.1370/afm.22.s1.6029
- Primary Topic
- Artificial Intelligence in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 0.00