Related Experiment Video
Updated: Oct 1, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
A Data-Driven Algorithm to Recommend Initial Clinical Workup for Outpatient Specialty Referral: Algorithm Development
Wui Ip1, Priya Prahalad1, Jonathan Palma2
1Department of Pediatrics, Stanford University School of Medicine, Palo Alto, CA, United States.
This study introduces a new algorithm that predicts the initial diagnostic tests needed for specialty care referrals. Using data from electronic health records, the algorithm anticipates what specialists would order for common conditions like obesity and thyroid issues. The system was tested against a benchmark of the most common orders and outperformed it in accuracy. Endocrinologists reviewed the results and found the recommendations to be clinically appropriate most of the time. The algorithm could help primary care providers prepare patients for specialty visits by suggesting tests in advance. This may reduce delays in diagnosis and treatment by ensuring patients have the right tests before their first specialist appointment.
Area of Science:
- Health informatics within clinical decision support systems
- Pediatric endocrinology in outpatient care
- Electronic health record data analysis
Background:
Many patients lack timely specialty care due to incomplete preliminary evaluations. Current methods rely on manual consensus-building or specialist availability, which are inefficient. Prior research has shown that incomplete diagnostic workups before referral can delay diagnosis and treatment. However, no prior work had resolved how to automate this process using data-driven approaches. This gap motivated the development of a system that could anticipate diagnostic needs without requiring specialist input at referral time. It was already known that pediatric endocrinology referrals often lack baseline testing. No existing tools had been validated for predicting initial workup orders in this context. This study addresses the need for scalable solutions in outpatient specialty care. The focus is on improving diagnostic readiness through automated recommendations.
Purpose Of The Study:
The aim of this study was to develop and validate a data-driven algorithm to recommend initial diagnostic workups for outpatient specialty referrals. The specific problem is the inefficiency of current referral processes, which depend on specialist availability or consensus. The motivation is to reduce diagnostic delays by proactively suggesting appropriate tests. The study targets pediatric endocrinology referrals as a model system. The algorithm was designed to predict orders specialists would likely request. The goal is to improve the completeness of prereferral evaluations. This approach could streamline specialty care access. The study also evaluates the clinical appropriateness of the algorithm's output.
Main Methods:
The researchers used electronic health record data from 3424 pediatric patients with new endocrinology referrals. They extracted data from 2015 to 2020 at an academic institution. Item co-occurrence statistics were applied to identify patterns in diagnostic orders. A holdout dataset was used to assess the algorithm's performance against actual specialist orders. Endocrinologists were surveyed to evaluate the clinical appropriateness of the predicted orders. The algorithm's recommendations were compared to a benchmark of the most common orders. Precision and recall metrics were calculated to measure performance. The study combined data analysis with expert feedback to refine the algorithm's output.
Main Results:
The algorithm achieved an area under the ROC curve of 0.95 (95% CI 0.95-0.96). Precision improved from 37% to 48% (P<.001) for the top 4 recommendations. Recall increased from 27% to 39% (P<.001) for the same set. Specialists surveyed indicated that less than 50% of referrals arrive with complete initial workup. The top 4 recommendations for common conditions like obesity and amenorrhea were deemed clinically appropriate by most specialists. The algorithm outperformed the reference benchmark in both precision and recall. Predicted orders aligned closely with practice guidelines. The results suggest the algorithm can effectively anticipate diagnostic needs.
Conclusions:
The authors propose that an item association-based algorithm can predict specialists' diagnostic orders with high accuracy. The results suggest that this approach could support clinical decision support tools. The algorithm's performance exceeded a reference benchmark using common orders. The study demonstrates the feasibility of data-driven recommendations for initial workup. The authors suggest that this could improve the effectiveness of specialty referrals. The findings imply that automated systems can reduce delays in diagnostic readiness. The results align with practice guidelines for pediatric endocrinology. The authors conclude that this is a promising step toward a new paradigm in outpatient specialty care.
Frequently Asked Questions
The algorithm uses item co-occurrence statistics from electronic health records to predict orders specialists would likely request. It identifies patterns in prior diagnostic workups for similar cases.
The algorithm was tested on common referral conditions like abnormal thyroid studies, obesity, and amenorrhea. These were selected based on their frequency in pediatric endocrinology referrals.
A holdout dataset was used to evaluate the algorithm's performance against actual orders entered by specialists. This ensured the results reflected real-world accuracy.
Endocrinologists surveyed rated the appropriateness of predicted orders. They also reviewed practice guidelines to validate the recommendations for common referral conditions.
The study used precision and recall to measure performance. Precision improved from 37% to 48%, and recall increased from 27% to 39% for the top 4 recommendations.
The authors suggest that the algorithm could support clinical decision support tools to improve the completeness of diagnostic workups before specialty referrals. This may increase access to timely care.
Related Concept Videos
Secondary Healthcare System
Statistical Software for Data Analysis and Clinical Trials
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...

