Back to Authors

Fan, Jungwei

https://orcid.org/0000-0001-6349-3752

Mayo Clinic

Mayo Clinic

Citations 26

Towards Automated Quality Assurance: Integrating Deep Learning and Classical ML into the Digital Radiography Pipeline
Chen, Hsuan‐Yu , Chou, Cheng‐Fu , Liao, Sheng-Hung, Wu, Mia , Chen, Kuan-Yi, Yang, Ta-Wei , Chang, Chih‐Hao , Fan, Jungwei Wilfred, Chang, Chih-Hao , Fan, Jungwei

Diagnostics | July 6, 2026 | Volume: 16 | Issue: 13 | Pages: 2111

10.3390/diagnostics16132111 Get It

Background/Objectives: To develop and evaluate a deep learning-based quality control system for Lumbar Spinal Digital Radiographs (LSDR), designed to automate and improve their evaluation and reduce reliance on manual reviews. Methods: This retrospective study utilized a deep learning workflow comprising image segmentation, feature extraction, and a classification model. The dataset, including anteroposterior (AP) and lateral (LAT) X-ray images, was expanded through data augmentation techniques. Four U-Net-based models were assessed: standard U-Net, Swin-UNet, Attention U-Net, and Attention U-Net with the weight map, with the latter selected for its superior performance. Extracted features, such as brightness, contrast, and anatomical positioning, were used in an XGBoost classifier, which was evaluated using mean intersection over union (mIoU), accuracy, sensitivity, specificity, and AUC. Results: The Attention U-Net with weighted attention outperformed the other models, achieving high mIoU scores in both AP and LAT views. The XGBoost classifier achieved the best performance in classifying images as “qualified” or “unqualified,” with an AUC of approximately 0.9, high accuracy, and balanced sensitivity and specificity. This approach effectively addressed class imbalances and improved model accuracy compared to traditional machine learning models such as MLP and SVM. Conclusions: The developed automated quality control system demonstrated potential for enhancing image quality, enhancing diagnostic reliability, and optimizing clinical workflow efficiency.
Artificial intelligence-enabled analysis of radiology reports: epidemiology and outcomes of incidental thyroid findings
Larios, Felipe , Borras-Osorio, Mariana, Wu, Yuqi, Claros, Ana Gabriela, Toro-Tobon, David, Cabezas, Esteban , Loor-Torres, Ricardo, Chavez, Maria Mateo , Maldonado, Kerly Guevara, Andrango, Luis Vilatuna, Jiménez, María Camila , Alzamora, Ivan Mateo , Zahidy, Misk Al, Montero, Marcelo, Proano, Ana Cristina , Jacome, Cristian Soto , Ponce-Ponte, Oscar J, Larios, Felipe , Mateo Chavez, Maria, Guevara Maldonado, Kerly, Vilatuna Andrango, Luis, Lizarazo Jimenez, Maria, Al Zahidy, Misk, Fan, Jungwei W, Branda, Megan E. , Singh Ospina, Naykky , Brito, Juan P , Mateo Chavez, Maria B , Borras-Osorio, Mariana , Claros, Ana Gabriela , Toro-Tobón, David , Loor-Torres, Ricardo , Guevara, Kerly , Fan, Jungwei , Ponte, Oscar Ponce, Ospina, Naykky Singh , Brito, Juan P.

The Journal of Clinical Endocrinology & Metabolism | April 23, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.1210/clinem/dgag186 Get It

Abstract Context Incidental thyroid findings (ITFs) are increasingly detected on imaging performed for non-thyroid indications. Their prevalence, features, and consequences remain undefined. Objective To develop, validate, and deploy a natural language processing (NLP) pipeline to identify ITFs in radiology reports and assess their prevalence, features, and clinical outcomes. Design Retrospective cohort study. Setting Mayo Clinic sites (Rochester, Arizona, Florida, Mayo Clinic Health System). Participants Adults without prior thyroid disease undergoing thyroid-capturing imaging from July 1, 2017, to September 30, 2023. A transformer-based NLP pipeline identified ITFs and extracted nodule characteristics from image reports from multiple modalities and body regions. Outcomes ITF prevalence, downstream thyroid ultrasound, biopsy, thyroidectomy, and cancer diagnosis. Logistic regression identified demographic and imaging-related factors. Results Among 115 683 patients (mean age, 56.8 [SD 17.2]; 52.9% women), 9077 (7.8%) had an ITF (92.9% nodular). ITFs were more likely in women, older adults, higher BMI, and in imaging ordered by specialties different from Emergency Medicine. Compared with chest CT, ITFs were more likely via neck CT, PET, and nuclear medicine scans. Nodule characteristics were poorly documented, with size reported in 44% and other features in fewer than 15%. Compared with patients without ITFs, those with ITFs had higher odds of thyroid nodule diagnosis (OR 45, 95%CI 41.1-49.3), biopsy (OR 46.8, 95%CI 39.0-56.2) thyroidectomy (OR 55.8, 95%CI 31.3-99.3), and thyroid cancer diagnosis (OR 61.7, 95%CI 38.6-98.5). Most cancers were papillary (88.5%) and larger when detected after ITFs (2 cm SD 1.4) vs no ITF (1.3 cm SD 0.8). Conclusion ITFs were common and strongly associated with cascades leading to the detection of small, low-risk cancers, highlighting their role in overdiagnosis and the need for standardized reporting and more selective follow-up.
Hide and Seek: Privacy-Preserving Artificial Intelligence with a Feasibility Study in Rare Disease Diagnosis
Rajaganapathy, Sivaraman , Sauver, Jennifer St., Vairo, Filippo Filippo Pinto e, Iyer, Prasad G. , Liu, Hongfang , St Sauver, Jennifer, Pinto E Vairo, Filippo, Fan, Jungwei W, Sauver, Jennifer L. St. , Liu, Hongfang , Fan, Jungwei

No container title available | January 18, 2026 | Volume: No volume available | Issue: No issue available | Pages: No page available

10.64898/2026.01.15.26344228 Get It

Abstract Background Integrating advanced artificial intelligence (AI) into clinical decision-support often requires the sharing of sensitive patient data with external services, raising privacy concerns. Homomorphic encryption (HE) allows computing directly on encrypted data, without revealing the underlying patient information. Objectives To develop a large language model (LLM)-assisted diagnosis framework while preserving patient privacy in the clinical text analysis, by leveraging HE and using rare disease (RD) diagnosis as a representative application. To demonstrate HE does not hinder the system performance. Materials and Methods Texts from patient histories and a RD knowledge base were embedded by LLMs into vectors, then encrypted using HE to obscure private information while retaining the semantic nuances. Diagnostic recommendations were generated by computing and ranking the similarities between the patient history and RD vectors in the encrypted space. The system was evaluated using 50 synthetic case reports (5 RDs, each with 10 reports). Results Applying HE did protect private information from reverse-embedding attacks. HE imposed little disruption to the diagnostic accuracy, with normalized discounted cumulative gains (nDCG) of 0.6108 ± 0.3412 (encrypted) versus 0.6083 ± 0.3415 (unencrypted). The accuracy and computational performance were tunable and consistent, as demonstrated across five different LLMs. Discussion Our privacy-preserving framework opens tremendous opportunities toward hosting and serving powerful AI solutions across institution boundaries, which would remove the need for local deidentification and incentivize users to access secure external decision-support services. Conclusions Integrating HE with LLM retrieval can promote the dissemination of nonredundant, high-capacity AI services by preserving both privacy and accuracy.
A Rule-Based Automated Triage Model Using Natural Language Processing for Pain Medicine—Development and Implementation
Jiang, Lan , Huang, Yu-Li, Hunt, Christy L., Eldrige, Jason S. , Kuster, L., Jensen, Maribeth, Gupta, Sahil , Kuster, Lezli, Jensen, Maribeth A, Jiang, Lan, Huang, Yu-Li, Fan, Jungwei

Applied Clinical Informatics | December 19, 2025 | Volume: 16 | Issue: 05 | Pages: 1850-1861

10.1055/a-2765-6842 Get It

Abstract Pain medicine triage plays a crucial role in ensuring patients receive timely and appropriate care by scheduling them to the most suitable treatment path. However, the absence of standardized triage protocols in pain medicine often leads to inefficiencies, including delay of care and wastage of healthcare resources. This study aims to develop a rule-based automated referral triage system leveraging information from patients' medical notes for scheduling patients to specific procedures in the pain medicine department. The proposed triage system, grounded in the knowledge and expertise of clinical providers, processed referral order comments and referring provider notes by iteratively refining the Natural Language Processing (NLP) rules and post-processing rules through intensively reviewing 76 patients. A post-processing regression model was incorporated to further enhance the accuracy. To ensure alignment with real-world practices, the system was integrated into an electronic health record (EHR) platform for real-time application, streamlining scheduling workflows and enhancing usability in daily clinical settings. After three iterations, the proposed NLP and post-processing rules improved accuracy from 76.3 to 80.3% compared to machine learning (ML) approaches in the preliminary study. The post-processing model further increased accuracy to 84.2%. The implementation accuracy of 200 cases for the first 3 months was consistent with our prediction at 83.5%, which concluded that the improvement over ML models (p-value = 0.018) was statistically significant at 95% significance level. This study demonstrates the feasibility and benefits of a knowledge-driven approach to referral triage in specialized medical fields. It lays a foundation for others in building similar triaging solutions to other specialties.
Evaluating the Total Healthcare Cost of Inappropriately Ordered Thyroid Ultrasounds
Toro-Tobón, David , Thao, Viengneesee , Jacome, Cristian Soto , Larios, Felipe , Guevara, Kerly , Andrango, Luis Vilatuna, Proano, Ana Cristina , Loor-Torres, Ricardo , Zahidy, Misk Al, Cabezas, Esteban , Wu, Yucheng , Ospina, Naykky Singh , Larios, Felipe , Soto Jacome, Cristian, Vilatuna Andrango, Luis, Fan, Jungwei W, Al Zahidy, Misk, Branda, Megan E. , Singh Ospina, Naykky , Brito, Juan P , Toro-Tobon, David , Borah, Bijan J. , Fan, Jungwei , Wu, Yuqi, Brito, Juan P.

Journal of the Endocrine Society | August 30, 2025 | Volume: 9 | Issue: 10 | Pages: No page available

10.1210/jendso/bvaf143 Get It

Abstract Purpose Overuse of thyroid ultrasound (TUS) has contributed to rising thyroid cancer diagnoses and is projected to increase US healthcare costs from $1.5 billion to $3.5 billion by 2030. This study evaluated the healthcare cost of inappropriately ordered TUS in a national multicenter academic system. Methods This is a secondary cost analysis of a retrospective cohort study across 4 Mayo Clinic sites (Rochester, MN; Jacksonville, FL; Scottsdale, AZ; and the Midwest Mayo Clinic Health System). Adult patients (≥18 years) undergoing their first TUS between January 1, 2017, and December 31, 2021, with at least 1 year of follow-up were included. TUS indications were classified as appropriate or inappropriate using a guideline-based natural language processing algorithm. The primary outcome was a comparison of adjusted 1-year all-cause healthcare costs. A secondary analysis calculated the direct procedural costs of the inappropriate TUS cascade. Results Among 6984 patients (mean age 56 [SD 16.4]; 76.2% female; 90.9% White), 546 (7.8%) underwent TUS for inappropriate indications. These patients were younger (mean age 53.0 vs 56.3 years, P < .0001) but otherwise demographically similar. Adjusted total healthcare costs over 90 days and 1 year were comparable: $4842 vs $5794 and $13 748 vs $14 257 for inappropriate vs appropriate TUS, respectively. The inappropriate TUS cascade, including an estimated 56 subsequent biopsies and 22 thyroidectomies, resulted in a minimum of $576 134 in direct procedural costs. Conclusion While adjusted total costs were similar, inappropriate TUS represents potentially avoidable spending and remains a viable target for cost-reduction strategies. Reducing low-value imaging remains a critical target for cost-saving interventions.
medspacyV: a graphical user interface for the open source medspaCy natural language processing package
Velamala, Bharath, Pour, Elham Sagheb Hossein, Sagheb Hossein Pour, Elham, Fan, Jungwei , Lin, Michael, Fan, Jungwei

JAMIA Open | August 23, 2025 | Volume: 8 | Issue: 4 | Pages: No page available

10.1093/jamiaopen/ooaf094 Get It

Abstract Objectives To enable users with modest technical background to perform biomedical natural language processing (NLP). Materials and Methods We developed medspacyV using the Python graphical programming tkinter library, following the model-view-controller (MVC) design pattern. The interface wraps around a rule-based pipeline for sentence splitting, section segmentation, concept identification, and negation detection. Results The primary window allows the user to configure the project and NLP rules, execute the pipeline, and save the outputs into a table. A separate annotation viewer window can be launched to inspect the immediate or previous NLP outputs. Discussion We developed medspacyV with three rationales: controllability, explainability, and economy. The rule-based approach is sufficient for many NLP use cases. Conclusion The medspacyV program is publicly available at https://github.com/medspacy/medspacyV, targeting use by healthcare professionals and researchers in their NLP projects.
Development and validation of natural language processing algorithms in the national ENACT network
Wang, Yanshan , Hilsman, Jordan, Li, Chenyu , Kwak, Min Ji , Applegate, Joseph R., Wang, Liwei , Harris, Daniel R. , Corbeau, Alexandria, Osborne, John D. , Kennedy, Richard , Garduno-Rapp, Nelly-Estefanie, Rousseau, Justin F. , Murphy, Tyler J., Sohn, Sunghwan , Peng, Yifan , Pathak, Aman, Xia, Zongqi , Loguercio, Salvatore , Reís, Steven E. , Visweswaran, Shyam, Harris, Daniel , Fan, Jungwei , Kennedy, Richard E , Osborne, John D , Li, Chenyu , Wang, Yanshan , Rousseau, Justin F , Morris, Michele M. , Heider, Paul M. , Fu, Sunyang , Wen, Andrew , Applegate, Joseph R., Bernstam, Elmer V , Liu, Hongfang , Chang, Jack , Henderson, Darren W. , Osborne, John, Yan, Chao , Chen, You , Patel, Mayur Bipin , Murphy, Tyler J., Malin, Bradley , Park, Chan Mi , Fan, Jungwei , Pagali, Sandeep R. , Wu, Yonghui , Visweswaran, Shyam

Journal of Clinical and Translational Science | August 22, 2025 | Volume: 9 | Issue: 1 | Pages: No page available

10.1017/cts.2025.10116 Get It

Abstract Objective: Electronic Health Record (EHR) data are critical for advancing translational research and AI technologies. The ENACT network offers access to structured EHR data across 57 CTSA hubs. However, substantial information is contained in clinical narratives, requiring natural language processing (NLP) for research. The ENACT NLP Working Group was formed to make NLP-derived clinical information accessible and queryable across the network. Methods: We established the ENACT NLP Working Group with 13 sites selected based on criteria including clinical notes access, IT infrastructure, NLP expertise, and institutional support. We divided sites into five focus groups targeting clinical tasks within disease contexts. Each focus group consisted of two development sites and two validation sites. We extended the ENACT ontology to standardize NLP-derived data and conducted multisite evaluations using the Open Health Natural Language Processing (OHNLP) Toolkit. Results: The working group achieved 100% site retention and deployed NLP infrastructure across all sites. We developed and validated NLP algorithms for rare disease phenotyping, social determinants of health, opioid use disorder, sleep phenotyping, and delirium phenotyping. Performance varied across sites (F1 scores 0.53–0.96), highlighting data heterogeneity impacts. We extended the ENACT common data model and ontology to incorporate NLP-derived data while maintaining Shared Health Research Informatics NEtwork (SHRINE) compatibility. Conclusion: This demonstrates feasibility of deploying NLP infrastructure across large, federated networks. The focus group approach proved more practical than general-purpose approaches. Key lessons include the challenge of data heterogeneity and importance of collaborative governance. This work also provides a foundation that other networks can build on to implement NLP capabilities for translational research.
Factors and Outcomes of Inappropriate Thyroid Ultrasonography
Larios, Felipe , Jacome, Cristian Soto , Ponce-Ponte, Oscar J., Maldonado, Kerly Guevara, Andrango, Luis Vilatuna, Proano, Ana Cristina , Loor-Torres, Ricardo , Zahidy, Misk Al, Claros, Ana Gabriela, Mulanovich, Katerina, Cabezas, Esteban , Wu, Yuqi , Bischoff, Lindsay , Ospina, Naykky Singh , Ospina, Naykky Singh , Larios, Felipe , Guevara, Kerly , Fan, Jungwei W, Al Zahidy, Misk, Branda, Megan E. , Singh Ospina, Naykky , Claros, Ana Gabriela , Toro-Tobón, David , Fan, Jungwei , Brito, Juan P.

JAMA Otolaryngology–Head & Neck Surgery | August 7, 2025 | Volume: 151 | Issue: 9 | Pages: 843

10.1001/jamaoto.2025.2049 Get It

ImportanceThyroid cancer incidence has tripled in the past 3 decades, largely driven by increased detection of small, indolent papillary thyroid cancers. Overuse of thyroid ultrasonography (TUS) contributes to overdiagnosis, leading to unnecessary biopsies, procedures, and potential patient harm.ObjectiveTo evaluate the frequency of and factors associated with inappropriate TUS (iTUS) orders and assess related clinical outcomes.Design, Setting, and ParticipantsThis retrospective cohort study analyzed adult patients 18 years and older who underwent their first TUS from January 1, 2017, to December 30, 2021, at 4 Mayo Clinic sites. Patients with previous thyroid nodule, thyroid cancer, thyroid surgery, or TUS were excluded. Based on documented clinical indications, a validated natural language processing model classified TUS orders as appropriate or inappropriate. Data were analyzed from April 2024 to May 2025.ExposuresBaseline characteristics of patients, clinicians, and clinical encounters investigated for their association with an iTUS order.Main Outcomes and MeasuresThe primary outcome was the proportion of iTUS orders. Secondary outcomes included factors associated with iTUS (sociodemographic, clinical, order-specific, and clinician-related factors) and clinical outcomes following iTUS, including the detection of thyroid nodules, thyroid procedures, and thyroid cancer diagnoses.ResultsOf 11 442 included patients, 8422 (73.6%) were female, and the mean (SD) age was 57.3 (15.8) years with a mean (SD) body mass index (calculated as weight in kilograms divided by height in meters squared) of 29.7 (7.0). Among 11 442 TUS orders, 866 (7.6%) were classified as inappropriate. In multivariable analysis, younger age (age of 18 to 54 years vs older than 65 years; odds ratio [OR], 1.86; 95% CI, 1.56-2.22), hyperthyroidism (OR, 9.04; 95% CI, 6.75-12.11), ordering by nonendocrinology specialties (eg, oncology/hematology; OR, 3.43; 95% CI, 2.47-4.76), and orders not linked to an in-person appointment (eg, portal messages; OR, 2.42; 95% CI, 2.08-2.82) were strongly associated with increased odds of iTUS. Compared with appropriate TUS, iTUS led to lower rates of thyroid nodule detection (202 of 866 [23.3%] vs 6885 of 10 576 [65.1%]; OR, 0.16; 95% CI, 0.14-0.19), biopsies (89 [10.3%] vs 2647 [25.0%]; OR, 0.34; 95% CI, 0.27-0.43), partial thyroidectomies (14 [1.6%] vs 424 [4.0%]; OR, 0.39; 95% CI, 0.23-0.67), and confirmed thyroid cancer cases (16 [1.8%] vs 425 [4.0%]; OR, 0.45; 95% CI, 0.27-0.74).Conclusions and RelevanceIn this cohort study, approximately 1 in 13 TUS orders were inappropriate. iTUS was more common in younger patients, those with thyroid dysfunction, those not seen in person, and in those referred by nonendocrinology specialties. These findings highlight the need for targeted strategies to optimize TUS use and mitigate overdiagnosis and overtreatment.
Flesch-Kincaid Grade Level Readability Scores to Evaluate Readability of Clinical Documentation During an Electronic Health Record Transition
Wen, Andrew , O’Horo, John C. , Nyman, M. , Challener, Douglas , Fan, Jungwei W, O'horo, John, Nyman, Mark, O'Horo, John C , Wen, Andrew , Challener, Douglas W. , Fan, Jungwei , Liu, Hongfang

Advances in Health Information Science and Practice | June 18, 2025 | Volume: 1 | Issue: 1 | Pages: No page available

10.63116/vbwy7913 Get It

Background Electronic health records (EHRs) serve as a critical tool for clinical documentation, yet their complexity has raised concerns about readability and usability for healthcare providers and patients. Readability scores, such as the Flesch-Kincaid (FK) Grade Level, offer a quantitative method to assess documentation clarity. In this study, the authors evaluated the impact of an EHR transition on the readability of clinical notes across multiple medical specialties. Methods All clinical notes recorded between 2016 and 2019 at a large healthcare organization were evaluated across specialties. The organization transitioned EHR systems during the study period, in May 2018. FK Grade Level scores were calculated for each clinical consultation note and stratified by specialty and EHR. Results Across 10 medical specialties, 630,246 clinical notes were evaluated. The median FK grade levels from notes composed in the new EHR were similar to those composed in the previous EHR (8.228 vs 8.240; p=0.58). The variation in FK grade level as measured by standard deviation was lower in the new EHR compared with the old EHR (1.405 vs 1.764; p <0.01). Conclusions Calculation of FK grade level of clinical notes is a feasible method to assess clinical note readability. Study results showed that clinical documentation readability may not be strongly associated with underlying EHR. Migrating to a new EHR alone should not be expected to improve readability of clinical notes.
Developing and sustaining inclusive language in biomedical informatics communications: an AMIA Board of Directors endorsed paper on the Inclusive Language and Context Style Guidelines
Walk, Oliver Bear Don’t, Haldar, Shefali , Wei, Duo, Huang, Hu , Keloth, Vipina K. , Leung, Tiffany I. , Desai, Pooja , Korngiebel, Diane M. , Wiley, Laura K. , Ogunyemi, Omolola , Dirks, Lisa G. , Kronk, Clair , Martin, Krista, Anand, Tara V. , Volpe, Salvatore G, Yung, Nathan , Lucero, Robert , Bright, Tiffani J , Walk, Oliver J. Bear Don’t , Fan, Jungwei , Keloth, Vipina K , Desai, Pooja , Grossman Liu, Lisa , Pichon, Adrienne , Subbian, Vignesh , Solomonides, Anthony E , Wiley, Laura K , Ogunyemi, Omolola , Iott, Bradley , Kronk, Clair , Foraker, Randi , Anand, Tara , Bear Don't Walk Iv, Oliver J , Rivera, Rebecca L. , Fan, Jungwei , Subbian, Vignesh , Solomonides, Anthony , Jackson, Gretchen Purcell , Dankwa‐Mullan, Irene , Everhart, Avery , Parker, Andrea G. , Foraker, Randi E. , Volpe, Salvatore G, Rizvi, Rubina F

Journal of the American Medical Informatics Association | June 16, 2025 | Volume: 32 | Issue: 8 | Pages: 1380-1387

10.1093/jamia/ocaf096 Get It

Abstract Objectives In 2023, AMIA’s Inclusive Language and Context Style Guidelines (the “Guidelines”) were approved by the Board of Directors and made a publicly available resource. This work began in 2021 through AMIA’s DEI Task Force and subsequent DEI Committee; many members provided input, feedback, and time to create the Guidelines. In this paper, the authors provide a transparent account of the origin, development, contents, and dissemination of the Guidelines and share plans for their future development and use. Materials and Methods Our approach to drafting, refining, and distributing the Guidelines included consulting existing language guides, AMIA member reviews, external expert reviews, webinars, and workshops. Through an iterative approach to drafting and refining the Guidelines, the authors consulted relevant language guidelines and many experts throughout and beyond the AMIA community. Results The Inclusive Language Context Guidelines were formally approved by the AMIA Board of Directors on February 15, 2023. The Guidelines included four principles to be considered in scientific communications: Plurality, Precision, Transparency, and Destigmatization. Discussion A moment of vulnerability where an AMIA member raised concerns about the use of harmful language during a presentation resulted in the creation of a principled approach to support inclusive language within biomedical and health informatics communications. We envision that the Guidelines will support health equity by challenging dominant public narratives around health, fostering stronger interdisciplinary collaboration and critical thinking about the impact of language, and creating a more welcoming environment for the broader AMIA community. This work could not have been completed without the support of many AMIA members and other researchers in biomedical and health informatics. The Guidelines are a living document that will continue to be updated with input and feedback from the AMIA community into the future.