Research Appraisalobservational

Predicting Melanoma Impact on the Swedish Healthcare System from the Adult Population Using Machine Learning on Registry Data

Acta dermato-venereologicaGillstedt, Martin, Stempfle, Lena, Paoli, John et al.8 Apr 2026DOI

Clinical Snapshot

75CEBM
Evidence: Moderateobservational

PICO Framework

P — PopulationAll adults in Sweden with continuous residency for 9.5 years (n = 6,036,186)
I — InterventionMachine learning prediction models using registry data (demographics, diagnoses, medications)
C — ComparatorModels with demographics only versus models with full healthcare data
O — OutcomesMelanoma diagnosis (including melanoma in situ) within 5 years of index date (31 December 2014)

Bottom Line

This large Swedish registry study demonstrates that machine learning models can predict melanoma risk with moderate accuracy (AUC 0.735) using comprehensive healthcare data. While the population-based approach provides excellent external validity, the clinical utility remains unclear without defined risk thresholds or comparison to existing risk assessment tools. The 0.64% melanoma incidence over 5 years aligns with expected rates in fair-skinned populations. The modest improvement in discrimination when adding healthcare codes (AUC 0.681 to 0.735) suggests that demographic and socioeconomic factors capture much of the predictable risk. Before clinical implementation, the model requires external validation, calibration assessment, and development of actionable risk categories. The approach shows promise for population health screening strategies but needs further development for individual patient risk assessment.

Evidence: Moderate

Key Findings

  • P Value: Not reported

  • Effect Size: AUC 0.735 for best performing gradient boosting model

  • Primary Outcome: Melanoma diagnosis within 5 years

  • Nnt Or Sensitivity: Melanoma incidence 0.64% (38,582/6,036,186); AUC improvement from 0.681 to 0.735 with healthcare data inclusion

  • Confidence Interval: 95% CI: 0.725-0.746

Clinical Application

Requires sophisticated registry infrastructure and computational resources; may be challenging to implement in routine clinical practice Could potentially be adapted using Australian Institute of Health and Welfare data, Medicare Benefits Schedule, and Pharmaceutical Benefits Scheme records, though would require validation in Australian population Adult populations with comprehensive healthcare registry systems similar to Sweden

Abstract

Melanoma incidence has increased in Western countries over the past 50 years, leading to significant healthcare costs. In Sweden, comprehensive healthcare registries enable large-scale prediction studies using machine learning. Several machine learning models were evaluated to predict melanoma diagnoses using Swedish registry data, assessing the added value of diagnostic and medication data beyond demographics. The study included all adults in Sweden with continuous residency for 9.5 years (n = 6,036,186). The outcome was a melanoma diagnosis, including melanoma in situ, recorded within 5 years after the index date (31 December 2014). Predictors included age, sex, income, education, marital status, region of birth, diagnoses, and dispensed drugs. Models tested were logistic regression, gradient boosting, random forests, and a neural network. A total of 38,582 individuals (0.64%) developed melanoma. The gradient boosting model using all predictors performed best, with an area under the receiving operating characteristics curve (AUC) of 0.735 (95% confidence interval [CI], 0.725-0.746). When diagnosis and medication data were excluded, AUC dropped to 0.681 (95% CI: 0.670-0.691). The findings highlight that including healthcare codes improves predictive performance, and demonstrate the utility of Swedish registries for computational phenotyping. This approach may support early detection of melanoma and targeted follow-up.

References

  1. 1.Gillstedt, M., Stempfle, L., Paoli, J., Johansson, F. D., & Polesie, S. (2026). Predicting melanoma impact on the Swedish healthcare system from the adult population using machine learning on registry data. Acta Dermato-Venereologica, 106. https://doi.org/10.2340/actadv.v106.44610
Share:XLinkedIn

This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service