Abstract Medical referrals between primary care physicians (PC) and specialist care (SC) physicians profoundly impact patient care regarding quality, satisfaction, and cost. This paper investigates the influence of professional networks among medical doctors on referring patients from PC to SC. Using five-year consultation data from a Portuguese private health provider, we conducted exploratory data analysis and constructed both professional and referral networks among physicians. We then apply Graph Neural Network (GNN) models to learn latent representations of the referral network. Our analysis supports the hypothesis that doctors' professional social connections can predict medical referrals, potentially enhancing collaboration within organizations and improving healthcare services. This research contributes to dissecting the underlying mechanisms in primary-specialty referrals, thereby providing valuable insights for enhancing patient care and effective healthcare management.
Introduction
The transition from primary care (PC) to specialist care (SC) is a critical juncture in patient treatment, affecting healthcare costs, efficiency, and recovery speed. While clinical necessity and specialist expertise are the intended drivers of these referrals, "informal" professional networks often play a significant, yet invisible, role. This study explores these hidden social dynamics by combining graph theory with deep learning to demonstrate that a physician's professional network—built through shared education, residencies, and hospital affiliations—is a primary driver of referral patterns.
The Dataset
The research utilizes a comprehensive, five-year (2012–2016) anonymized dataset from a major private Portuguese healthcare provider. This dataset encompasses 12 million consultations involving 1.4 million patients and 3,632 physicians (389 PC and 1,313 SC).
As shown in Figure 1, the volume of consultations grew steadily across most specialties during the study period, providing a robust foundation for analyzing referral behaviors over time. Data points included physician demographics, education, and hospital location to build a multi-dimensional view of the medical community.
Methodology: Network and GNN Approach
The authors employed a multi-step pipeline to model the relationship between social ties and clinical referrals. Two distinct graphs were constructed to represent these dynamics:
- Referral Network: A weighted bipartite graph where an edge represents a patient visiting a PC and then an SC within a one-month window.
- Professional Network: A graph connecting physicians based on shared educational backgrounds (medical schools) and professional history (residencies and current hospital affiliations).
To learn latent representations (embeddings) of these physicians, the study utilized Graph Neural Networks (GNNs), specifically GraphSAGE and Attri2Vec. These models were tasked with predicting referrals by leveraging node features and neighborhood structures within the professional network. SHAP (Shapley Additive Explanations) was then used to rank which features—such as age, gender, or network centrality—were most influential in the model's predictions.
Key Insights: Social Capital and Homophily
The analysis revealed several striking patterns in how doctors refer patients:
- Social Capital as a Driver: A specialist’s "Degree Centrality" (the number of professional connections they possess) was the single most important predictor of receiving a referral. In short, the more connected a specialist is, the more patients are sent their way.
- Homophily in Medicine: There is a clear "birds of a feather" effect; doctors showed a significant tendency to refer patients to colleagues of the same gender and similar age.
- Organizational "Leakage": GNN embeddings clustered physicians by hospital even without explicit hospital data, suggesting that professional networks are powerful proxies for organizational structure.
Predictive Performance
The inclusion of professional network data significantly enhanced model accuracy across the board. Attri2Vec achieved an out-of-sample accuracy of 0.7268 when social information was included, compared to 0.6876 without it. GraphSAGE showed an even more dramatic improvement, with accuracy jumping from 0.5232 to 0.7072 upon the addition of social features.
Conclusion
This research proves that medical decisions are often as social as they are clinical. By revealing the influence of professional networks, the study provides a path toward more transparent and effective healthcare management. Future work should focus on developing recommendation systems that prioritize clinical efficacy over social biases, ensuring that referrals lead to the best possible patient outcomes rather than simply reinforcing existing professional circles.
Summary updated