Related Experiment Video
Updated: Jun 18, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Predicting new cases of hypertension in Swedish primary care with a machine learning tool
Anders Norrman1,2, Jan Hasselström1,2, Gunnar Ljunggren1,2
1Department of Neurobiology, Care Sciences and Society, Division of Family Medicine and Primary Care, Karolinska Institutet, Huddinge, Sweden.
Background:
Many individuals with hypertension remain undiagnosed. We aimed to develop a predictive model for hypertension using diagnostic codes from prevailing electronic medical records in Swedish primary care.
Methods:
This sex- and age-matched case-control (1:5) study included patients aged 30-65 years living in the Stockholm Region, Sweden, with a newly recorded diagnosis of hypertension during 2010-19 (cases) and individuals without a recorded hypertension diagnosis during 2010-19 (controls), in total 507,618 individuals. Patients with diagnoses of cardiovascular diseases or diabetes were excluded. A stochastic gradient boosting machine learning model was constructed using the 1,309 most registered ICD-10 codes from primary care for three years prior the hypertension diagnosis.
Results:
The model showed an area under the curve (95 % confidence interval) of 0.748 (0.742-0.753) for females and 0.745 (0.740-0.751) for males for predicting diagnosis of hypertension within three years. The sensitivity was 63 % and 68 %, and the specificity 76 % and 73 %, for females and males, respectively. The 25 diagnoses that contributed the most to the model for females and males all exhibited a normalized relative influence >1 %. The codes contributing most to the model, all with an odds ratio of marginal effects >1 for both sexes, were dyslipidaemia, obesity, and encountering health services in other circumstances.
Conclusions:
This machine learning model, using prevailing recorded diagnoses within primary health care, may contribute to the identification of patients at risk of unrecognized hypertension. The added value of this predictive model beyond information of blood pressure warrants further study.
More Related Videos
07:51Hydra, a Computer-Based Platform for Aiding Clinicians in Cardiovascular Analysis and Diagnosis
Published on: September 26, 2018
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Errors occurring during blood pressure monitoring
Several factors...
Pre-Procedural Guidelines for Assessing Blood Pressure
Factors affecting Blood pressure
Physiological Factors:
Hypertension and Regulation of Blood Pressure
Assessment of blood pressure in brachial artery(two-step method)
Assessment of blood pressure in brachial artery(one-step method)
Prepare for the Procedure: