m+Medelevator.RU
← Поиск публикаций
Scientific reports · 2025

Инструмент машинного обучения для прогнозирования недавно диагностированного остеопороза в области первичной медико-санитарной помощи в регионе Стокгольма.

Название и аннотация: Машинный перевод · не проверен
Обработка статьи · этапы, ошибки и управление
Загрузка состояния…

История · было → стало

Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.

Wändell P, Carlsson AC, Swärd P, Eriksson J, Ärnlöv J, Rosenblad A, Wachtler C, Ruge T

Аннотация

Повышение точности и своевременности диагностики остеопороза может помочь предотвратить хрупкие переломы, заболеваемость и смертность для пожилых людей. Остеопороз часто является безмолвным состоянием здоровья, особенно в том, что касается переломов позвоночника, и ВОЗ обратилась с призывом к оказанию первичной медико-санитарной помощи, с тем чтобы она вела работу по выявлению, оценке и лечению таких заболеваний, как остеопороз. Мы использовали метод машинного обучения, Stocastic Gradient Bousting (SGB), чтобы определить, какие диагнозы в системе первичной медико-санитарной помощи предсказывают новый остеопорозный диагноз с использованием модели борьбы с остеопорозом в зависимости от пола и возраста. Случаи нового остеопорозаICD-10 код: М80, М81, М82 были выявлены во всех амбулаторных учреждениях 2012-2019. Мы включали людей в возрасте ≥ 40 Возраст, стратифицирован в разбивке по полу и возрастным группам 40-65 годы и > 65 ..старше. Отбор проб осуществлялся у амбулаторных больных, у которых никогда не было остеопороза. 2010-2019. Используя модель SGB, мы ранжировали наиболее важные диагнозы, связанные с недавно диагностированным остеопорозом, которые были представлены как нормализованное относительное влияние (NRI) с соответствующим коэффициентом вероятности маргинальных эффектов (ORME) от нового диагноза остеопороза. Для разработки модели использовался подход, предусматривающий проведение испытаний поездов, при этом эффективность оценивалась с использованием зоны под кривой (AUC). В целом мы включили 30,741 больные остеопорозом в возрасте ≥ 40 Годы. АУК была под кайфом > 0.899 для всех возрастных и сексуальных групп. Число посещений системы первичной медико-санитарной помощи в год, предшествующий диагностике остеопороза, позволило получить наиболее прогнозируемую информацию по всем возрастным и половым группам. По всем возрастным группам ряд других факторов также продемонстрировали высокий уровень НРИ и ОРМЕ, и среди них многие неконкретные диагнозы, такие, как Дорсалгия, показали высокий уровень НРИ (Dorsalgia).2.6-9.0%) и другие болезненные мышечные расстройства. Однако наше исследование также показало, что диагноз гипертензии был очень высоким для пациентов в возрасте > 65 лет, но не у пациентов 40-65 возраст. В этом исследовании МА, включающем только диагностику пациентов в центрах первичной медико-санитарной помощи, мы обнаружили, что количество консультаций в центрах первичной медико-санитарной помощи имеет высокую прогнозируемую информацию, а также неконкретные диагнозы, включая мышечную и скелетную боль, прогнозируем высокий риск остеопороза во всех возрастных группах.
Оригинал публикации

A machine learning tool for predicting newly diagnosed osteoporosis in primary healthcare in the Stockholm Region.

Improving accuracy and timeliness for osteoporosis diagnosis could help prevent fragility fractures, morbidity, and mortality for older individuals. Osteoporosis is an often silent health condition, especially as regards vertebral fractures, and WHO issued a call to action for primary care to lead efforts in screening, assessing, and managing diseases such as osteoporosis. We used a machine learning method, Stochastic Gradient Boosting (SGB), to identify what diagnoses in a primary care setting predict a new osteoporosis diagnosis, using a sex- and age-matched case-control design. Cases of new osteoporosis (ICD-10 code: M80, M81, M82) were identified across all outpatient care settings during 2012-2019. We included individuals aged ≥ 40 years old, stratified by sex and age-groups 40-65 years and > 65 years old. Controls were sampled from outpatients that did not have osteoporosis at any time during 2010-2019. Using the SGB model, we ranked the most important diagnoses related to newly diagnosed osteoporosis, presented as the normalized relative influence (NRI) score with a corresponding odds ratio of marginal effects (ORME) of being newly diagnosed with osteoporosis. A train-test approach was used to develop the model, with the performance evaluated using area under the curve (AUC). In total, we included 30,741 patients with osteoporosis aged ≥ 40 years. AUC was high, > 0.899 for all age and sex stratas. The number of visits to primary care in the year prior to the osteoporosis diagnosis contributed with the most predictive information for all age and sex stratas. For all age groups several other factors also showed high NRI and ORME and among them many unspecific diagnoses such as Dorsalgia showed high NRI, (2.6-9.0%) and other painful musculoskeletal disorders. However, our study also showed that the diagnosis of Hypertension had a very high NRI for patients aged > 65 years but not in patients 40-65 years of age. In this AI study, including only diagnoses from patients seen in primary health care centres, we found that the number of consultations in primary care had high predictive information as well unspecific diagnoses including muscle and skeletal pain predicted high risk for osteoporosis in all age groups.

Перевод полного текста: Перевод в очереди

Читать найденный полный текст

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ .

Introduction

Osteoporosis is an often silent health condition and an increasing challenge for health care and society because of the world’s ageing population 1 . Osteoporosis is a common metabolic bone disorder with a strong hereditary influence whereas as much as 75% of the variability in bone mineral density (BMD) can be explained by heritability 2 . Genetic markers only explain about 20% of the variability in BMD, according to a study from the UK biobank of more than 400,000 individuals 3 . Osteoporosis development is influenced by lifestyle habits such as diet and physical activity throughout life 4 . It is characterized by low bone mass, structural deterioration of bone tissue, and disruption of bone microarchitecture, as well as risk of fractures after mild or minimal trauma, i.e., osteoporotic or fragility fractures. Osteoporosis diagnosis is primarily based on BMD as assessed by dual-energy X-ray absorptiometry (DXA) 5 . Fractures of the hip, forearm, humerus, pelvis, and vertebrae are most often attributable to osteoporosis 6 , 7 . Individuals with osteoporosis have a higher risk of all-cause mortality and increased healthcare costs 8 , especially in developed countries 9 , including the EU 10 . Geographic and ethnic patterns differ globally 11 , 12 . Fragility fractures are especially common in Northern Europe. In a Norwegian study, the incidence of hip and forearm fractures were shown to be higher than in studies from other countries 13 . Fractures place a severe burden on aging individuals since they may lead to poor quality of life and increased mortality 14 . The World Health Organization (WHO) defined osteoporosis as BMD being 2.5 SD or more below the average value for young healthy women ( t -score < − 2.5 SD). A second threshold describes “low bone mass” or osteopenia as a t -score that lies between − 2.5 and − 1.0 SDs. WHO issued a call to action for primary care to lead efforts in screening, assessing, and managing non-communicable diseases, including osteoporosis 15 .

Osteoporosis remains underdiagnosed and undertreated and suspected osteoporosis is often only investigated once the individual has a low energy fracture 16 . The main risk factors for fragility fractures and altered bone metabolism are well known and include older age, female sex, ethnicity, heredity, previous fracture, malnutrition, alcohol overconsumption, current smoking, vitamin D deficiency, physical inactivity, various medications, and medical disorders 17 , 18 . Diagnosis of osteoporosis has important implications for patient care. Vertebral fractures, one of the most common osteoporotic fractures, is often underdiagnosed and greatly influences patient mobility and quality of life 19 , 20 . Hip fractures are of high interest as they affect individual’s function profoundly and require hospitalization and surgery 21 . Current knowledge about risk factors for osteoporosis is not applied systematically. Fracture risk can be assessed by the Fracture Risk Assessment Tool (FRAX®) 5 . However, FRAX is not ideal in all circumstances 22 – 24 , and addition of Trabecular Bone Score (TBS) assessment to FRAX and/or BMD enhances fracture risk prediction 25 . Besides, different fall risk indices are used clinically 26 , and the Downton Fall Risk Index has been shown to predict hip fractures 27 . Even emergent fractures do not always lead to further investigations into bone mass status 16 , 28 . A systematic approach to identify of osteoporosis risk based on automatic analysis of routinely collected clinical information could improve osteoporosis diagnosis frequency leading to reduced fracture risk.

With the help of machine learning (ML) and artificial intelligence (AI) large amounts of clinical datasets can be assessed and prediction of diseases based on underlying variables and patterns can be understood. Different ML and AI models have been developed in order to predict osteoporosis considering traditional factors known to be associated with increased risk of osteoporosis. In brief, four main areas have been approached, bone properties assessment, osteoporosis classification, fracture detection, and risk prediction 29 . Yoo et al. and Kim et al. developed ML models with the aim of identifying risk of osteoporosis in Korean postmenopausal women, a group with a particular increased risk for osteoporosis 30 . Critical variables such as age, height, weight, body mass index, duration of menopause, duration of breast feeding, estrogen therapy, hyperlipidemia, hypertension, osteoarthritis, and diabetes mellitus were identified. Suh et al. constructed a deep-learning model with clinical risk factors for osteoporosis with an AUC 0.85–0.92 identifying sex, age, BMI as well as chronic diseases as important variables 31 . Patients with chronic diseases have an increased risk for osteoporosis and ML models have been developed to predict osteoporosis in patients with rheumatoid arthritis 32 , identifying risk factors such as Body mass index, age, menopause, waist and hip circumferences, RA surgery, and monthly income) as well as in patients with type 2 diabetes 33 , and in postmenopausal women with diabetes 34 .

In summary, early identification and treatment of osteoporosis could lead to significant benefits for patients, healthcare, and society. We believe that the use of ML and AI has a great potential by helping the clinicians with predictive models. In contrast to previous performed ML models, our research approach was to examine the feasibility of utilizing primary care diagnoses and healthcare-seeking behaviours to identify individuals with elevated risks of osteoporosis. We hypothesized that discernible diagnostic patterns and healthcare-seeking behaviours may reveal patterns preceding a formal diagnosis of osteoporosis, which may increase the awareness of osteoporosis and leveraged to improve identification and treatment of in primary care.

Methods and material

Study design and participants

This study used a sex- and age-matched case–control design that sought to develop a predictive model for osteoporosis using a machine learning algorithm. The controls were selected from individuals who had not received a diagnosis of osteoporosis within our study period (2010–2019). Up to ten controls were individually matched to each case, resulting in a total of 338,151 individuals included in the study. The study used an AI-method, Stochastic Gradient Boosting (SGB), to identify relevant diagnoses for detecting new osteoporosis in a primary care setting 35 . The study population consisted of individuals aged ≥ 40 years registered at primary health care centres (PHCCs) in Region Stockholm, an area with a population of approximately 2.4 million residents. Data for this study were gathered from the VAL-databases 36 , which encompass all registered diagnoses based on the International Classification of Diseases, 10th Revision (ICD-10). Apart from very few private clinics that operate without subsidies in Stockholm, all appointments and diagnoses are recorded and stored in VAL, the central regional data warehouse. The data for this study were collected specifically from visits to PHCCs in the Stockholm Region. It has been estimated that approximately 95% of all physician appointments in primary care have at least one diagnosis recorded and stored in VAL. Cases of incident osteoporosis (ICD-10 codes: M80, M81, M82) were identified across all outpatient care settings 2012–2019 (without an osteoporosis diagnosis in 2010–2011), but data on the diagnoses and health care utilization used for predicting new osteoporosis diagnosis were exclusively obtained from the PHCCs, to mimic what is available in patient records in primary care. The controls were sampled from the outpatients in 2012–2019 that did not have osteoporosis at any time during 2010–2019.

Cases and controls were identified based on medical record data from the years 2012–2019. For controls, we examined diagnoses registered during the three years prior to the diagnosis date of the matched case (index date). We identified 31,580 individuals with a new osteoporosis diagnosis during 2012–2019 (who had no osteoporosis diagnosis registered during 2010–2011). The present study’s focus on patients ≥ 40 years old was due to osteoporosis being extremely rare in younger individuals. Thus, we included 30,741 patients ≥ 40 years old with osteoporosis.

Statistical analyses

The SGB technique is a form of machine learning utilized in related research 37 . For instance, tree-based machine learning methods such as SGB have been recommended in a recent meta-analysis of machine learning tools for detecting diabetes 38 , and we have recently published an article on the detection of new diabetes 39 . SGB models that were applied used Bernoulli loss function with up to 20,000 trees, and a depth of maximum 5 interactions. The shrinkage (learning rate) was set to of 0.01, and minimum 10 observations in the terminal nodes. The subsampling rate (bag fraction) was 0.5 and a10-fold cross-validation was used to obtain the optimal number of trees.

We listed all diagnoses during the three years before the index date for all individuals based on a list of the top 2000 most common diagnoses registered in primary care 40 .

As risk factors for osteoporosis are divergent in men and women, and the diagnosis pattern is different in men and women, we performed sex-stratified analyses. We split the entire dataset into males and females, as well as in younger (40–65 years old) and older adults (> 65 years old). For each group, we split the data into a 50% training set and a 50% test set, ensuring that the proportion of individuals with osteoporosis was roughly equal between the training and test data sets.

For each training data set, we selected diagnoses with at least 10 occurrences, resulting in 177 diagnoses for men aged 40–65, 174 diagnoses for men aged > 65, 252 diagnoses for women aged 40–65 and 320 diagnoses for women aged > 65. The performances of the final models were evaluated using area under the receiver operator characteristics (ROC) curve (AUC), sensitivity, and specificity. The SGB model was then applied to each test data set to obtain patient-specific probabilities of being newly diagnosed with osteoporosis. The probabilities that maximized the sum of sensitivity and specificity were used as cut-off values, so that patients with a probability higher than this cut-off were classified as being newly diagnosed with osteoporosis. The results are presented in a confusion matrix with performance of the prediction given by sensitivity and specificity.

From the SGB model, we ranked the most important diagnoses related to newly diagnosed osteoporosis, presented as the normalized relative influence (NRI) score with a corresponding odds ratio of marginal effects (OR ME ) of being newly diagnosed with osteoporosis. For each diagnosis, the odds ratio was calculated using the probabilities of being newly diagnosed with osteoporosis obtained by integrating out all other variables in the model using the weighted tree traversal method. The analyses were performed using R version 4.2.1 41 , with the R package ‘gbm’ used for the SGB analyses.

Ethics

The study plan was approved by the Swedish Ethical Review Authority and all data were pseudonymized to protect patient privacy. All methods were carried out in accordance with relevant guidelines and regulations, and as with all register based studies without recruitment of participants by invitation, a waiver of informed consent was granted. The data in the present study are available for research purposes by qualified researchers trained in human subject confidentiality protocols after ethical approval from Region Stockholm at halsodata.rst@regionstockholm.se.

Results

We identified 30,741 patients ≥ 40 years of age with osteoporosis. Since controls were sex- and age-matched, there were no significant age differences between cases and controls. In summary, the model showed an AUC of 0.931 for men 40–65 years and 0.946 for men > 65 years old, and for women an AUC of 0.922 for women 40–65 years and 0.950 for women > 65 years old (Figs. 1 and 2 ).

Fig. 1 ( A , B ) Receiver operator characteristics curve for the optimal stochastic gradient boosting model applied to the men in the test data set. A denotes men 40–65 years, and…
Fig. 1 ( A , B ) Receiver operator characteristics curve for the optimal stochastic gradient boosting model applied to the men in the test data set. A denotes men 40–65 years, and B men > 65 years.
Fig. 2 ( A , B ) Receiver operator characteristics curve for the optimal stochastic gradient boosting model applied to the women in the test data set. A denotes women 40–65 years,…
Fig. 2 ( A , B ) Receiver operator characteristics curve for the optimal stochastic gradient boosting model applied to the women in the test data set. A denotes women 40–65 years, and B women > 65 years.

Among the 46,622 included men, 3974 (8.5%) had an osteoporosis diagnosis. For men aged 40–65 years, 8158 were included in the training group where 792 (9.7%) had an osteoporosis diagnosis, and 8158 were included in the test group where 786 (9.6%) had osteoporosis. Among men aged > 65 years, 15,153 were included in the training group where 1189 (7.8%) had osteoporosis, and 15,153 were included in the test group where 1207 (8.0%) had osteoporosis.

Among women, 291,529 were included where 26,767 (9.2%) had an osteoporosis diagnosis. For women aged 40–65 years, 4330 (9.3%) of the 46,518 in the training group had osteoporosis, while 4343 (9.3%) of the 46,517 included in the test group had osteoporosis. For women aged > 65 years, 99,247 were included in the training group where 8865 (8.9%) had osteoporosis, and 99,247 were included in the test group where 9229 (9.3%) had osteoporosis.

Ability of prediction of the SGB model

The predictive ability of the SGB model is presented in Table 1 , which shows the confusion matrix for men and women based on diagnoses made 3 years before the osteoporosis diagnosis in the test dataset. The SGB model used a maximum of 20,000 decision trees; for men 40–65 years 1023 trees, with sensitivity: 0.837, and specificity 0.888; for men > 65 years 2617 trees, with sensitivity 0.833, and specificity 0.920; for women 40–65 years 8208 trees, with sensitivity 0.822, and specificity 0.873; and finally for women > 65 years 12,582 trees, with sensitivity 0.837, and specificity 0.936.

Table 1
Confusion matrix for predicting presence of new osteoporosis among men and women in the test dataset using the optimal number of stochastic gradient boosting trees.

PredictedObserved
Not osteoporosisOsteoporosisTotal
Men 40–65 years
Not osteoporosis64841286612
Osteoporosis8886581546
Total73727868158
Men > 65 years
Not osteoporosis12,83320113,034
Osteoporosis111310062119
Total13,946120715,153
Women 40–65 years
Not osteoporosis36,82277237,594
Osteoporosis535235718923
Total42,174434346,517
Women > 65 years
Not osteoporosis84,293150885,801
Osteoporosis5725772113,446
Total90,018922999,247

Variable importance

Table 2 presents the 10 diagnoses with the highest NRI specifically for men, while Table 3 does the same for women. For men aged 40–65 years, the top five factors with the highest relative influence (NRI) were “Number of visits to primary care 12 months before diagnosis”, followed by “Hypertension”, “Encounter for medical observation for suspected diseases and conditions ruled out”, "Dorsalgia”, and “Persons encountering health services in other circumstances”. For men aged > 65 years, the top five diagnoses with the highest relative influence (NRI) were “Number of visits to primary care 12 months before diagnosis”, “Hypertension”, "Dorsalgia”, “Encounter for other special examination without complaint, suspected or reported diagnosis”, and “Other and unspecified soft tissue disorders, not elsewhere classified”.

Table 2
Results of the predicted presence of new osteoporosis diagnosis among men using the optimal stochastic gradient boosting (SGB) model with 20,000 trees, together with odds ratios for marginal effects (OR ME ) of osteoporosis.
The 10 variables for men with highest normalized relative influence (NRI) are shown.

ICD-10 codeDescriptionNRI (%)OR ME
40–65 years
VisitsNumber of visits 12 months before diagnosis72.26.5
HypertensionI10, I11, I12, I13, I153.21.7
Z03Encounter for medical observation for suspected diseases and conditions ruled out3.11.5
M54Dorsalgia2.61.8
Z76Persons encountering health services in other circumstances2.41.7
M25Other joint disorder, not elsewhere classified1.82.2
J06Acute upper respiratory infections1.72.2
Painful conditionK58, R52, B02, G50, G35, G53, G54, G55, G56, G57, G58, G60, G61, G62, G63, G951.11.9
M79Other and unspecified soft tissue disorders, not elsewhere classified0.91.4
AsthmaJ45, J460.87.8
> 65 years
VisitsNumber of visits 12 months before diagnosis31.89.2
HypertensionI10, I11, I12, I13, I1520.25.4
M54Dorsalgia9.014.7
Z03Encounter for medical observation for suspected diseases and conditions ruled out2.92.3
M79Other and unspecified soft tissue disorders, not elsewhere classified2.84.1
I48Atrial fibrillation and flutter1.92.0
Painful conditionK58, R52, B02, G50, G35, G53, G54, G55, G56, G57, G58, G60, G61, G62, G63, G951.91.9
M48Other spondylopathies1.815.2
Z76Persons encountering health services in other circumstances1.80.7
Z92Personal history of medical treatment1.53.0

Table 3
Results of the predicted presence of new osteoporosis diagnosis among women using the optimal stochastic gradient boosting (SGB) model with 20,000 trees, together with odds ratios for marginal effects (OR ME ) of osteoporosis.
The 10 variables for women with highest normalized relative influence (NRI) are shown.

ICD-10 codeDescriptionNRI (%)OR ME
40–65 years
VisitsNumber of visits 12 months before diagnosis43.610.4
M54Dorsalgia5.33.8
Z03Encounter for medical observation for suspected diseases and conditions ruled out5.02.2
M79Other and unspecified soft tissue disorders, not elsewhere classified5.03.0
HypertensionI10, I11, I12, I13, I154.01.8
Painful conditionK58, R52, B02, G50, G35, G53, G54, G55, G56, G57, G58, G60, G61, G62, G63, G953.42.5
Z76Persons encountering health services in other circumstances2.81.6
J06Acute upper respiratory infections2.72.6
M25Other joint disorder, not elsewhere classified2.32.0
Thyroid disordersE02, E03, E071.75.3
> 65 years
HypertensionI10, I11, I12, I13, I1527.111.7
VisitsNumber of visits 12 months before diagnosis26.712.0
M54Dorsalgia6.49.4
Z03Encounter for medical observation for suspected diseases and conditions ruled out5.42.8
M79Other and unspecified soft tissue disorders, not elsewhere classified4.34.6
Painful conditionK58, R52, B02, G50, G35, G53, G54, G55, G56, G57, G58, G60, G61, G62, G63, G953.54.1
Z76Persons encountering health services in other circumstances3.41.4
Thyroid disordersE02, E03, E071.74.5
Chronic obstructive pulmonary diseaseJ41, J42, J43, J441.15.3
Z00General medical examination1.01.7

Similarly, for women aged 40–65 years (Table 3 ), the top five diagnoses with the highest NRI were “Number of visits 12 months before diagnosis”, Dorsalgia, “Encounter for other special examination without complaint, suspected or reported diagnosis”, “Other and unspecified soft tissue disorders, not elsewhere classified”, and “Hypertension”; and for women > 65 years “Hypertension”, “Number of visits to primary care 12 months before diagnosis”, “Dorsalgia”, “Encounter for other special examination without complaint, suspected or reported diagnosis”, and “Painful condition”.

For marginal effects (Tables 2 and 3 ), the results for the sex and age-group stratified models showed that the top 5 diagnoses with the highest NRI all had an OR ME > 1.

Discussion

In this study when using a machine learning algorithm to detect osteoporosis, we found different contributing factors. For instance, the number of visits to primary care in the year prior to the osteoporosis diagnosis contributed with the most predictive information, compared to specific diagnoses that the patient received at these multiple visits. In addition, diagnosis of painful conditions, visits for unspecific symptoms, and diagnosis of hypertension all contributed to prediction of an osteoporosis diagnosis for both sexes in all age categories.

Recent findings underline that different screening approaches may be needed to identify patients at risk of fragility fracture. The Risk-stratified Osteoporosis Strategy Evaluation (ROSE) randomized trial identified some shortcomings in the algorithm; FRAX to select women for DXA scan followed by (in women with DXA verified osteoporosis) a recommendation to discuss anti-osteoporotic medication with their GP. Overall gains regarding fracture risk and mortality were only observed in women at moderate to high risk who went on to undergo DXA scans. Women who declined or did not attend an offered DXA (29%) were characterized by higher age, living alone and higher osteoporosis risk profile 24 . It was suggested, that combining traditional screening methods with automated digital detection tools including the Fracture Risk Evaluation Model (FREM) or the Fracture Liaison Service (FLS) 42 , could lead to the identification of a larger population at risk 24 .

Results in perspective

Several attempts to predict the risk for osteoporosis with the help of AI and machine learning have been done, with subsequent reviews and meta-analyses being performed 29 , 43 – 45 . Risk prediction models have included the risks of bone density loss (BMD), fragility fractures, falls, or comorbidities 29 ; BMI, pregnancy, duration of menopause, estrogen therapy, or co-morbidities such as osteoarthritis, rheumatoid arthritis, or diabetes 43 . Compared to these models we identified diagnoses and factors from the primary care medical records, i.e. we used another approach. It is difficult to compare our results with results from the different included studies owing to the great variety of methods.

Most low energy hip and radius fractures are detected and treated at emergency departments at hospitals, but many vertebral fractures are asymptomatic or rather misdiagnosed. A US study showed that more than two thirds of vertebral fractures are undetected 46 . Vertebral fracture is a common fragility fracture 47 , 48 , and is prognostic for a higher risk of future vertebral fractures 49 as well as for other fractures, especially hip fractures 50 .

The definition of osteoporosis in this study depends on the clinician setting the diagnosis. In this study, cases are defined as having an osteoporosis diagnosis with or without fracture, and we lack information whether the cases have a DXA preceding diagnosis or not. However, fragility fractures are among the most obvious clinical manifestations of osteoporosis which could lead to treatment and diagnosis without a previous DXA, particularly in elderly patients, why it could be presumed that the cases identified are likely to represent true osteoporosis 51 . However, vertebral fractures are to a large rate undetected 46 , why this is a crucial point for detecting osteoporosis early and initiate treatment.

In this study, search patterns prior to osteoporosis diagnosis differed very little between men and women, and incidence of osteoporosis was higher in female patients. It is well accepted that women develop osteoporosis at a younger age due to the sudden drop in hormone (estrogen) levels at menopause. Decrease in bone mass occurs at a slower rate in men than in women until the age of 65–70 years, when the rate is the same for men and women, and women tend to have fractures about 5–10 years earlier than men 52 . The most plausible explanation for our findings is that our data probably only represents patients seen in PHCCs. This means that they do not include patients presenting with fragility fractures at the emergency department where the sex difference may be more pronounced.

In this study, the diagnosis dorsalgia was highly predictive of osteoporosis, especially among women, but there were also other pain related diagnoses such as unspecific painful conditions, joint pain, or unspecified pain, which had high predictive values for osteoporosis in both men and women. “Dorsalgia” is an unspecific diagnosis in primary health care and one of the most common diagnoses in Sweden, accounting for 2.6% of all primary health diagnoses 40 . It is possible that the “dorsalgia” diagnosis could reflect a fragility vertebral fracture, especially in the case of recent trauma, prolonged use of corticosteroids, age, structural spinal deformity, and loss of height 46 , 50 . In a Japanese study among women aged > 70 years old with acute lower back pain, as many as 77% had a vertebral fracture, with occult fractures amounting for 33% of the total number of vertebral fractures 53 . Our study suggests that unspecific pain in a patient may merit further investigation of potential vertebral fractures. It is known that vertebral fractures (the most common fragility fracture) can occur non-traumatically, are vastly underdiagnosed, and often mistaken for unspecific skeletal and joint pain 54 . It was recently shown that the identification of an occult vertebral fracture predicted future fragility fractures, including hip fractures, independently of BMD and clinical risk factors from FRAX 55 . Our findings further reinforce that osteoporosis is underdiagnosed. A review of osteoporosis prevalence found a global rate of 18.3%, and a European rate of 18.6% 56 .

Finally, our study also identified patients with chronic diseases as a group of patients with an increased risk of being diagnosed with osteoporosis. This is in concert with the literature where previous data have established a well-accepted risk for osteoporosis in patients with chronic diseases. Interestingly, this group of patients stands out as a specific risk group in primary health care. Patients with chronic diseases have a high consumption of health care and are often seen as frequent visitors at different health care centres.

Strengths and limitations

There are limitations as well as strengths to this study. We studied individuals who received a osteoporosis diagnosis, but individuals with as yet undetected osteoporosis might have other patterns. For example, undetected or false negative rates of vertebral fractures have been shown to be between 34% 57 and 68%. Even though the model showed that certain diagnoses were predictive for a later osteoporosis diagnosis, it remains to be shown how this information can inform clinical choices about further investigation. Among the strengths is that we base this study on a database containing the total population of residents from Region Stockholm.

Clinical implications

Because traditional prognostic models are always built on theoretical, hypothetical relationships between known risk factors and the outcome, AI methodology adds value—because it is explorative and can identify previously unknown relationships. However, the prognostic value of these factors needs to be externally validated before it can be used clinically. The current main use of the findings is the study contribution to the etiology of osteoporosis and that the findings of the study may be used as hypothesis generating as the predicting diagnoses may be viewed as risk factors for osteoporosis. We are collaborating with software developers with suitable platforms, where our algorithms may be tested and implemented in the future ( https://www.blackwell.se/ ), that may be used by doctors, together with the patient record data to identify undiagnosed patients in primary care. This is, however, not yet in place.

Conclusions

In conclusion, the utilization of machine learning for the identification of patients with osteoporosis in primary care is not merely a technological advancement but could be a strategic imperative, in finding patterns preceding a diagnosis, and thus underlining a more detailed examination. As the field of healthcare continues to evolve, embracing machine learning in the primary care setting could possibly be a useful step towards achieving precision medicine and addressing the growing public health challenge posed by osteoporosis.

Abbreviations

Bone mineral density

Normalized relative influence

Primary health care centre

Standard deviation

Stochastic gradient boosting

Author contributions

PW: concept, manuscript drafting and review. ACC: data acquisition, concept, constructive review of manuscript PS: constructive review of manuscript JE: statistical analysis, statistical review of the manuscript JÄ: constructive review of manuscript AR: Machine learning methodology, constructive review of manuscript CW: Ethical approval, constructive review of manuscript TR: concept, constructive review of manuscript.

Funding

Open access funding provided by Karolinska Institute. Axel C Carlsson received funding for his salary from Region Stockholm.

Data availability

The data that support the findings of this study are available from Region Stockholm at halsodata.rst@regionstockholm.se, but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are however available from the authors upon reasonable request and with permission of Region Stockholm.

Declarations

Competing interests

The authors declare no competing interests.

Ethics approval and consent to participate

The study was approved by the Swedish Ethical Review Authority and all data were pseudonymized to protect patient privacy (2021-01016 and later amendments), as with all register-based studies without recruitment of participants by invitation, a waiver of informed consent was granted.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

1. Singer, A. J., Sharma, A., Deignan, C. & Borgermans, L. Closing the gap in osteoporosis management: the critical role of primary care in bone health. Curr. Med. Res. Opin. 39 , 387–398 (2023).

2. Recker, R. R. & Deng, H. W. Role of genetics in osteoporosis. Endocrine 17 , 55–66 (2002).

3. Morris, J. A. et al. An atlas of genetic influences on osteoporosis in humans and mice. Nat. Genet. 51 , 258–266 (2019).

4. Muraki, S. et al. Diet and lifestyle associated with increased bone mineral density: Cross-sectional study of Japanese elderly women at an osteoporosis outpatient clinic. J. Orthop. Sci. 12 , 317–320 (2007).

5. Kanis, J,A., Cooper, C., Rizzoli, R., Reginster, J.Y., Scientific Advisory Board of the European Society for C, Economic Aspects of O, et al. European guidance for the diagnosis and management of osteoporosis in postmenopausal women. Osteoporos. Int . 30 , 3–44 (2019).

6. Abtahi, S. et al. Secular trends in major osteoporotic fractures among 50+ adults in Denmark between 1995 and 2010. Osteoporos. Int. 30 , 2217–2223 (2019).

7. Warriner, A. H. et al. Which fractures are most attributable to osteoporosis?. J. Clin. Epidemiol. 64 , 46–53 (2011).

8. Mitchell, P. J., Chan, D. D., Lee, J. K., Tabu, I. & Alpuerto, B. B. The global burden of fragility fractures - what are the differences, and where are the gaps. Best Pract Res Clin Rheumatol. 36 , 101777 (2022).

9. Johnell, O. & Kanis, J. A. An estimate of the worldwide prevalence and disability associated with osteoporotic fractures. Osteoporos. Int. 17 , 1726–1733 (2006).

10. Hernlund, E. et al. Osteoporosis in the European union: medical management, epidemiology and economic burden: A report prepared in collaboration with the international osteoporosis foundation (IOF) and the European federation of pharmaceutical industry associations (EFPIA). Arch. Osteoporos. 8 , 136 (2013).

11. Cauley, J. A., Chalhoub, D., Kassem, A. M. & Fuleihan, G. H. Geographic and ethnic disparities in osteoporotic fractures. Nat. Rev. Endocrinol. 10 , 338–351 (2014).

12. Wang, X. F. & Seeman, E. Epidemiology and structural basis of racial differences in fragility fractures in Chinese and Caucasians. Osteoporos. Int. 23 , 411–422 (2012).

13. Lofthus, C. M. et al. Epidemiology of distal forearm fractures in Oslo, Norway. Osteoporos. Int. 19 , 781–786 (2008).

14. Shim, J. G. et al. Application of machine learning approaches for osteoporosis risk prediction in postmenopausal women. Arch. Osteoporos. 15 , 169 (2020).

15. Jakab, M., Farrington, J., Borgermans, L. & Mantingh, F. Health systems respond to noncommunicable diseases: time for ambition. Copenhagen, Denmark: WHO regional office for Europe. Public Health Panor. 4 , 507–514 (2018).

16. Fuggle, N. R. et al. The treatment gap: The missed opportunities for osteoporosis therapy. Bone 144 , 115833 (2021).

17. Malaise, O. et al. High detection rate of osteoporosis with screening of a general hospitalized population: A 6-year study in 6406 patients in a university hospital setting. BMC Musculoskelet. Disord. 21 , 90 (2020).

18. Carey, J. J., Chih-Hsing, Wu. P. & Bergin, D. Risk assessment tools for osteoporosis and fractures in 2022. Best Pract. Res. Clin. Rheumatol. 36 , 101775 (2022).

19. Ballane, G., Cauley, J. A., Luckey, M. M. & El-Hajj, F. G. Worldwide prevalence and incidence of osteoporotic vertebral fractures. Osteoporos. Int. 28 , 1531–1542 (2017).

20. Bow, C. H. et al. Ethnic difference of clinical vertebral fracture risk. Osteoporos. Int. 23 , 879–885 (2012).

21. Johnell, O. & Kanis, J. A. An estimate of the worldwide prevalence, mortality and disability associated with hip fracture. Osteoporos. Int. 15 , 897–902 (2004).

22. Ghannam, S., Blaney, H., Gelfond, J. & Bruder, J. M. The use of FRAX in identifying women less than 65 years needing bone mineral density testing. J. Clin. Densitom. 24 , 36–43 (2021).

23. Tomasiuk, J. M., Nowakowska-Plaza, A., Wislowska, M. & Gluszko, P. Osteoporosis and diabetes—Possible links and diagnostic difficulties. Reumatologia 61 , 294–304 (2023).

24. Petersen, T. G. et al. Ten-year follow-up of fracture risk in a systematic population-based screening program: The risk-stratified osteoporosis strategy evaluation (ROSE) randomised trial. EClinicalMedicine 71 , 102584 (2024).

25. Shevroja, E. et al. Update on the clinical use of trabecular bone score (TBS) in the management of osteoporosis: Results of an expert group meeting organized by the European society for clinical and economic aspects of osteoporosis, osteoarthritis and musculoskeletal diseases (ESCEO), and the international osteoporosis foundation (IOF) under the auspices of WHO collaborating center for epidemiology of musculoskeletal health and aging. Osteoporos. Int. 34 , 1501–1529 (2023).

26. Park, S. H. Tools for assessing fall risk in the elderly: a systematic review and meta-analysis. Aging Clin. Exp. Res. 30 , 1–16 (2018).

27. Nilsson, M. et al. Fall risk assessment predicts fall-related injury, hip fracture, and head injury in older adults. J. Am. Geriatr. Soc. 64 , 2242–2250 (2016).

28. Kulbay, A., Vest, D., Thorngren, K.G., Hommel, A. & Hedstrom, M. Osteoporotic fractures—Still a challenge, the Swedish National Hip Fracture Registry shows undertreatment of osteoporosis after hip fractures. Lakartidningen .118 (2021).

29. Smets, J., Shevroja, E., Hugle, T., Leslie, W. D. & Hans, D. Machine learning solutions for osteoporosis—A Review. J. Bone Miner. Res. 36 , 833–851 (2021).

30. Yoo, T. K. et al. Osteoporosis risk prediction for bone mineral density assessment of postmenopausal women using machine learning. Yonsei Med. J. 54 , 1321–1330 (2013).

31. Suh, B. et al. Interpretable deep-learning approaches for osteoporosis risk screening and individualized feature analysis using large population-based data: Model development and performance evaluation. J. Med. Internet Res. 25 , e40179 (2023).

32. Lee, C., Joo, G., Shin, S., Im, H. & Moon, K. W. Prediction of osteoporosis in patients with rheumatoid arthritis using machine learning. Sci. Rep. 13 , 21800 (2023).

33. Wu, X. et al. Development of machine learning models for predicting osteoporosis in patients with type 2 diabetes mellitus—A preliminary study. Diabetes Metab. Syndr. Obes. 16 , 1987–2003 (2023).

34. Wu, X. et al. Application of machine learning algorithms to predict osteoporosis in postmenopausal women with type 2 diabetes mellitus. J. Endocrinol. Invest. 46 , 2535–2546 (2023).

35. Friedman, J. H. Stochastic gradient boosting. Comput. Stat. Data Anal. 38 , 367–378 (2002).

36. Carlsson, A. C. et al. High prevalence of diagnosis of diabetes, depression, anxiety, hypertension, asthma and COPD in the total population of Stockholm, Sweden—A challenge for public health. BMC Public Health 13 , 670 (2013).

37. Friedman, J. H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 29 (5), 1189–1232 (2001).

38. Fregoso-Aparicio, L., Noguez, J., Montesinos, L. & Garcia-Garcia, J. A. Machine learning and deep learning predictive models for type 2 diabetes: A systematic review. Diabetol. Metab. Syndr. 13 , 148 (2021).

39. Wandell, P. et al. A machine learning tool for identifying patients with newly diagnosed diabetes in primary care. Prim. Care Diabetes 18 (5), 501–505 (2024).

40. Wandell, P. et al. Most common diseases diagnosed in primary care in Stockholm, Sweden, in 2011. Fam. Pract. 30 , 506–513 (2013).

41. Team RC. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. http://www.R-project.org/ . (2016).

42. Gupta, A. et al. Digital health interventions for osteoporosis and post-fragility fracture care. Ther. Adv. Musculoskelet. Dis. 14 , 1759720X221083523 (2022).

43. Cruz, A. S., Lins, H. C., Medeiros, R. V. A., Filho, J. M. F. & da Silva, S. G. Artificial intelligence on the identification of risk groups for osteoporosis, a general review. Biomed. Eng. Online 17 , 12 (2018).

44. Ferizi, U., Honig, S. & Chang, G. Artificial intelligence, osteoporosis and fragility fractures. Curr. Opin. Rheumatol. 31 , 368–375 (2019).

45. Rahim, F. et al. Machine learning algorithms for diagnosis of hip bone osteoporosis: A systematic review and meta-analysis study. Biomed. Eng. Online. 22 , 68 (2023).

46. McCarthy, J. & Davis, A. Diagnosis and management of vertebral compression fractures. Am. Fam. Physician 94 , 44–50 (2016).

47. Kanis, J. A. et al. Long-term risk of osteoporotic fracture in Malmo. Osteoporos. Int. 11 , 669–674 (2000).

48. Johansson, L. et al. The prevalence of vertebral fractures is associated with reduced hip bone density and inferior peripheral appendicular volumetric bone density and structure in older women. J. Bone Miner. Res. 33 , 250–260 (2018).

49. Rubino, F. J. et al. Active identification of vertebral fracture in the FLS model of care. Arch. Osteoporos. 18 , 89 (2023).

50. Zeytinoglu, M., Jain, R. K. & Vokes, T. J. Vertebral fracture assessment: Enhancing the diagnosis, prevention, and treatment of osteoporosis. Bone 104 , 54–65 (2017).

51. Glaser, D. L. & Kaplan, F. S. Osteoporosis. Definition and clinical presentation. Spine Phila Pa 1976 22 , 12S-S16 (1997).

52. Alswat, K. A. Gender disparities in osteoporosis. J. Clin. Med. Res. 9 , 382–387 (2017).

53. Terakado, A. et al. A clinical prospective observational cohort study on the prevalence and primary diagnostic accuracy of occult vertebral fractures in aged women with acute lower back pain using magnetic resonance imaging. Pain Res. Manag. 2017 , 9265259 (2017).

54. Johansson, L., Sundh, D., Nilsson, M., Mellstrom, D. & Lorentzon, M. Vertebral fractures and their association with health-related quality of life, back pain and physical function in older women. Osteoporos. Int. 29 , 89–99 (2018).

55. Johansson, L. et al. Improved fracture risk prediction by adding VFA-identified vertebral fracture data to BMD by DXA and clinical risk factors used in FRAX. Osteoporos. Int. 33 , 1725–1738 (2022).

56. Salari, N. et al. The global prevalence of osteoporosis in the world: A comprehensive systematic review and meta-analysis. J. Orthop. Surg. Res. 16 , 609 (2021).

57. Delmas, P. D. et al. Underdiagnosis of vertebral fractures is a worldwide problem: The IMPACT study. J. Bone Miner. Res. 20 , 557–563 (2005).

Associated Data

Data Availability Statement

The data that support the findings of this study are available from Region Stockholm at halsodata.rst@regionstockholm.se, but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are however available from the authors upon reasonable request and with permission of Region Stockholm.

ИП Урсолов Владлен Сергеевич

ИНН 500118482352 · ОГРНИП 314500117700049

Реквизиты и контакты