Secondary relevance to vitamin D This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
This paper mainly addresses another topic and also reports a vitamin D analysis, result or scientific synthesis.
Why this paper is included
Supporting source evidence:
Compared with patients without osteoporosis, those with osteoporosis showed higher HbA1c, TyG index, CRP, and NLR, together with lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, lower 25(OH)D, and higher PTH.
Source: Endocrine-bone metabolic characteristics according to osteoporosis status. View original paper
Relevance classification does not establish study quality, causation or editorial approval.
Study design Observational study.
Observational study
Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
Meta-analysis unclear · Blinding unclear / not reported · Human research reported
How this paper was classified
Automatic source-based classification; awaiting editorial verification. This is not a quality score.
This single-center retrospective study included 550 postmenopausal women and men aged ≥50 years with T2DM who underwent dual-energy X-ray absorptiometry.
Source: Abstract.
This was a single-center retrospective observational study with cross-sectional assessment of prevalent osteoporosis at the index DXA examination.
Source: Methods.
What the study types mean
- Systematic review
- Uses explicit methods to identify, assess and summarise research on a defined question.
- Scoping review
- Maps the extent and characteristics of research on a topic.
- Narrative review
- Discusses existing research; systematic-review methods have not been established by this classification.
- Review / evidence synthesis
- Reviews existing research; the exact review methods need further assessment.
- Randomised controlled trial
- Assigns participants or groups to comparison interventions by chance.
- Non-randomised intervention study
- Examines an intervention without random allocation.
- Cohort study
- Examines exposures and outcomes over time within a defined group.
- Case-control study
- Compares people with an outcome against people without it, examining exposures.
- Cross-sectional study
- Examines a population at a particular point in time.
- Observational study
- Observes exposures and outcomes without assigning the exposure; the subtype is not established here.
- Case report
- Describes an individual case.
- Case series
- Describes a group of individual cases.
- Secondary analysis
- Analyses existing study data; this paper is not automatically another independent trial.
- Laboratory study
- Investigates biological processes in a laboratory setting.
- Qualitative study
- Examines experiences or meanings using qualitative methods.
- Genetic instrumental-variable study
- Uses genetic variation as an instrument to investigate relationships; this is not a randomised treatment trial.
- Study protocol
- Describes planned methods and is not evidence that the planned study has reported results.
- Multiple reported designs
- More than one design is explicitly reported; examine the supporting methods.
- Study design awaiting verification
- The available source does not establish a sufficiently clear study design.
Meta-analysis combines numerical results from studies. Blinding describes who was unaware of treatment allocation. Neither is a separate quality grade. Study design, vitamin D relevance and document format are independent filters.
Full studies
Endocrine-bone metabolic phenotypes and prevalent osteoporosis in type 2 diabetes: development and internal validation of a risk-classification model
Observational study · Frontiers in Endocrinology · 2026
Original publication title
Endocrine-bone metabolic phenotypes and prevalent osteoporosis in type 2 diabetes: development and internal validation of a risk-classification model
Copyright © 2026 Chen, Ni and Wang.
Original publication · Publisher record · CC BY 4.0
Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.
At a glance
Abstract: What objectives does the paper state?
To identify endocrine-bone metabolic phenotypes in T2DM and evaluate their associations with prevalent osteoporosis and incremental contribution to an internally validated risk-classification model.
Source: ObjectiveStudy methods
What methods does the paper describe?
Study design and study population
Study design and data source
This was a single-center retrospective observational study with cross-sectional assessment of prevalent osteoporosis at the index DXA examination. The study was reported in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) statement, and the completed STROBE checklist is provided as Supplementary File 1: STROBE Checklist. The study population was derived from the clinical database of the Second Affiliated Hospital of Soochow University. Data were obtained from the electronic medical record system, laboratory information system, pharmacy records, and DXA database.
Consecutive potentially eligible patients with T2DM who underwent DXA assessment between January 1, 2022 and January 1, 2026 were screened.
The index date was defined as the date of the qualifying DXA examination. Clinical characteristics, medication exposure, and laboratory measurements were aligned to this index date. The study evaluated associations between contemporaneously assessed endocrine-metabolic characteristics and prevalent osteoporosis rather than incident or future osteoporosis. No additional examinations, interventions, or modifications to routine treatment were performed for research purposes.
DXA examinations had been performed as part of routine clinical practice. Indications included routine diabetes-related bone health assessment, age- or menopause-based osteoporosis screening, and evaluation prompted by falls, previous fracture, or clinical suspicion of osteoporosis. Because referral for DXA could introduce selection bias, the clinical indication for DXA was recorded where available and an additional sensitivity analysis excluding patients whose DXA was prompted by falls, fracture history, or specific clinical suspicion of osteoporosis was prespecified.
The study protocol was reviewed and approved by the Ethics Committee of the Second Affiliated Hospital of Soochow University (approval no. JD-LK-2021-086, approved on December 20, 2021). Given the retrospective nature of the study and the exclusive use of routinely collected clinical data, the requirement for additional written informed consent was waived by the Ethics Committee. All patient data were anonymized prior to analysis, and the study was conducted in accordance with the principles of the Declaration of Helsinki and relevant institutional requirements for retrospective clinical research.
Inclusion and exclusion criteria
Inclusion criteria
Patients were eligible if they met all of the following criteria: (1) established T2DM diagnosed according to accepted American Diabetes Association or World Health Organization criteria; (2) postmenopausal female status or male sex with age ≥50 years, thereby permitting application of T-score-based osteoporosis criteria; (3) completion of an interpretable DXA examination including the lumbar spine, femoral neck, and/or total hip during the study period; (4) availability of diabetes duration and the principal clinical and laboratory variables required for the prespecified analyses; and (5) sufficient clinical information to determine osteoporosis status at the index assessment.
Postmenopausal status was defined as spontaneous amenorrhea for at least 12 consecutive months in the absence of another pathological or physiological cause or a documented clinical diagnosis of menopause in the medical record.
Exclusion criteria
Patients were excluded for: (1) type 1 diabetes mellitus or other specific forms of diabetes; (2) premenopausal status in women or age <50 years in men; (3) known major secondary causes of osteoporosis or clinically relevant disorders of bone or mineral metabolism, including established primary or secondary hyperparathyroidism, osteomalacia, active malignancy substantially affecting bone metabolism, or other major systemic skeletal disorders; (4) current or recent systemic glucocorticoid use, thiazolidinedione exposure, or other medication exposure judged to have a major direct effect on bone metabolism; (5) previous pharmacological anti-osteoporosis treatment; (6) acute infection, severe systemic inflammatory disease, or other acute conditions that could substantially alter inflammatory or metabolic biomarkers; (7) uninterpretable DXA findings; or (8) absence of variables essential for phenotype derivation.
Participant screening
A total of 780 patients with T2DM who underwent potential eligibility assessment during the study period were screened. Of these, 230 were excluded: 72 had no valid or interpretable DXA examination within the prespecified study window; 65 were premenopausal women or men younger than 50 years; 33 lacked key endocrine or metabolic measurements required for phenotype derivation; 22 had current or recent exposure to medications with major established skeletal effects, including thiazolidinediones or systemic glucocorticoids; 11 had previously received anti-osteoporosis treatment; 17 had major secondary disorders affecting bone metabolism, including clinically established secondary hyperparathyroidism (n=8), suspected or confirmed osteomalacia (n=4), or other major secondary bone disorders (n=5); 6 had acute infection or another severe inflammatory condition around the index date; and 4 had duplicate, unlinked, or temporally unmatched clinical records.
The final eligible cohort therefore comprised 550 patients, including 287 postmenopausal women and 263 men aged 50 years or older. At the index assessment, 229 patients met the criteria for prevalent osteoporosis and 321 did not.
Clinical and DXA data collection
Clinical data and index-date alignment
Clinical information was retrospectively extracted according to a prespecified data abstraction protocol. Variables included age, sex, height, weight, body mass index (BMI), smoking, alcohol consumption, menopausal status, previous low-trauma fracture, falls during the preceding year, family history of osteoporosis, diabetes duration, glycated hemoglobin (HbA1c), fasting plasma glucose, diabetic complications, and glucose-lowering medication use.
BMI was analyzed continuously and additionally categorized according to Chinese adult BMI criteria as <24.0 kg/m², 24.0–27.9 kg/m², and ≥28.0 kg/m².
Diabetes duration was calculated from the documented date of T2DM diagnosis to the DXA index date and was interpreted as an indicator of disease chronicity. HbA1c was interpreted as an estimate of glycemic control over approximately the preceding 2–3 months. Because serial longitudinal HbA1c measurements were not systematically available for all participants, HbA1c was not interpreted as a direct measure of cumulative lifetime or chronic glycemic exposure.
Laboratory measurements were obtained from clinically indicated evaluations performed around the index DXA examination. At our institution, patients with T2DM referred for osteoporosis screening or metabolic bone assessment may undergo a standardized skeletal-metabolism panel that includes P1NP, β-CTX, 25(OH)D, PTH, serum calcium, and phosphate, particularly in older adults, postmenopausal women, patients with long-standing diabetes, or those with suspected skeletal risk. These measurements were ordered as part of clinical care rather than specifically for the present study. For analysis, measurements obtained within 30 days before to 7 days after the index DXA examination were eligible, and the value closest to the DXA date was selected when multiple measurements were available.
Glucose-lowering medication exposure was extracted from medication records when reliably available. The principal recorded categories included metformin, insulin, sodium-glucose cotransporter-2 inhibitors, dipeptidyl peptidase-4 inhibitors, glucagon-like peptide-1 receptor agonists, and sulfonylureas. Patients receiving thiazolidinediones were excluded a priori because of their established adverse skeletal effects. Medication classes were not treated as mutually exclusive because combination therapy was common.
DXA assessment and definition of prevalent osteoporosis
Bone mineral density was assessed using DXA at the lumbar spine (L1–L4), femoral neck, and total hip. Standard manufacturer quality-control procedures and routine calibration were performed according to institutional practice. Scans with major positioning problems, artifacts, or structural abnormalities preventing valid interpretation were excluded.
The primary outcome was prevalent osteoporosis at the index assessment. Because the analytic cohort was restricted to postmenopausal women and men aged ≥50 years, T-score criteria were applied. Osteoporosis was defined as either: (1) a T-score ≤−2.5 at the lumbar spine, femoral neck, or total hip; or (2) a documented previous low-trauma hip or vertebral fragility fracture considered diagnostic of osteoporosis irrespective of T-score.
Among the 229 patients classified as having prevalent osteoporosis, 208 had a T-score ≤−2.5 at least one DXA site. An additional 21 patients had a documented previous low-trauma hip or vertebral fragility fracture despite having a minimum T-score above −2.5. Of the 208 patients meeting the densitometric criterion, 39 also had a documented fragility fracture. Thus, 60 patients in the entire cohort had a documented previous major fragility fracture.
DXA examinations were originally interpreted during routine clinical care before phenotype derivation and prediction-model development; therefore, the clinicians responsible for the original DXA reports were unaware of subsequent phenotype assignment and model results. During study data abstraction, DXA measurements were extracted without modification, and osteoporosis status was subsequently assigned using the prespecified diagnostic algorithm. Investigators performing phenotype construction and statistical modelling used coded analytic data and did not participate in the original clinical interpretation of the DXA examinations. Because DXA does not directly characterize all aspects of diabetic bone quality, no inference was made that the primary outcome represented total fracture susceptibility or complete skeletal quality.
Endocrine-bone metabolic phenotype construction
Candidate variables
Phenotype construction was based on four prespecified biological domains relevant to diabetic bone disease: glycemic status, insulin resistance, systemic inflammation, and bone/mineral metabolism.
The glycemic domain included diabetes duration, HbA1c, and fasting plasma glucose. Insulin resistance was characterized using fasting insulin, where available, and the triglyceride-glucose (TyG) index, calculated as:
ln [fasting triglycerides (mg/dL) × fasting glucose (mg/dL)/2].
The inflammatory domain included C-reactive protein (CRP), neutrophil-to-lymphocyte ratio (NLR), and platelet-to-lymphocyte ratio (PLR).
The bone and mineral metabolism domain included procollagen type I N-terminal propeptide (P1NP), β-C-terminal telopeptide of type I collagen (β-CTX), 25-hydroxyvitamin D [25(OH)D], parathyroid hormone (PTH), serum calcium, and serum phosphate. The β-CTX/P1NP ratio was additionally calculated as an exploratory indicator of the balance between bone resorption and formation.
Continuous clustering variables were standardized to z scores before analysis. Highly skewed biomarkers were log-transformed where appropriate before standardization.
Primary clustering procedure
The primary phenotype analysis was performed in complete cases because direct averaging across multiply imputed datasets is not appropriate for unsupervised clustering. Of the 550 eligible participants, 13 had missing 25(OH)D and/or PTH data, leaving 537 patients in the primary complete-case phenotype analysis.
K-means clustering using Euclidean distance was applied to standardized phenotype variables. Candidate cluster solutions with K = 2 through K = 6 were evaluated using the within-cluster sum of squares elbow criterion, average silhouette width, and gap statistic. The three-cluster solution provided the best balance between statistical separation, stability, and clinical interpretability. The average silhouette coefficients for K = 2, 3, 4, 5, and 6 were 0.36, 0.42, 0.34, 0.31, and 0.28, respectively.
Cluster stability was assessed using 500 bootstrap resamples. Jaccard similarity coefficients for the three retained phenotypes were 0.86, 0.81, and 0.79, respectively, all exceeding the prespecified threshold of 0.75 for acceptable cluster stability.
The three clusters were labeled as metabolically preserved, metabolic-inflammatory, and bone-remodeling imbalance phenotypes according to their observed metabolic profiles. Cluster labels were assigned after completion of the unsupervised analysis. Phenotype assignment was based on the variable-level centroids from the original K-means solution. All clustering variables were transformed and standardized using the reference parameters derived from the 537 complete-case participants. Euclidean distances to the three cluster centroids were calculated in the standardized variable space, and each observation was assigned to the nearest centroid.
Domain-level centroid profiles were used for biological interpretation, whereas the variable-level centroids and preprocessing parameters defined the reproducible assignment procedure (Supplementary Tables S1A, B).
Sensitivity analyses addressing phenotype-outcome overlap
Because bone turnover markers used in phenotype derivation could be closely associated with DXA-defined osteoporosis, two prespecified sensitivity approaches were used to evaluate possible circularity and information overlap.
First, clustering was repeated after excluding P1NP, β-CTX, and the β-CTX/P1NP ratio from phenotype derivation. This analysis therefore relied on glycemic, insulin-resistance, inflammatory, vitamin D, PTH, calcium, and phosphate measures without direct bone turnover markers. The association between the resulting marker-reduced phenotype structure and prevalent osteoporosis was then reassessed.
Second, multivariable logistic regression models simultaneously included the phenotype variable and its principal individual metabolic and bone-related components. This analysis evaluated whether phenotype classification retained information associated with osteoporosis after accounting for the individual biomarkers from which the phenotype had been derived.
An additional sensitivity analysis was performed to assess potential selection bias related to the clinical indication for DXA. Patients whose examinations were prompted by falls, previous fracture, or specific clinical suspicion of osteoporosis were excluded. The remaining participants were evaluated for completeness of phenotype-defining variables and covariates. Phenotype assignments and adjusted regression analyses were performed in the resulting complete-case restricted sample. The numbers of eligible and analyzed patients were distinguished in the reporting of this sensitivity analysis.
Prediction model development and internal validation
Model-building strategy
Prediction analyses were designed to estimate the probability of prevalent osteoporosis at the index DXA assessment rather than future osteoporosis development.
Association analyses and prediction-model development were treated as distinct analytical objectives. Multivariable association models were used to examine the relationship between phenotype membership and prevalent osteoporosis after adjustment for relevant clinical and metabolic factors. Prediction models were subsequently developed to assess discrimination, calibration, and the incremental contribution of phenotype information. The final parsimonious model was selected for risk presentation and internal validation and should not be interpreted as equivalent to the fully adjusted association model.
Four hierarchically structured logistic regression models were evaluated.
Model 1, the clinical model, included age, sex, BMI, and diabetes duration.
Model 2 included the clinical variables plus endocrine-bone metabolic phenotype.
Model 3 included the clinical variables plus individual endocrine and bone-related biomarkers, including HbA1c, TyG index, CRP, P1NP, β-CTX, and 25(OH)D.
Model 4, the comprehensive comparison model, included the variables in Model 3 plus endocrine-bone metabolic phenotype. Models 1–4 were used primarily to quantify the incremental predictive contribution of phenotype information, whereas the subsequently derived six-variable parsimonious model was designated as the final model for nomogram construction, simplified scoring, and full-pipeline internal validation.
The parsimonious model was developed from 18 candidate predictors selected according to clinical relevance, previous evidence, data availability, and representation of the biological domains examined in this study. These predictors included age, sex, BMI, diabetes duration, HbA1c, fasting glucose, TyG index, CRP, NLR, PLR, P1NP, β-CTX, β-CTX/P1NP ratio, 25(OH)D, PTH, serum calcium, serum phosphate, and endocrine-bone metabolic phenotype.
Predictor reduction involved three sequential stages. First, redundancy was assessed using pairwise correlation coefficients and variance inflation factors. When substantial collinearity was identified, defined as an absolute correlation coefficient greater than 0.70 or a variance inflation factor of at least 5, variables were evaluated according to clinical relevance and biological interpretability. This stage reduced the candidate set from 18 to 14 predictors. Second, backward elimination based on the Akaike information criterion was applied, with age and diabetes duration retained as clinically prespecified variables.
Eight predictors remained after this step. Finally, coefficient stability, biological overlap, and model complexity were considered in selecting the final six-predictor model.
The final model included age, diabetes duration, HbA1c, TyG index, β-CTX/P1NP ratio, and endocrine-bone metabolic phenotype. The predictor-selection sequence is summarized in Supplementary Table 2. The same selection procedure was incorporated into the internal bootstrap validation.
Model performance
Discrimination was evaluated using the area under the receiver operating characteristic curve (AUC) with 95% confidence intervals. Differences in AUC between nested models were evaluated using DeLong’s method where appropriate.
Calibration was evaluated using calibration plots, calibration slope, calibration-in-the-large, and the Brier score.
Incremental predictive information provided by phenotype classification was assessed by comparing the clinical model, phenotype-enhanced model, biomarker model, and comprehensive model. Continuous net reclassification improvement (NRI) and integrated discrimination improvement (IDI) were calculated with 95% confidence intervals. No category-based NRI was used because externally validated osteoporosis probability categories were unavailable.
Clinical net benefit was assessed using decision curve analysis. The prespecified presentation focused on threshold probabilities between 10% and 50%, which were considered a plausible exploratory range for further bone evaluation in this study population. Each model was compared with the strategies of evaluating all patients and evaluating no patients.
Full-pipeline bootstrap validation
Internal validation was performed using 1,000 bootstrap resamples to estimate optimism arising from the complete model-development process. Each bootstrap sample was drawn with replacement from the 537 complete-case participants. Within each resample, data transformations and standardization parameters were re-estimated, K-means clustering was repeated with three clusters, and cluster labels were aligned with the reference phenotype structure according to centroid similarity. Predictor selection and logistic regression model fitting were then repeated using the same procedures applied in the original analysis.
Each bootstrap-derived model was evaluated in the bootstrap sample and in the original cohort. For prediction in the original cohort, phenotype assignments were obtained using the preprocessing parameters and cluster centroids derived from the corresponding bootstrap sample. Model performance was calculated separately in the two samples. Optimism was estimated as the mean difference between bootstrap-sample and original-sample performance across the 1,000 iterations. Optimism-corrected performance was obtained by subtracting the estimated optimism from the apparent performance of the original model.
Discrimination was assessed using the AUC, and calibration was evaluated using the calibration slope, calibration-in-the-large, and Brier score. Bootstrap confidence intervals were calculated for these performance measures. This procedure quantified internal optimism associated with the model-development process but did not provide evidence of external generalizability.
Simplified scoring system and exploratory clinical thresholds
A simplified point-based scoring system was constructed using the six predictors retained in the final parsimonious logistic regression model. Age, diabetes duration, HbA1c, TyG index, and β-CTX/P1NP ratio were categorized into clinically interpretable intervals, while endocrine-bone metabolic phenotype was represented by three mutually exclusive categories. Integer points were assigned to each predictor category to form a total score ranging from 0 to 23 points. Higher scores indicated a greater observed probability of prevalent osteoporosis. The scoring categories and integer points were derived from the fitted model and are presented in Supplementary Table 3, together with the coefficient-based scoring procedure.
The total score ranged from 0 to 23 points. Because categorization and integer rounding may affect model performance, the simplified score was evaluated separately from the original logistic regression model.
Total scores were classified into four exploratory categories: 0–4, 5–9, 10–14, and ≥15 points. These categories were derived from the present cohort and were not treated as externally validated clinical cutoffs.
The resulting total score ranged from 0 to 23 points and was categorized as 0–4, 5–9, 10–14, and ≥15 points. These categories were derived within the present dataset and were considered exploratory rather than externally validated clinical cutoffs.
The discriminatory performance of the simplified score was evaluated by reporting observed osteoporosis prevalence across score categories and the sensitivity, specificity, positive predictive value, and negative predictive value of the ≥10-point threshold.
For the full probability model, a predicted probability of 40% was additionally examined as an exploratory threshold for further DXA or specialist bone evaluation. This threshold was derived post hoc from the present cohort on the basis of discrimination and net-benefit considerations and was not prespecified or externally validated. It was therefore not interpreted as a treatment threshold or guideline-based indication for anti-osteoporosis therapy.
Missing data and statistical analysis
Continuous variables were summarized as mean ± standard deviation or median with interquartile range according to their distributions. Categorical variables were summarized as numbers and percentages. Between-group comparisons used independent-samples t tests or Mann–Whitney U tests for continuous variables and chi-square or Fisher’s exact tests for categorical variables, as appropriate.
Among the 550 eligible patients, 25(OH)D was missing in 9 patients (1.6%) and PTH in 6 patients (1.1%); 2 patients were missing both measurements. Thus, 13 unique patients had incomplete values for these variables, while the remaining principal variables required for the main analyses were complete.
The primary phenotype analysis and primary regression analyses were based on 537 complete cases. Missing-data sensitivity analyses were conducted in the full cohort of 550 patients using multiple imputation by chained equations (MICE). Following imputation, phenotype membership was assigned separately within each imputed dataset using the reference centroids derived from the primary complete-case analysis. The original preprocessing and standardization parameters were retained to ensure consistent phenotype definitions across datasets. Regression models were fitted separately within each imputed dataset, and parameter estimates and standard errors were subsequently combined using Rubin’s rules.
This approach preserved imputation-related uncertainty without averaging patient-level biomarker values across datasets.
Twenty imputed datasets were generated with 20 iterations per dataset. The imputation model included age, sex, BMI, diabetes duration, HbA1c, TyG index, CRP, P1NP, β-CTX, 25(OH)D, PTH, calcium, phosphate, relevant medication variables, and osteoporosis status.
Regression coefficients and corresponding standard errors from the multiply imputed datasets were combined using Rubin’s rules. No analytic variable was generated by averaging patient-level values across imputed datasets. The consistency of effect direction, magnitude, and statistical inference between complete-case and multiply imputed analyses was used to assess robustness to missing data.
Associations between clinical variables, biomarkers, phenotype classifications, and prevalent osteoporosis were evaluated using univariable and multivariable logistic regression. Odds ratios (ORs) with 95% confidence intervals (CIs) were reported.
Restricted cubic spline analyses were used to explore potentially nonlinear associations of diabetes duration and the β-CTX/P1NP ratio with prevalent osteoporosis. Four knots were placed at the 5th, 35th, 65th, and 95th percentiles. Overall and nonlinear associations were evaluated separately.
SHapley Additive exPlanations (SHAP) were used as a supplementary model-interpretation method to quantify the relative contribution of individual predictors to model output. SHAP results were interpreted as model explanation rather than causal effects. Model adequacy was evaluated with consideration of the number of osteoporosis events, predictor complexity, coefficient stability, internal bootstrap validation, discrimination, and calibration.
All statistical tests were two-sided. P<0.05 was considered statistically significant. Statistical analyses were conducted using R software version 4.3.2 (R Foundation for Statistical Computing, Vienna, Austria). Multiple imputation was performed using the mice package; clustering and cluster assessment used factoextra and related clustering packages; regression and bootstrap validation used the rms package; and SHAP visualization used shapviz.
No generative artificial intelligence or large language model was used for patient classification, phenotype derivation, statistical analysis, outcome ascertainment, or interpretation of the study results. All clustering, regression, validation, and model-interpretation procedures were conducted using statistical methods implemented in R. Any language-editing assistance, if applicable, did not involve generation or modification of study data or statistical results.
Endocrine-bone metabolic characteristics according to osteoporosis status
Results: Endocrine-bone metabolic characteristics according to osteoporosis status
Endocrine-bone metabolic characteristics according to osteoporosis status are summarized in Table 2. Compared with patients without osteoporosis, those with osteoporosis showed higher HbA1c, TyG index, CRP, and NLR, together with lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, lower 25(OH)D, and higher PTH. Most of these between-group differences were statistically significant at P<0.001, whereas the difference in PLR was smaller (P = 0.028). Serum calcium and phosphate did not differ significantly between groups.
Endocrine-bone metabolic characteristics according to prevalent osteoporosis status.
| Variable | Overall (N = 550) | Non-osteoporosis (n=321) | Osteoporosis (n=229) | P value |
|---|---|---|---|---|
| Glycemic and insulin-resistance domain | ||||
| HbA1c, % | 7.6 ± 1.4 | 7.2 ± 1.2 | 8.2 ± 1.4 | <0.001 |
| Fasting plasma glucose, mmol/L | 8.2 ± 2.0 | 7.8 ± 1.8 | 8.8 ± 2.2 | <0.001 |
| TyG index | 9.11 ± 0.52 | 8.96 ± 0.46 | 9.32 ± 0.51 | <0.001 |
| Inflammatory domain | ||||
| CRP, mg/L | 3.1 (1.5–5.8) | 2.2 (1.1–4.0) | 4.4 (2.3–8.1) | <0.001 |
| NLR | 2.51 (1.83–3.54) | 2.34 (1.72–3.18) | 2.78 (2.02–4.12) | <0.001 |
| PLR | 131.5 (98.9–177.4) | 126.3 (96.5–170.8) | 138.5 (102.8–185.9) | 0.028 |
| Bone turnover and mineral-metabolism domain | ||||
| P1NP, ng/mL | 46.8 (34.5–61.2) | 52.3 (39.9–67.8) | 39.0 (28.4–51.5) | <0.001 |
| β-CTX, ng/mL | 0.36 (0.24–0.53) | 0.31 (0.21–0.44) | 0.46 (0.32–0.68) | <0.001 |
| β-CTX/P1NP ratio | 0.009 (0.005–0.015) | 0.006 (0.004–0.009) | 0.013 (0.008–0.021) | <0.001 |
| 25-hydroxyvitamin D, ng/mL | 22.1 (16.3–29.0) | 24.5 (18.8–31.4) | 19.0 (13.5–25.6) | <0.001 |
| PTH, pg/mL | 47.5 (34.7–64.8) | 42.6 (31.4–58.0) | 54.3 (39.9–72.8) | <0.001 |
| Serum calcium, mmol/L | 2.31 ± 0.09 | 2.32 ± 0.09 | 2.30 ± 0.10 | 0.086 |
| Serum phosphate, mmol/L | 1.11 ± 0.16 | 1.12 ± 0.16 | 1.10 ± 0.17 | 0.148 |
Data are presented as mean ± standard deviation or median (interquartile range), as appropriate. Between-group comparisons were performed using the independent-samples t test or Mann Whitney U test according to variable distribution.
β-CTX, β-C-terminal telopeptide of type I collagen; CRP, C-reactive protein; HbA1c, glycated hemoglobin; NLR, neutrophil-to-lymphocyte ratio; P1NP, procollagen type I N-terminal propeptide; PLR, platelet-to-lymphocyte ratio; PTH, parathyroid hormone; TyG, triglyceride-glucose index.
Overall, these findings indicated that prevalent osteoporosis in T2DM was associated with a multidimensional metabolic pattern involving less favorable glycemic status, greater insulin-resistance and inflammatory burden, and altered bone remodeling, providing the basis for the subsequent phenotype analysis.
Source: Endocrine-bone metabolic characteristics according to osteoporosis status Source: Endocrine-bone metabolic characteristics according to osteoporosis status Source: Endocrine-bone metabolic characteristics according to osteoporosis statusPrimary endocrine-bone metabolic phenotype analysis
Results: Primary endocrine-bone metabolic phenotype analysis
Thirteen of the 550 eligible patients had missing 25(OH)D and/or PTH measurements, leaving 537 complete cases for the primary phenotype analysis. Among these 537 patients, 224 had prevalent osteoporosis and 313 did not.
Evaluation of candidate cluster solutions supported a three-cluster structure. The average silhouette coefficients for K = 2, 3, 4, 5, and 6 were 0.36, 0.42, 0.34, 0.31, and 0.28, respectively, with the elbow and gap-statistic analyses also supporting K = 3. Bootstrap stability analysis based on 500 resamples yielded Jaccard coefficients of 0.86, 0.81, and 0.79 for the three clusters, respectively.
The first cluster, termed the metabolically preserved phenotype, included 212 patients (39.5%) and was characterized by relatively favorable glycemic, inflammatory, and bone turnover profiles. The second, termed the metabolic-inflammatory phenotype, included 179 patients (33.3%) and was characterized predominantly by higher HbA1c, TyG index, CRP, and related inflammatory measures. The third, termed the bone-remodeling imbalance phenotype, included 146 patients (27.2%) and was characterized by lower P1NP, higher β-CTX, and a higher β-CTX/P1NP ratio. Because K-means clustering assigns each observation to a single nearest cluster, phenotype membership was mutually exclusive; therefore, no patient was simultaneously classified as both the metabolic-inflammatory and bone-remodeling imbalance phenotype.
Prevalent osteoporosis differed markedly across the three phenotypes. Osteoporosis was present in 43/212 patients (20.3%) with the metabolically preserved phenotype, 77/179 (43.0%) with the metabolic-inflammatory phenotype, and 104/146 (71.2%) with the bone-remodeling imbalance phenotype (P<0.001; P for trend <0.001) (Figure 2).
Identification, characterization, stability, and osteoporosis prevalence of the three endocrine-bone metabolic phenotypes in patients with type 2 diabetes mellitus. (A) Selection of the optimal number of clusters based on average silhouette coefficients, with K = 3 showing the highest value; the elbow and gap-statistic criteria also supported a three-cluster solution. (B) Standardized metabolic profiles of the metabolically preserved, metabolic-inflammatory, and bone-remodeling imbalance phenotypes across glycemic/insulin-resistance, inflammatory, and bone/mineral metabolism domains. (C) Bootstrap cluster stability assessed using Jaccard similarity coefficients. (D) Prevalence of osteoporosis across the three phenotypes, showing a significant increasing gradient from the metabolically preserved to the bone-remodeling imbalance phenotype.
Clustering without direct bone turnover markers
Results / Sensitivity analyses of phenotype robustness and information overlap: Clustering without direct bone turnover markers
To address the possibility that the primary phenotype-osteoporosis association was driven by direct inclusion of bone turnover markers, clustering was repeated after excluding P1NP, β-CTX, and the β-CTX/P1NP ratio.
The marker-reduced clustering was performed in the same 537 complete-case participants and again yielded three clinically interpretable groups comprising 216, 188, and 133 patients. Osteoporosis was present in 56/216 (25.9%), 81/188 (43.1%), and 87/133 (65.4%) patients, respectively (P for trend<0.001). Thus, a clear phenotype-related gradient in osteoporosis prevalence remained even when direct bone turnover markers were omitted from cluster derivation.
Source: Clustering without direct bone turnover markers Source: Clustering without direct bone turnover markersAssociation of clinical, metabolic, and phenotypic factors with prevalent osteoporosis
Results: Association of clinical, metabolic, and phenotypic factors with prevalent osteoporosis
In univariable analyses, older age, female sex, longer diabetes duration, higher HbA1c, higher TyG index, higher CRP, lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, and lower 25(OH)D were associated with prevalent osteoporosis.
In the multivariable model, age remained positively associated with osteoporosis (aOR per 10-year increase 1.52, 95% CI 1.19–1.94, P<0.001), whereas higher BMI was inversely associated (aOR per 1 kg/m² increase 0.94, 95% CI 0.89–0.99, P = 0.024). Diabetes duration remained associated with osteoporosis (aOR per year 1.05, 95% CI 1.01–1.09, P = 0.009), as did HbA1c (aOR per 1% increase 1.26, 95% CI 1.07–1.48, P = 0.006), TyG index (aOR per SD increase 1.42, 95% CI 1.14–1.77, P = 0.002), and the β-CTX/P1NP ratio (aOR per SD increase 1.55, 95% CI 1.20–2.00, P<0.001).
After simultaneous adjustment for the individual phenotype components, the metabolic-inflammatory and bone-remodeling imbalance phenotypes retained the independent associations described above. The complete-case and multiply imputed analyses yielded similar effect directions and overlapping confidence intervals. The complete-case multivariable associations are presented in Table 3. Both analyses showed broadly consistent directions of association, although the results should be interpreted in the context of the correlations between phenotype membership and its constituent biomarkers.
Complete-case multivariable analysis of factors associated with prevalent osteoporosis in patients with type 2 diabetes mellitus (N = 537).
| Variable | Adjusted OR (95% CI) | P |
|---|---|---|
| Age, per 10 years | 1.52 (1.19–1.94) | <0.001 |
| Female sex | 1.73 (1.13–2.65) | 0.012 |
| BMI, per kg/m² | 0.94 (0.89–0.99) | 0.024 |
| Diabetes duration, per year | 1.05 (1.01–1.09) | 0.009 |
| HbA1c, per 1% | 1.26 (1.07–1.48) | 0.006 |
| TyG index, per SD | 1.42 (1.14–1.77) | 0.002 |
| CRP, per SD | 1.20 (0.98–1.47) | 0.079 |
| P1NP, per SD | 0.79 (0.63–0.98) | 0.034 |
| β-CTX/P1NP ratio, per SD | 1.55 (1.20–2.00) | <0.001 |
| 25(OH)D, per SD | 0.81 (0.65–1.00) | 0.051 |
| Metabolic-inflammatory phenotype | 1.72 (1.03–2.88) | 0.038 |
| Bone-remodeling imbalance phenotype | 2.46 (1.34–4.51) | 0.004 |
Dose-response analysis, model interpretation, and full-pipeline internal validation
Results: Dose-response analysis, model interpretation, and full-pipeline internal validation
Restricted cubic spline analysis showed a significant overall association between diabetes duration and prevalent osteoporosis (P-overall<0.001), with evidence of nonlinearity (P-nonlinear=0.012). The increase in estimated odds became steeper at longer diabetes durations, particularly beyond approximately 10 years.
The β-CTX/P1NP ratio was also significantly associated with prevalent osteoporosis (P-overall<0.001), with modest evidence of nonlinearity (P-nonlinear=0.021). Because no externally established clinical cutoff exists for this ratio, these findings were interpreted as continuous exposure-response patterns rather than evidence for a validated diagnostic threshold.
SHAP analysis of the final model identified endocrine-bone metabolic phenotype, diabetes duration, β-CTX/P1NP ratio, HbA1c, TyG index, and age as the principal contributors to model output. SHAP values were interpreted as measures of model contribution rather than causal effects.
Full-pipeline internal validation of the final parsimonious model was performed using 1,000 bootstrap resamples, with preprocessing, phenotype derivation, cluster-label alignment, predictor selection, and model fitting repeated within each bootstrap iteration. The apparent AUC of the final six-variable model was 0.884 (95% CI 0.855–0.912). After optimism correction, the AUC was 0.867 (bootstrap 95% CI 0.842–0.890), the calibration slope was 0.914 (95% CI 0.842–0.978), calibration-in-the-large was 0.031 (95% CI −0.044 to 0.106), and the Brier score was 0.132 (95% CI 0.116–0.149) (Table 4).
Full-pipeline bootstrap internal validation of the final parsimonious prediction model (1,000 resamples).
| Performance metric | Apparent performance | Optimism-corrected performance | Bootstrap 95% CI | Optimism |
|---|---|---|---|---|
| AUC | 0.884 | 0.867 | 0.842–0.890 | 0.017 |
| Calibration slope | 1 | 0.914 | 0.842–0.978 | 0.086 |
| Calibration-in-the-large | 0 | 0.031 | −0.044 to 0.106 | 0.031 |
| Brier score | 0.126 | 0.132 | 0.116–0.149 | 0.006 |
The optimism-corrected results showed a modest reduction in discrimination compared with the apparent model performance. Calibration estimates indicated some optimism associated with model development. Although discrimination remained favorable after internal validation, the evaluation was restricted to the derivation cohort. The model’s discrimination, calibration, and clinical utility in independent populations remain uncertain.
Source: Dose-response analysis, model interpretation, and full-pipeline internal validation Source: Dose-response analysis, model interpretation, and full-pipeline internal validation Source: Dose-response analysis, model interpretation, and full-pipeline internal validation Source: Dose-response analysis, model interpretation, and full-pipeline internal validation Source: Dose-response analysis, model interpretation, and full-pipeline internal validation Source: Dose-response analysis, model interpretation, and full-pipeline internal validationDiscussion
In this retrospective single-center study of postmenopausal women and men aged 50 years or older with T2DM, we identified three distinct endocrine-bone metabolic phenotypes that differed substantially in the prevalence of osteoporosis at the index DXA assessment. The bone-remodeling imbalance phenotype had the highest prevalence of osteoporosis, followed by the metabolic-inflammatory and metabolically preserved phenotypes. Importantly, the association between phenotype and osteoporosis persisted, although attenuated, after adjustment for individual metabolic and bone-related components. A complementary clustering analysis excluding P1NP, β-CTX, and the β-CTX/P1NP ratio also reproduced a clear gradient in osteoporosis prevalence.
These findings suggest that the phenotype structure was not explained solely by direct incorporation of bone turnover markers. In prediction analyses, adding phenotype information to conventional clinical and biomarker variables produced a moderate incremental improvement in discrimination, while full-pipeline bootstrap validation showed some optimism but retained acceptable internal performance. Because the study assessed prevalent rather than incident osteoporosis, these findings should be interpreted as associations and internally validated risk-classification results rather than evidence for future osteoporosis development.
The clinical characteristics observed in the present cohort were generally consistent with established features of skeletal vulnerability in T2DM. Patients with osteoporosis were older, more frequently female, had lower BMI, longer diabetes duration, and less favorable glycemic profiles. Nevertheless, diabetic bone disease differs in important respects from conventional osteoporosis. At a similar femoral neck T-score, fracture risk may remain higher in individuals with diabetes, indicating that bone mineral density alone does not fully represent skeletal fragility (17). T2DM can alter collagen properties, mineralization, and other aspects of bone matrix quality without proportionate reductions in areal BMD (18).
HR-pQCT studies have also suggested that microarchitectural abnormalities are heterogeneous rather than universal among patients with T2DM (19). These observations are particularly relevant to the present study because our primary outcome was based on DXA and documented major fragility fracture rather than a direct measure of bone quality. Therefore, our phenotype framework should be regarded as a method for characterizing metabolic heterogeneity associated with prevalent osteoporosis rather than as a complete representation of diabetic skeletal fragility.
Medication exposure also deserves consideration when interpreting skeletal risk in T2DM. Different glucose-lowering therapies may exert heterogeneous effects on bone metabolism, and contemporary diabetes guidelines recommend consideration of skeletal risk when selecting glucose-lowering therapy in older adults and postmenopausal women with T2DM (20). Short-term SGLT2 inhibitor therapy, for example, has not been shown to impair bone microarchitecture in older adults with T2DM in some clinical settings (21). In the present analysis, patients receiving thiazolidinediones were excluded a priori because of their recognized adverse skeletal effects, and major glucose-lowering medication categories were recorded when available.
Nevertheless, residual confounding related to medication dose, duration, treatment switching, and cumulative exposure cannot be excluded.
Glycemic and insulin-resistance markers were associated with prevalent osteoporosis. Patients with osteoporosis had higher HbA1c and TyG index values, and both remained associated with osteoporosis after multivariable adjustment. Chronic hyperglycemia may impair bone quality through advanced glycation, oxidative stress, and altered bone-cell function, while previous studies have linked metabolic dysregulation and TyG-related indices to adverse skeletal characteristics in T2DM (22, 23). Because HbA1c was measured around the index DXA examination, it should be interpreted as a marker of recent glycemic control rather than cumulative lifetime hyperglycemic exposure.
Bone remodeling markers provided an additional dimension of heterogeneity. Patients with osteoporosis had lower P1NP, higher β-CTX, and a higher β-CTX/P1NP ratio, consistent with previous evidence linking altered bone turnover to skeletal risk in T2DM (24, 25). The β-CTX/P1NP ratio was used as an exploratory indicator of the balance between bone resorption and formation rather than as an established diagnostic threshold. Although the association of the bone-remodeling imbalance phenotype with osteoporosis was attenuated after adjustment for its individual components, it remained statistically significant.
This interpretation was further supported by marker-reduced clustering: after P1NP, β-CTX, and the β-CTX/P1NP ratio were excluded from phenotype derivation, osteoporosis prevalence remained progressively higher across the three resulting groups (25.9%, 43.1%, and 65.4%; P for trend<0.001). These findings reduce concern that the phenotype association was solely a mathematical consequence of including direct bone turnover markers, while also indicating partial information overlap between the phenotype construct and its constituent biomarkers. Accordingly, the phenotype should be interpreted as a composite metabolic classification associated with prevalent osteoporosis rather than as an etiologically distinct endotype.
Inflammatory markers represented another component of the phenotype framework. CRP and NLR were higher in patients with osteoporosis, whereas the difference in PLR was modest. Chronic low-grade inflammation may influence bone through cytokine-mediated effects on osteoblast differentiation, osteoclast activation, and the bone immune microenvironment. Composite inflammatory indices such as SII, SIRI, NLR, and PLR have previously been associated with osteoporosis and sarcopenia in T2DM (26), while similar relationships have also been described in postmenopausal women without diabetes (27).
In the present study, inflammatory variables showed weaker contributions than bone turnover and metabolic variables after multivariable adjustment, suggesting that inflammation may represent one component of a broader metabolic-bone profile rather than an isolated discriminator of osteoporosis status.
The prediction analyses also require cautious interpretation. Previous T2DM osteoporosis prediction models have typically emphasized age, BMI, diabetes duration, and conventional clinical or laboratory variables (28). More recent studies have incorporated glycemic variability or bone metabolism markers (29), while multifactorial approaches have also been explored for fracture prediction (30). Our clinical model achieved an AUC of 0.756, which increased to 0.847 after inclusion of individual metabolic and bone-related biomarkers. Adding phenotype information further increased the AUC to 0.884.
The relatively smaller improvement from 0.847 to 0.884 is clinically and methodologically more informative than comparison with the clinical model alone because it directly tests whether phenotype classification adds information beyond its constituent biomarkers. The corresponding continuous NRI and IDI also suggested incremental discrimination; however, these measures were calculated internally and should not be interpreted as proof of transportability or clinical superiority.
A further strength of the revised analysis was the use of full-pipeline bootstrap validation. Rather than treating the originally derived cluster structure and model specification as fixed, preprocessing, phenotype derivation, predictor selection, and model fitting were repeated within each of 1,000 bootstrap samples. The apparent AUC of 0.884 decreased to an optimism-corrected AUC of 0.867, with a corrected calibration slope of 0.914 and Brier score of 0.132. This degree of optimism indicates that some overfitting was present, as expected in a single-center model-development study, but overall discrimination and calibration remained acceptable after correction.
These results support internal validity but do not establish external generalizability.
The simplified scoring system was developed as an exploratory tool for identifying prevalent osteoporosis. Osteoporosis prevalence increased from 8.8% among patients with scores of 0–4 to 87.9% among those scoring ≥15. At a threshold of ≥10 points, the score achieved a sensitivity of 81.7%, specificity of 74.4%, positive predictive value of 69.6%, and negative predictive value of 85.0%. The full probability model was also evaluated at an exploratory threshold of 40%. Neither threshold was prespecified or externally validated, and both should be interpreted as internally derived classification cutoffs rather than established clinical decision thresholds.
Further validation is needed before these thresholds can inform screening or referral decisions.
The proposed framework should be interpreted as an exploratory risk-classification approach rather than an established screening or treatment algorithm. All participants had undergone DXA as part of routine clinical care, and several model inputs required laboratory assessment of bone metabolism. Consequently, the performance observed in this selected population may not apply to patients with T2DM who have not undergone skeletal evaluation. Whether the model improves referral decisions, reduces unnecessary investigations, or provides additional clinical value beyond established assessment strategies remains unknown.
Phenotype classification should not independently determine anti-osteoporosis treatment. Treatment decisions should continue to follow established recommendations based on fracture history, bone mineral density, clinical risk factors, renal function, and other relevant patient characteristics.
This study has several limitations. First, the retrospective single-center design introduces potential selection bias and limits causal inference. DXA was performed for heterogeneous clinical reasons, and patients undergoing DXA may not be representative of the broader T2DM population. Although exclusion of patients whose DXA was prompted by falls, fracture history, or specific osteoporosis suspicion produced similar phenotype associations, indication-related selection cannot be fully excluded. Second, the outcome was prevalent osteoporosis at the index assessment rather than incident osteoporosis or future fracture.
Therefore, temporal direction between metabolic abnormalities and skeletal status cannot be established. Third, although documented major fragility fractures were incorporated into outcome classification, fracture ascertainment was retrospective and comprehensive longitudinal fracture surveillance was unavailable. Fourth, DXA does not fully capture diabetic bone quality. Trabecular bone score, quantitative CT, HR-pQCT, vertebral fracture assessment, and other microarchitectural measures were not systematically available, limiting characterization of bone quality. Fifth, although patients with major secondary bone disorders and thiazolidinedione exposure were excluded and major glucose-lowering medication categories were considered, residual confounding related to cumulative medication exposure, renal function, nutrition, physical activity, menopause duration, and other unmeasured skeletal determinants remains possible.
Sixth, phenotype derivation incorporated bone turnover markers that are themselves related to skeletal status. We addressed this concern through marker-excluded clustering and component-adjusted analyses, but residual biological and statistical overlap cannot be entirely removed. Seventh, the simplified score and 40% probability threshold were developed within the same cohort and therefore require independent validation before clinical use. Finally, although full-pipeline bootstrap validation reduced optimism in the reported model performance, external validation in independent and preferably multicenter cohorts is necessary to determine calibration, transportability, and clinical utility.
Taken together, these findings suggest that metabolic heterogeneity in T2DM is associated with substantial differences in prevalent osteoporosis status. The phenotype framework may provide a structured way to integrate glycemic, inflammatory, insulin-resistance, and bone-remodeling information, but its principal value at present is hypothesis generation and internal risk stratification. Prospective studies incorporating fracture outcomes, repeated glycemic measurements, medication exposure, and direct measures of bone quality are needed to determine whether these phenotypes have longitudinal prognostic significance.
Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: Discussion Source: DiscussionResults
Study population and baseline characteristics
A total of 780 patients with T2DM were assessed for eligibility. Of these, 230 were excluded: 72 had no valid or interpretable DXA examination within the prespecified study window; 65 were premenopausal women or men aged <50 years; 33 lacked key endocrine or metabolic measurements required for phenotype derivation; 22 had current or recent exposure to medications with major established skeletal effects, including thiazolidinediones or systemic glucocorticoids; 11 had previously received anti-osteoporosis treatment; 17 had major secondary disorders affecting bone metabolism, including secondary hyperparathyroidism (n=8), osteomalacia (n=4), or other major secondary bone disorders (n=5); 6 had acute infection or another severe inflammatory condition around the index date; and 4 had duplicate, unlinked, or temporally unmatched clinical records.
The final eligible cohort comprised 550 patients, including 287 postmenopausal women and 263 men aged ≥50 years (Figure 1).
Study screening and analytic flowchart.
At the index assessment, 229 patients (41.6%) met the prespecified criteria for prevalent osteoporosis and 321 (58.4%) did not. Among the 229 patients with osteoporosis, 208 met the densitometric criterion of a T-score ≤−2.5 at least one DXA site, whereas 21 additional patients had a documented previous low-trauma hip or vertebral fragility fracture despite a minimum T-score >−2.5. Of the 208 patients meeting the densitometric criterion, 39 also had a documented fragility fracture; therefore, 60 patients in the overall cohort had a previous major fragility fracture.
Baseline characteristics are summarized in Table 1. Patients with prevalent osteoporosis were generally older, more frequently female, had lower BMI, longer diabetes duration, and less favorable glycemic profiles than those without osteoporosis. Osteoporosis prevalence decreased progressively across BMI categories, from 51.5% (119/231) in patients with BMI <24.0 kg/m² to 37.3% (82/220) in those with BMI 24.0–27.9 kg/m² and 28.3% (28/99) in those with BMI ≥28.0 kg/m² (P for trend<0.001).
Baseline characteristics of the study population according to prevalent osteoporosis status.
| Characteristic | Overall (N = 550) | Non-osteoporosis (n=321) | Osteoporosis (n=229) | P value |
|---|---|---|---|---|
| Demographic characteristics | ||||
| Age, years | 63.8 ± 9.0 | 61.2 ± 8.5 | 67.5 ± 8.4 | <0.001 |
| Female sex, n (%) | 287 (52.2) | 139 (43.3) | 148 (64.6) | <0.001 |
| Male sex, n (%) | 263 (47.8) | 182 (56.7) | 81 (35.4) | <0.001 |
| BMI, kg/m² | 24.9 ± 3.4 | 25.5 ± 3.3 | 24.0 ± 3.4 | <0.001 |
| BMI category, n (%) | <0.001* | |||
| <24.0 kg/m² | 231 (42.0) | 112 (34.9) | 119 (52.0) | |
| 24.0–27.9 kg/m² | 220 (40.0) | 138 (43.0) | 82 (35.8) | |
| ≥28.0 kg/m² | 99 (18.0) | 71 (22.1) | 28 (12.2) | |
| Diabetes-related characteristics | ||||
| Diabetes duration, years | 10.1 ± 5.8 | 8.3 ± 5.0 | 12.6 ± 5.8 | <0.001 |
| HbA1c, % | 7.6 ± 1.4 | 7.2 ± 1.2 | 8.2 ± 1.4 | <0.001 |
| Fasting plasma glucose, mmol/L | 8.2 ± 2.0 | 7.8 ± 1.8 | 8.8 ± 2.2 | <0.001 |
| Glucose-lowering medication, n (%)† | ||||
| Metformin | 358 (65.1) | 222 (69.2) | 136 (59.4) | 0.018 |
| Insulin | 211 (38.4) | 100 (31.2) | 111 (48.5) | <0.001 |
| SGLT2 inhibitor | 156 (28.4) | 101 (31.5) | 55 (24.0) | 0.056 |
| DPP-4 inhibitor | 121 (22.0) | 66 (20.6) | 55 (24.0) | 0.335 |
| GLP-1 receptor agonist | 72 (13.1) | 48 (15.0) | 24 (10.5) | 0.125 |
| Sulfonylurea | 106 (19.3) | 55 (17.1) | 51 (22.3) | 0.132 |
| Skeletal characteristics | ||||
| Previous major fragility fracture, n (%)‡ | 60 (10.9) | 0 (0.0) | 60 (26.2) | <0.001 |
| T-score ≤−2.5 at ≥1 DXA site, n (%) | 208 (37.8) | 0 (0.0) | 208 (90.8) | <0.001 |
| Lumbar spine T-score | −1.77 ± 1.01 | −1.28 ± 0.90 | −2.46 ± 0.70 | <0.001 |
| Femoral neck T-score | −1.63 ± 0.87 | −1.27 ± 0.80 | −2.13 ± 0.70 | <0.001 |
| Total hip T-score | −1.32 ± 0.82 | −1.05 ± 0.80 | −1.69 ± 0.70 | <0.001 |
| Clinical indication for DXA, n (%) | ||||
| Routine diabetes-related bone-health assessment | 346 (62.9) | 219 (68.2) | 127 (55.5) | |
| Age- or menopause-based osteoporosis screening | 124 (22.5) | 74 (23.1) | 50 (21.8) | |
| Falls, previous fracture, or clinical suspicion | 80 (14.5) | 28 (8.7) | 52 (22.7) | <0.001§ |
Data are presented as mean ± standard deviation or n (%), as appropriate.
*P for trend across BMI categories <0.001.
†Medication categories were not mutually exclusive because combination glucose-lowering therapy was common. Current thiazolidinedione users were excluded according to the prespecified eligibility criteria.
‡Defined as a documented previous low-trauma hip or vertebral fragility fracture. Among the 60 patients with a major fragility fracture, 39 also met the densitometric criterion of T-score ≤−2.5, while 21 were classified as having osteoporosis on the basis of fragility fracture despite a minimum T-score >−2.5.
§Overall comparison across DXA indication categories.
BMI, body mass index; DPP-4, dipeptidyl peptidase-4; DXA, dual-energy X-ray absorptiometry; GLP-1, glucagon-like peptide-1; HbA1c, glycated hemoglobin; SGLT2, sodium-glucose cotransporter-2.
The principal recorded glucose-lowering therapies were metformin in 358 patients (65.1%), insulin in 211 (38.4%), sodium-glucose cotransporter-2 (SGLT2) inhibitors in 156 (28.4%), dipeptidyl peptidase-4 (DPP-4) inhibitors in 121 (22.0%), glucagon-like peptide-1 receptor agonists (GLP-1 RAs) in 72 (13.1%), and sulfonylureas in 106 (19.3%). Medication categories were not mutually exclusive because combination therapy was common. Current thiazolidinedione users had been excluded according to the prespecified eligibility criteria.
DXA had been performed as part of routine bone-health assessment in 346 patients (62.9%), age- or menopause-based osteoporosis screening in 124 (22.5%), and evaluation prompted by falls, previous fracture, or clinical suspicion of osteoporosis in 80 (14.5%).
Endocrine-bone metabolic characteristics according to osteoporosis status
Endocrine-bone metabolic characteristics according to osteoporosis status are summarized in Table 2. Compared with patients without osteoporosis, those with osteoporosis showed higher HbA1c, TyG index, CRP, and NLR, together with lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, lower 25(OH)D, and higher PTH. Most of these between-group differences were statistically significant at P<0.001, whereas the difference in PLR was smaller (P = 0.028). Serum calcium and phosphate did not differ significantly between groups.
Endocrine-bone metabolic characteristics according to prevalent osteoporosis status.
| Variable | Overall (N = 550) | Non-osteoporosis (n=321) | Osteoporosis (n=229) | P value |
|---|---|---|---|---|
| Glycemic and insulin-resistance domain | ||||
| HbA1c, % | 7.6 ± 1.4 | 7.2 ± 1.2 | 8.2 ± 1.4 | <0.001 |
| Fasting plasma glucose, mmol/L | 8.2 ± 2.0 | 7.8 ± 1.8 | 8.8 ± 2.2 | <0.001 |
| TyG index | 9.11 ± 0.52 | 8.96 ± 0.46 | 9.32 ± 0.51 | <0.001 |
| Inflammatory domain | ||||
| CRP, mg/L | 3.1 (1.5–5.8) | 2.2 (1.1–4.0) | 4.4 (2.3–8.1) | <0.001 |
| NLR | 2.51 (1.83–3.54) | 2.34 (1.72–3.18) | 2.78 (2.02–4.12) | <0.001 |
| PLR | 131.5 (98.9–177.4) | 126.3 (96.5–170.8) | 138.5 (102.8–185.9) | 0.028 |
| Bone turnover and mineral-metabolism domain | ||||
| P1NP, ng/mL | 46.8 (34.5–61.2) | 52.3 (39.9–67.8) | 39.0 (28.4–51.5) | <0.001 |
| β-CTX, ng/mL | 0.36 (0.24–0.53) | 0.31 (0.21–0.44) | 0.46 (0.32–0.68) | <0.001 |
| β-CTX/P1NP ratio | 0.009 (0.005–0.015) | 0.006 (0.004–0.009) | 0.013 (0.008–0.021) | <0.001 |
| 25-hydroxyvitamin D, ng/mL | 22.1 (16.3–29.0) | 24.5 (18.8–31.4) | 19.0 (13.5–25.6) | <0.001 |
| PTH, pg/mL | 47.5 (34.7–64.8) | 42.6 (31.4–58.0) | 54.3 (39.9–72.8) | <0.001 |
| Serum calcium, mmol/L | 2.31 ± 0.09 | 2.32 ± 0.09 | 2.30 ± 0.10 | 0.086 |
| Serum phosphate, mmol/L | 1.11 ± 0.16 | 1.12 ± 0.16 | 1.10 ± 0.17 | 0.148 |
Data are presented as mean ± standard deviation or median (interquartile range), as appropriate. Between-group comparisons were performed using the independent-samples t test or Mann Whitney U test according to variable distribution.
β-CTX, β-C-terminal telopeptide of type I collagen; CRP, C-reactive protein; HbA1c, glycated hemoglobin; NLR, neutrophil-to-lymphocyte ratio; P1NP, procollagen type I N-terminal propeptide; PLR, platelet-to-lymphocyte ratio; PTH, parathyroid hormone; TyG, triglyceride-glucose index.
Overall, these findings indicated that prevalent osteoporosis in T2DM was associated with a multidimensional metabolic pattern involving less favorable glycemic status, greater insulin-resistance and inflammatory burden, and altered bone remodeling, providing the basis for the subsequent phenotype analysis.
Primary endocrine-bone metabolic phenotype analysis
Thirteen of the 550 eligible patients had missing 25(OH)D and/or PTH measurements, leaving 537 complete cases for the primary phenotype analysis. Among these 537 patients, 224 had prevalent osteoporosis and 313 did not.
Evaluation of candidate cluster solutions supported a three-cluster structure. The average silhouette coefficients for K = 2, 3, 4, 5, and 6 were 0.36, 0.42, 0.34, 0.31, and 0.28, respectively, with the elbow and gap-statistic analyses also supporting K = 3. Bootstrap stability analysis based on 500 resamples yielded Jaccard coefficients of 0.86, 0.81, and 0.79 for the three clusters, respectively.
The first cluster, termed the metabolically preserved phenotype, included 212 patients (39.5%) and was characterized by relatively favorable glycemic, inflammatory, and bone turnover profiles. The second, termed the metabolic-inflammatory phenotype, included 179 patients (33.3%) and was characterized predominantly by higher HbA1c, TyG index, CRP, and related inflammatory measures. The third, termed the bone-remodeling imbalance phenotype, included 146 patients (27.2%) and was characterized by lower P1NP, higher β-CTX, and a higher β-CTX/P1NP ratio. Because K-means clustering assigns each observation to a single nearest cluster, phenotype membership was mutually exclusive; therefore, no patient was simultaneously classified as both the metabolic-inflammatory and bone-remodeling imbalance phenotype.
Prevalent osteoporosis differed markedly across the three phenotypes. Osteoporosis was present in 43/212 patients (20.3%) with the metabolically preserved phenotype, 77/179 (43.0%) with the metabolic-inflammatory phenotype, and 104/146 (71.2%) with the bone-remodeling imbalance phenotype (P<0.001; P for trend <0.001) (Figure 2).
Identification, characterization, stability, and osteoporosis prevalence of the three endocrine-bone metabolic phenotypes in patients with type 2 diabetes mellitus. (A) Selection of the optimal number of clusters based on average silhouette coefficients, with K = 3 showing the highest value; the elbow and gap-statistic criteria also supported a three-cluster solution. (B) Standardized metabolic profiles of the metabolically preserved, metabolic-inflammatory, and bone-remodeling imbalance phenotypes across glycemic/insulin-resistance, inflammatory, and bone/mineral metabolism domains. (C) Bootstrap cluster stability assessed using Jaccard similarity coefficients. (D) Prevalence of osteoporosis across the three phenotypes, showing a significant increasing gradient from the metabolically preserved to the bone-remodeling imbalance phenotype.
Sensitivity analyses of phenotype robustness and information overlap
Multiple-imputation sensitivity analysis
Missing-data sensitivity analysis was performed in the full cohort of 550 patients using 20 multiply imputed datasets. Regression estimates were pooled using Rubin’s rules. The direction and magnitude of the principal phenotype associations remained similar to those observed in the complete-case analysis.
Across the 20 multiply imputed datasets, phenotype-specific regression estimates were calculated separately within each imputed dataset and subsequently pooled using Rubin’s rules. The pooled effect estimates were highly consistent with those obtained from the primary complete-case analysis (Supplementary Table 4), with no material change in effect direction or statistical inference.
Clustering without direct bone turnover markers
To address the possibility that the primary phenotype-osteoporosis association was driven by direct inclusion of bone turnover markers, clustering was repeated after excluding P1NP, β-CTX, and the β-CTX/P1NP ratio.
The marker-reduced clustering was performed in the same 537 complete-case participants and again yielded three clinically interpretable groups comprising 216, 188, and 133 patients. Osteoporosis was present in 56/216 (25.9%), 81/188 (43.1%), and 87/133 (65.4%) patients, respectively (P for trend<0.001). Thus, a clear phenotype-related gradient in osteoporosis prevalence remained even when direct bone turnover markers were omitted from cluster derivation.
Adjustment for individual phenotype components
In models that simultaneously included phenotype classification and the principal individual metabolic and bone-related components, the strength of phenotype association was attenuated but remained statistically significant. Compared with the metabolically preserved phenotype, the metabolic-inflammatory phenotype was associated with prevalent osteoporosis with an adjusted odds ratio (aOR) of 1.72 (95% CI 1.03–2.88, P = 0.038), while the bone-remodeling imbalance phenotype had an aOR of 2.46 (95% CI 1.34–4.51, P = 0.004).
These findings indicate that phenotype classification remained associated with prevalent osteoporosis after adjustment for its principal measured components, although the attenuation in effect estimates suggests substantial partial overlap between the phenotype construct and its constituent biomarkers.
Sensitivity analysis addressing DXA indication
Eighty patients whose DXA examinations were prompted by falls, previous fracture, or specific clinical suspicion of osteoporosis were excluded from the DXA-indication sensitivity analysis. The restricted cohort comprised 470 patients, including 177 (37.7%) with prevalent osteoporosis. Phenotype-based regression was conducted in patients with complete clustering variables and relevant covariate information.
Compared with the metabolically preserved phenotype, the metabolic-inflammatory phenotype was associated with prevalent osteoporosis (aOR 1.85, 95% CI 1.08–3.18), as was the bone-remodeling imbalance phenotype (aOR 3.36, 95% CI 1.82–6.19). These associations were consistent in direction with those observed in the primary analysis, suggesting that the phenotype–osteoporosis relationship was not entirely explained by DXA referral related to suspected skeletal disease (Supplementary Table 5).
Association of clinical, metabolic, and phenotypic factors with prevalent osteoporosis
In univariable analyses, older age, female sex, longer diabetes duration, higher HbA1c, higher TyG index, higher CRP, lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, and lower 25(OH)D were associated with prevalent osteoporosis.
In the multivariable model, age remained positively associated with osteoporosis (aOR per 10-year increase 1.52, 95% CI 1.19–1.94, P<0.001), whereas higher BMI was inversely associated (aOR per 1 kg/m² increase 0.94, 95% CI 0.89–0.99, P = 0.024). Diabetes duration remained associated with osteoporosis (aOR per year 1.05, 95% CI 1.01–1.09, P = 0.009), as did HbA1c (aOR per 1% increase 1.26, 95% CI 1.07–1.48, P = 0.006), TyG index (aOR per SD increase 1.42, 95% CI 1.14–1.77, P = 0.002), and the β-CTX/P1NP ratio (aOR per SD increase 1.55, 95% CI 1.20–2.00, P<0.001).
After simultaneous adjustment for the individual phenotype components, the metabolic-inflammatory and bone-remodeling imbalance phenotypes retained the independent associations described above. The complete-case and multiply imputed analyses yielded similar effect directions and overlapping confidence intervals. The complete-case multivariable associations are presented in Table 3. Both analyses showed broadly consistent directions of association, although the results should be interpreted in the context of the correlations between phenotype membership and its constituent biomarkers.
Complete-case multivariable analysis of factors associated with prevalent osteoporosis in patients with type 2 diabetes mellitus (N = 537).
| Variable | Adjusted OR (95% CI) | P |
|---|---|---|
| Age, per 10 years | 1.52 (1.19–1.94) | <0.001 |
| Female sex | 1.73 (1.13–2.65) | 0.012 |
| BMI, per kg/m² | 0.94 (0.89–0.99) | 0.024 |
| Diabetes duration, per year | 1.05 (1.01–1.09) | 0.009 |
| HbA1c, per 1% | 1.26 (1.07–1.48) | 0.006 |
| TyG index, per SD | 1.42 (1.14–1.77) | 0.002 |
| CRP, per SD | 1.20 (0.98–1.47) | 0.079 |
| P1NP, per SD | 0.79 (0.63–0.98) | 0.034 |
| β-CTX/P1NP ratio, per SD | 1.55 (1.20–2.00) | <0.001 |
| 25(OH)D, per SD | 0.81 (0.65–1.00) | 0.051 |
| Metabolic-inflammatory phenotype | 1.72 (1.03–2.88) | 0.038 |
| Bone-remodeling imbalance phenotype | 2.46 (1.34–4.51) | 0.004 |
Incremental prediction performance of phenotype information
Four hierarchically structured prediction models were compared. The clinical model including age, sex, BMI, and diabetes duration achieved an AUC of 0.756 (95% CI 0.715–0.796). Adding endocrine-bone metabolic phenotype to the clinical variables increased the AUC to 0.823 (95% CI 0.788–0.858). A biomarker-enhanced model incorporating age, sex, BMI, diabetes duration, HbA1c, TyG index, CRP, P1NP, β-CTX, and 25(OH)D achieved an AUC of 0.847 (95% CI 0.814–0.879). The comprehensive comparison model, which further incorporated phenotype information, achieved an AUC of 0.884 (95% CI 0.855–0.912) (Figure 3A).
Incremental predictive performance and clinical utility of phenotype-enhanced osteoporosis prediction models in patients with type 2 diabetes mellitus. (A) Receiver operating characteristic curves for the clinical, phenotype-enhanced, biomarker-enhanced, and comprehensive comparison models. (B) Comparison of model discrimination based on area under the receiver operating characteristic curve (AUC) with 95% confidence intervals; the comprehensive comparison model showed significantly greater discrimination than the biomarker-enhanced model (DeLong P = 0.018). Continuous net reclassification improvement was 0.32 (95% CI 0.18–0.46, P<0.001), and integrated discrimination improvement was 0.11 (95% CI 0.08–0.14, P<0.001). (C) Decision curve analysis across threshold probabilities of 10%–50%, showing the net benefit of each model compared with evaluating all patients or evaluating no patients.
Compared with the biomarker-enhanced model, the increase in AUC was statistically significant (DeLong P = 0.018). The addition of phenotype information to the biomarker model yielded a continuous net reclassification improvement of 0.32 (95% CI 0.18–0.46, P<0.001) and an integrated discrimination improvement of 0.11 (95% CI 0.08–0.14, P<0.001). No category-based NRI was calculated (Figure 3B).
Decision curve analysis was restricted to the clinically plausible threshold-probability range of 10%–50%. Across most of this range, the comprehensive comparison model showed greater net benefit than the clinical and biomarker-enhanced models and the reference strategies of evaluating all patients and evaluating no patients (Figure 3C).
Final parsimonious model, simplified score, and exploratory thresholds
A parsimonious logistic regression model incorporating age, diabetes duration, HbA1c, TyG index, β-CTX/P1NP ratio, and endocrine-bone metabolic phenotype was selected for individual risk estimation. The model had an apparent AUC of 0.884 (95% CI 0.855–0.912) and was used to construct the nomogram shown in Figure 4A. The simplified scoring analysis was performed in the 537 complete-case participants included in the primary phenotype analysis.
Nomogram and calibration of the final parsimonious model for prevalent osteoporosis in patients with type 2 diabetes mellitus. (A) Nomogram incorporating age, diabetes duration, HbA1c, TyG index, β-CTX/P1NP ratio, and endocrine-bone metabolic phenotype to estimate the individual probability of prevalent osteoporosis. (B) Calibration plot comparing predicted and observed probabilities of prevalent osteoporosis. The optimism-corrected AUC was 0.867, with a calibration slope of 0.914, calibration-in-the-large of 0.031, and Brier score of 0.132.
The corresponding simplified point score ranged from 0 to 23 points and was categorized as 0–4, 5–9, 10–14, and ≥15 points. Observed osteoporosis prevalence increased progressively across these categories, from 8.8% (12/137) in patients scoring 0–4 points and 21.2% (29/137) in those scoring 5–9 points to 55.1% (81/147) in those scoring 10–14 points and 87.9% (102/116) in those scoring ≥15 points.
Using a score ≥10 as an exploratory threshold, 183 of 224 patients with osteoporosis were classified as screen-positive, whereas 233 of 313 patients without osteoporosis were classified as screen-negative. This corresponded to a sensitivity of 81.7%, specificity of 74.4%, positive predictive value of 69.6%, and negative predictive value of 85.0%.
For the full probability model, an exploratory predicted-probability threshold of 40% yielded a sensitivity of 84.4%, specificity of 76.0%, positive predictive value of 71.6%, and negative predictive value of 87.2%. Model calibration is shown in Figure 4B.
Because both the ≥10-point score cutoff and the 40% probability threshold were derived from the present cohort, they were regarded as exploratory internal thresholds rather than externally validated clinical decision thresholds. Prospective external validation is required before either threshold can be considered for clinical screening or referral decisions.
Dose-response analysis, model interpretation, and full-pipeline internal validation
Restricted cubic spline analysis showed a significant overall association between diabetes duration and prevalent osteoporosis (P-overall<0.001), with evidence of nonlinearity (P-nonlinear=0.012). The increase in estimated odds became steeper at longer diabetes durations, particularly beyond approximately 10 years.
The β-CTX/P1NP ratio was also significantly associated with prevalent osteoporosis (P-overall<0.001), with modest evidence of nonlinearity (P-nonlinear=0.021). Because no externally established clinical cutoff exists for this ratio, these findings were interpreted as continuous exposure-response patterns rather than evidence for a validated diagnostic threshold.
SHAP analysis of the final model identified endocrine-bone metabolic phenotype, diabetes duration, β-CTX/P1NP ratio, HbA1c, TyG index, and age as the principal contributors to model output. SHAP values were interpreted as measures of model contribution rather than causal effects.
Full-pipeline internal validation of the final parsimonious model was performed using 1,000 bootstrap resamples, with preprocessing, phenotype derivation, cluster-label alignment, predictor selection, and model fitting repeated within each bootstrap iteration. The apparent AUC of the final six-variable model was 0.884 (95% CI 0.855–0.912). After optimism correction, the AUC was 0.867 (bootstrap 95% CI 0.842–0.890), the calibration slope was 0.914 (95% CI 0.842–0.978), calibration-in-the-large was 0.031 (95% CI −0.044 to 0.106), and the Brier score was 0.132 (95% CI 0.116–0.149) (Table 4).
Full-pipeline bootstrap internal validation of the final parsimonious prediction model (1,000 resamples).
| Performance metric | Apparent performance | Optimism-corrected performance | Bootstrap 95% CI | Optimism |
|---|---|---|---|---|
| AUC | 0.884 | 0.867 | 0.842–0.890 | 0.017 |
| Calibration slope | 1 | 0.914 | 0.842–0.978 | 0.086 |
| Calibration-in-the-large | 0 | 0.031 | −0.044 to 0.106 | 0.031 |
| Brier score | 0.126 | 0.132 | 0.116–0.149 | 0.006 |
The optimism-corrected results showed a modest reduction in discrimination compared with the apparent model performance. Calibration estimates indicated some optimism associated with model development. Although discrimination remained favorable after internal validation, the evaluation was restricted to the derivation cohort. The model’s discrimination, calibration, and clinical utility in independent populations remain uncertain.
Conclusion
In this retrospective study, endocrine-bone metabolic phenotypes were associated with markedly different prevalences of osteoporosis among postmenopausal women and men aged 50 years or older with T2DM. The bone-remodeling imbalance phenotype showed the highest prevalence of osteoporosis, and the phenotype association remained detectable after adjustment for individual metabolic and bone-related components and after exclusion of direct bone turnover markers from clustering.
A prediction framework integrating clinical characteristics, metabolic biomarkers, and phenotype information showed improved internal discrimination compared with clinical variables alone, with an optimism-corrected AUC of 0.867 after full-pipeline bootstrap validation. However, the study assessed prevalent rather than incident osteoporosis, and the simplified score and probability thresholds were internally derived. Therefore, the proposed phenotype-based framework should be regarded as exploratory and requires prospective, external validation before it can be used for clinical screening, referral, or treatment decisions.
Source: Conclusion Source: ConclusionAuthors’ abstract
Background
Type 2 diabetes mellitus (T2DM) is associated with increased skeletal fragility despite frequently preserved bone mineral density, suggesting substantial metabolic heterogeneity beyond conventional osteoporosis risk factors.
Objective
To identify endocrine-bone metabolic phenotypes in T2DM and evaluate their associations with prevalent osteoporosis and incremental contribution to an internally validated risk-classification model.
Methods
This single-center retrospective study included 550 postmenopausal women and men aged ≥50 years with T2DM who underwent dual-energy X-ray absorptiometry. Prevalent osteoporosis was defined by a T-score ≤−2.5 at the lumbar spine, femoral neck, or total hip, or by documented low-trauma hip or vertebral fracture. K-means clustering was performed using glycemic, insulin-resistance, inflammatory, and bone/mineral metabolism variables. Primary phenotype and regression analyses used 537 complete cases. Logistic models, sensitivity analyses, multiple imputation, decision-curve analysis, and 1,000-resample full-pipeline bootstrap validation were performed.
Results
Three phenotypes were identified: metabolically preserved (n=212), metabolic-inflammatory (n=179), and bone-remodeling imbalance (n=146). Osteoporosis prevalence increased across phenotypes from 20.3% to 43.0% and 71.2% (P for trend<0.001). Compared with the metabolically preserved phenotype, adjusted odds ratios were 1.72 (95% CI 1.03–2.88) and 2.46 (1.34–4.51), respectively. Adding phenotype information to a biomarker-enhanced model increased AUC from 0.847 to 0.884 (DeLong P = 0.018), with continuous NRI 0.32 and IDI 0.11. The final parsimonious model had an optimism-corrected AUC of 0.867.
Conclusion
Endocrine-bone metabolic phenotypes were strongly associated with prevalent osteoporosis in T2DM and provided incremental predictive information beyond individual biomarkers. The proposed framework is exploratory and requires prospective external validation before clinical implementation.
Read the full paper
Introduction
Type 2 diabetes mellitus (T2DM) has become a major global endocrine and metabolic disorder. The 11th edition of the IDF Diabetes Atlas estimated that 589 million adults aged 20–79 years were living with diabetes in 2024, with this number projected to increase to 853 million by 2050 (1). A pooled analysis of 1,108 population-based studies similarly showed that the global number of people with diabetes reached approximately 828 million in 2022, increasing by more than 600 million since 1990 (2).
In parallel, osteoporosis remains a major public health problem in aging populations, with a global prevalence approaching 20% according to a recent systematic review and meta-analysis (3). Osteoporosis is characterized not only by reduced bone mass but also by impaired bone microarchitecture and increased skeletal fragility. Dual-energy X-ray absorptiometry (DXA) remains the principal clinical tool for assessing bone mineral density (BMD) and diagnosing osteoporosis, but BMD alone does not fully capture fracture susceptibility, particularly in patients with T2DM (4).
Diabetic skeletal disease has several characteristics that distinguish it from conventional age-related or postmenopausal osteoporosis. Although patients with T2DM have an increased risk of fragility fracture, their BMD is frequently preserved or even elevated, creating an apparent discrepancy between bone mass and skeletal strength (5, 6). This paradox suggests that impaired bone quality, altered microarchitecture, abnormal material properties, and disturbances in bone turnover may contribute substantially to skeletal vulnerability in diabetes. A recent meta-analysis further indicated that T2DM is associated with changes in trabecular structure, bone strength, and other bone-quality measures that may not be adequately reflected by conventional DXA-derived BMD (7).
Moreover, emerging approaches suggest that DXA-derived or opportunistically obtained skeletal parameters may provide additional information on bone quality beyond conventional areal BMD, which may be particularly relevant in patients with T2DM (8). Therefore, assessment of skeletal health in T2DM requires consideration of both densitometric status and the broader metabolic and structural context of bone fragility.
Several endocrine and metabolic pathways may contribute to these skeletal abnormalities. Hyperglycemia, insulin resistance, accumulation of advanced glycation end products (AGEs), oxidative stress, and chronic low-grade inflammation have all been implicated in altered osteoblast, osteoclast, and osteocyte function (9). Experimental and clinical evidence suggests that abnormal Wnt signaling and AGE accumulation may impair osteogenesis and bone material properties in T2DM (10). In addition, oxidative stress and inflammatory activation have been linked to low-turnover bone states and impaired remodeling (11).
Clinical studies have reported reduced levels of the bone formation marker procollagen type I N-terminal propeptide (P1NP) and alterations in bone resorption markers among patients with T2DM, suggesting that bone turnover imbalance may represent an important component of diabetic skeletal disease (12). Inflammatory indices such as the neutrophil-to-lymphocyte ratio, monocyte-to-lymphocyte ratio, and platelet-to-lymphocyte ratio have also been associated with BMD and osteoporosis status in T2DM populations (13). These observations support the concept that diabetic bone disease reflects the combined influence of glycemic, inflammatory, insulin-resistance, and bone-remodeling abnormalities rather than a single isolated pathway.
Previous studies have evaluated individual associations of HbA1c, diabetes duration, BMI, vitamin D status, inflammatory markers, and bone turnover markers with osteoporosis in T2DM. However, these variables often interact biologically and may not adequately characterize the marked heterogeneity observed across patients when considered separately. Data from the Dubbo Osteoporosis Epidemiology Study, for example, have demonstrated complex relationships among diabetes, body composition, insulin resistance, bone turnover, BMD, and hip structural characteristics (14). More broadly, contemporary approaches to diabetic skeletal disease increasingly emphasize multidimensional metabolic heterogeneity rather than isolated risk factors (15).
From this perspective, unsupervised phenotypic classification may provide a useful method for identifying recurring metabolic patterns and for examining whether such patterns are associated with different prevalences of osteoporosis (16).
Nevertheless, several uncertainties remain. First, it is unclear whether phenotypes constructed from glycemic, inflammatory, insulin-resistance, and bone-remodeling markers provide information beyond that contained in their individual components. Second, because bone turnover markers are themselves closely related to skeletal status, phenotype–osteoporosis associations may be partly driven by overlap between clustering variables and the outcome. Third, previously published T2DM osteoporosis prediction models have primarily combined demographic characteristics, diabetes duration, anthropometric measures, and selected laboratory or bone-metabolism markers at the individual-variable level. In contrast, whether unsupervised metabolic phenotypes capturing the joint pattern of glycemic status, insulin resistance, inflammation, and bone remodeling provide information beyond both conventional clinical factors and the individual biomarkers from which they are derived has not been well established.
The principal novelty of the present study was therefore not the inclusion of new biomarkers, but the evaluation of a multidimensional phenotype structure and, importantly, the formal assessment of its incremental value beyond individual biomarker information.
Therefore, the present study aimed to identify endocrine-bone metabolic phenotypes in patients with T2DM using unsupervised clustering of glycemic, insulin-resistance, inflammatory, and bone/mineral metabolism variables; to examine the associations of these phenotypes with prevalent osteoporosis at the index DXA assessment; and to evaluate whether phenotype information provided incremental discrimination beyond conventional clinical factors and individual biomarkers. We additionally performed sensitivity analyses excluding direct bone turnover markers from phenotype derivation and adjusting for individual phenotype components to address potential information overlap.
Finally, we developed and internally validated an exploratory risk-classification framework for prevalent osteoporosis. Because of the retrospective single-center design, the study was intended to support hypothesis generation and internal risk stratification rather than to establish causal relationships, predict future osteoporosis development, or define treatment thresholds.
Methods
Study design and study population
Study design and data source
This was a single-center retrospective observational study with cross-sectional assessment of prevalent osteoporosis at the index DXA examination. The study was reported in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) statement, and the completed STROBE checklist is provided as Supplementary File 1: STROBE Checklist. The study population was derived from the clinical database of the Second Affiliated Hospital of Soochow University. Data were obtained from the electronic medical record system, laboratory information system, pharmacy records, and DXA database.
Consecutive potentially eligible patients with T2DM who underwent DXA assessment between January 1, 2022 and January 1, 2026 were screened.
The index date was defined as the date of the qualifying DXA examination. Clinical characteristics, medication exposure, and laboratory measurements were aligned to this index date. The study evaluated associations between contemporaneously assessed endocrine-metabolic characteristics and prevalent osteoporosis rather than incident or future osteoporosis. No additional examinations, interventions, or modifications to routine treatment were performed for research purposes.
DXA examinations had been performed as part of routine clinical practice. Indications included routine diabetes-related bone health assessment, age- or menopause-based osteoporosis screening, and evaluation prompted by falls, previous fracture, or clinical suspicion of osteoporosis. Because referral for DXA could introduce selection bias, the clinical indication for DXA was recorded where available and an additional sensitivity analysis excluding patients whose DXA was prompted by falls, fracture history, or specific clinical suspicion of osteoporosis was prespecified.
The study protocol was reviewed and approved by the Ethics Committee of the Second Affiliated Hospital of Soochow University (approval no. JD-LK-2021-086, approved on December 20, 2021). Given the retrospective nature of the study and the exclusive use of routinely collected clinical data, the requirement for additional written informed consent was waived by the Ethics Committee. All patient data were anonymized prior to analysis, and the study was conducted in accordance with the principles of the Declaration of Helsinki and relevant institutional requirements for retrospective clinical research.
Inclusion and exclusion criteria
Inclusion criteria
Patients were eligible if they met all of the following criteria: (1) established T2DM diagnosed according to accepted American Diabetes Association or World Health Organization criteria; (2) postmenopausal female status or male sex with age ≥50 years, thereby permitting application of T-score-based osteoporosis criteria; (3) completion of an interpretable DXA examination including the lumbar spine, femoral neck, and/or total hip during the study period; (4) availability of diabetes duration and the principal clinical and laboratory variables required for the prespecified analyses; and (5) sufficient clinical information to determine osteoporosis status at the index assessment.
Postmenopausal status was defined as spontaneous amenorrhea for at least 12 consecutive months in the absence of another pathological or physiological cause or a documented clinical diagnosis of menopause in the medical record.
Exclusion criteria
Patients were excluded for: (1) type 1 diabetes mellitus or other specific forms of diabetes; (2) premenopausal status in women or age <50 years in men; (3) known major secondary causes of osteoporosis or clinically relevant disorders of bone or mineral metabolism, including established primary or secondary hyperparathyroidism, osteomalacia, active malignancy substantially affecting bone metabolism, or other major systemic skeletal disorders; (4) current or recent systemic glucocorticoid use, thiazolidinedione exposure, or other medication exposure judged to have a major direct effect on bone metabolism; (5) previous pharmacological anti-osteoporosis treatment; (6) acute infection, severe systemic inflammatory disease, or other acute conditions that could substantially alter inflammatory or metabolic biomarkers; (7) uninterpretable DXA findings; or (8) absence of variables essential for phenotype derivation.
Participant screening
A total of 780 patients with T2DM who underwent potential eligibility assessment during the study period were screened. Of these, 230 were excluded: 72 had no valid or interpretable DXA examination within the prespecified study window; 65 were premenopausal women or men younger than 50 years; 33 lacked key endocrine or metabolic measurements required for phenotype derivation; 22 had current or recent exposure to medications with major established skeletal effects, including thiazolidinediones or systemic glucocorticoids; 11 had previously received anti-osteoporosis treatment; 17 had major secondary disorders affecting bone metabolism, including clinically established secondary hyperparathyroidism (n=8), suspected or confirmed osteomalacia (n=4), or other major secondary bone disorders (n=5); 6 had acute infection or another severe inflammatory condition around the index date; and 4 had duplicate, unlinked, or temporally unmatched clinical records.
The final eligible cohort therefore comprised 550 patients, including 287 postmenopausal women and 263 men aged 50 years or older. At the index assessment, 229 patients met the criteria for prevalent osteoporosis and 321 did not.
Clinical and DXA data collection
Clinical data and index-date alignment
Clinical information was retrospectively extracted according to a prespecified data abstraction protocol. Variables included age, sex, height, weight, body mass index (BMI), smoking, alcohol consumption, menopausal status, previous low-trauma fracture, falls during the preceding year, family history of osteoporosis, diabetes duration, glycated hemoglobin (HbA1c), fasting plasma glucose, diabetic complications, and glucose-lowering medication use.
BMI was analyzed continuously and additionally categorized according to Chinese adult BMI criteria as <24.0 kg/m², 24.0–27.9 kg/m², and ≥28.0 kg/m².
Diabetes duration was calculated from the documented date of T2DM diagnosis to the DXA index date and was interpreted as an indicator of disease chronicity. HbA1c was interpreted as an estimate of glycemic control over approximately the preceding 2–3 months. Because serial longitudinal HbA1c measurements were not systematically available for all participants, HbA1c was not interpreted as a direct measure of cumulative lifetime or chronic glycemic exposure.
Laboratory measurements were obtained from clinically indicated evaluations performed around the index DXA examination. At our institution, patients with T2DM referred for osteoporosis screening or metabolic bone assessment may undergo a standardized skeletal-metabolism panel that includes P1NP, β-CTX, 25(OH)D, PTH, serum calcium, and phosphate, particularly in older adults, postmenopausal women, patients with long-standing diabetes, or those with suspected skeletal risk. These measurements were ordered as part of clinical care rather than specifically for the present study. For analysis, measurements obtained within 30 days before to 7 days after the index DXA examination were eligible, and the value closest to the DXA date was selected when multiple measurements were available.
Glucose-lowering medication exposure was extracted from medication records when reliably available. The principal recorded categories included metformin, insulin, sodium-glucose cotransporter-2 inhibitors, dipeptidyl peptidase-4 inhibitors, glucagon-like peptide-1 receptor agonists, and sulfonylureas. Patients receiving thiazolidinediones were excluded a priori because of their established adverse skeletal effects. Medication classes were not treated as mutually exclusive because combination therapy was common.
DXA assessment and definition of prevalent osteoporosis
Bone mineral density was assessed using DXA at the lumbar spine (L1–L4), femoral neck, and total hip. Standard manufacturer quality-control procedures and routine calibration were performed according to institutional practice. Scans with major positioning problems, artifacts, or structural abnormalities preventing valid interpretation were excluded.
The primary outcome was prevalent osteoporosis at the index assessment. Because the analytic cohort was restricted to postmenopausal women and men aged ≥50 years, T-score criteria were applied. Osteoporosis was defined as either: (1) a T-score ≤−2.5 at the lumbar spine, femoral neck, or total hip; or (2) a documented previous low-trauma hip or vertebral fragility fracture considered diagnostic of osteoporosis irrespective of T-score.
Among the 229 patients classified as having prevalent osteoporosis, 208 had a T-score ≤−2.5 at least one DXA site. An additional 21 patients had a documented previous low-trauma hip or vertebral fragility fracture despite having a minimum T-score above −2.5. Of the 208 patients meeting the densitometric criterion, 39 also had a documented fragility fracture. Thus, 60 patients in the entire cohort had a documented previous major fragility fracture.
DXA examinations were originally interpreted during routine clinical care before phenotype derivation and prediction-model development; therefore, the clinicians responsible for the original DXA reports were unaware of subsequent phenotype assignment and model results. During study data abstraction, DXA measurements were extracted without modification, and osteoporosis status was subsequently assigned using the prespecified diagnostic algorithm. Investigators performing phenotype construction and statistical modelling used coded analytic data and did not participate in the original clinical interpretation of the DXA examinations. Because DXA does not directly characterize all aspects of diabetic bone quality, no inference was made that the primary outcome represented total fracture susceptibility or complete skeletal quality.
Endocrine-bone metabolic phenotype construction
Candidate variables
Phenotype construction was based on four prespecified biological domains relevant to diabetic bone disease: glycemic status, insulin resistance, systemic inflammation, and bone/mineral metabolism.
The glycemic domain included diabetes duration, HbA1c, and fasting plasma glucose. Insulin resistance was characterized using fasting insulin, where available, and the triglyceride-glucose (TyG) index, calculated as:
ln [fasting triglycerides (mg/dL) × fasting glucose (mg/dL)/2].
The inflammatory domain included C-reactive protein (CRP), neutrophil-to-lymphocyte ratio (NLR), and platelet-to-lymphocyte ratio (PLR).
The bone and mineral metabolism domain included procollagen type I N-terminal propeptide (P1NP), β-C-terminal telopeptide of type I collagen (β-CTX), 25-hydroxyvitamin D [25(OH)D], parathyroid hormone (PTH), serum calcium, and serum phosphate. The β-CTX/P1NP ratio was additionally calculated as an exploratory indicator of the balance between bone resorption and formation.
Continuous clustering variables were standardized to z scores before analysis. Highly skewed biomarkers were log-transformed where appropriate before standardization.
Primary clustering procedure
The primary phenotype analysis was performed in complete cases because direct averaging across multiply imputed datasets is not appropriate for unsupervised clustering. Of the 550 eligible participants, 13 had missing 25(OH)D and/or PTH data, leaving 537 patients in the primary complete-case phenotype analysis.
K-means clustering using Euclidean distance was applied to standardized phenotype variables. Candidate cluster solutions with K = 2 through K = 6 were evaluated using the within-cluster sum of squares elbow criterion, average silhouette width, and gap statistic. The three-cluster solution provided the best balance between statistical separation, stability, and clinical interpretability. The average silhouette coefficients for K = 2, 3, 4, 5, and 6 were 0.36, 0.42, 0.34, 0.31, and 0.28, respectively.
Cluster stability was assessed using 500 bootstrap resamples. Jaccard similarity coefficients for the three retained phenotypes were 0.86, 0.81, and 0.79, respectively, all exceeding the prespecified threshold of 0.75 for acceptable cluster stability.
The three clusters were labeled as metabolically preserved, metabolic-inflammatory, and bone-remodeling imbalance phenotypes according to their observed metabolic profiles. Cluster labels were assigned after completion of the unsupervised analysis. Phenotype assignment was based on the variable-level centroids from the original K-means solution. All clustering variables were transformed and standardized using the reference parameters derived from the 537 complete-case participants. Euclidean distances to the three cluster centroids were calculated in the standardized variable space, and each observation was assigned to the nearest centroid.
Domain-level centroid profiles were used for biological interpretation, whereas the variable-level centroids and preprocessing parameters defined the reproducible assignment procedure (Supplementary Tables S1A, B).
Sensitivity analyses addressing phenotype-outcome overlap
Because bone turnover markers used in phenotype derivation could be closely associated with DXA-defined osteoporosis, two prespecified sensitivity approaches were used to evaluate possible circularity and information overlap.
First, clustering was repeated after excluding P1NP, β-CTX, and the β-CTX/P1NP ratio from phenotype derivation. This analysis therefore relied on glycemic, insulin-resistance, inflammatory, vitamin D, PTH, calcium, and phosphate measures without direct bone turnover markers. The association between the resulting marker-reduced phenotype structure and prevalent osteoporosis was then reassessed.
Second, multivariable logistic regression models simultaneously included the phenotype variable and its principal individual metabolic and bone-related components. This analysis evaluated whether phenotype classification retained information associated with osteoporosis after accounting for the individual biomarkers from which the phenotype had been derived.
An additional sensitivity analysis was performed to assess potential selection bias related to the clinical indication for DXA. Patients whose examinations were prompted by falls, previous fracture, or specific clinical suspicion of osteoporosis were excluded. The remaining participants were evaluated for completeness of phenotype-defining variables and covariates. Phenotype assignments and adjusted regression analyses were performed in the resulting complete-case restricted sample. The numbers of eligible and analyzed patients were distinguished in the reporting of this sensitivity analysis.
Prediction model development and internal validation
Model-building strategy
Prediction analyses were designed to estimate the probability of prevalent osteoporosis at the index DXA assessment rather than future osteoporosis development.
Association analyses and prediction-model development were treated as distinct analytical objectives. Multivariable association models were used to examine the relationship between phenotype membership and prevalent osteoporosis after adjustment for relevant clinical and metabolic factors. Prediction models were subsequently developed to assess discrimination, calibration, and the incremental contribution of phenotype information. The final parsimonious model was selected for risk presentation and internal validation and should not be interpreted as equivalent to the fully adjusted association model.
Four hierarchically structured logistic regression models were evaluated.
Model 1, the clinical model, included age, sex, BMI, and diabetes duration.
Model 2 included the clinical variables plus endocrine-bone metabolic phenotype.
Model 3 included the clinical variables plus individual endocrine and bone-related biomarkers, including HbA1c, TyG index, CRP, P1NP, β-CTX, and 25(OH)D.
Model 4, the comprehensive comparison model, included the variables in Model 3 plus endocrine-bone metabolic phenotype. Models 1–4 were used primarily to quantify the incremental predictive contribution of phenotype information, whereas the subsequently derived six-variable parsimonious model was designated as the final model for nomogram construction, simplified scoring, and full-pipeline internal validation.
The parsimonious model was developed from 18 candidate predictors selected according to clinical relevance, previous evidence, data availability, and representation of the biological domains examined in this study. These predictors included age, sex, BMI, diabetes duration, HbA1c, fasting glucose, TyG index, CRP, NLR, PLR, P1NP, β-CTX, β-CTX/P1NP ratio, 25(OH)D, PTH, serum calcium, serum phosphate, and endocrine-bone metabolic phenotype.
Predictor reduction involved three sequential stages. First, redundancy was assessed using pairwise correlation coefficients and variance inflation factors. When substantial collinearity was identified, defined as an absolute correlation coefficient greater than 0.70 or a variance inflation factor of at least 5, variables were evaluated according to clinical relevance and biological interpretability. This stage reduced the candidate set from 18 to 14 predictors. Second, backward elimination based on the Akaike information criterion was applied, with age and diabetes duration retained as clinically prespecified variables.
Eight predictors remained after this step. Finally, coefficient stability, biological overlap, and model complexity were considered in selecting the final six-predictor model.
The final model included age, diabetes duration, HbA1c, TyG index, β-CTX/P1NP ratio, and endocrine-bone metabolic phenotype. The predictor-selection sequence is summarized in Supplementary Table 2. The same selection procedure was incorporated into the internal bootstrap validation.
Model performance
Discrimination was evaluated using the area under the receiver operating characteristic curve (AUC) with 95% confidence intervals. Differences in AUC between nested models were evaluated using DeLong’s method where appropriate.
Calibration was evaluated using calibration plots, calibration slope, calibration-in-the-large, and the Brier score.
Incremental predictive information provided by phenotype classification was assessed by comparing the clinical model, phenotype-enhanced model, biomarker model, and comprehensive model. Continuous net reclassification improvement (NRI) and integrated discrimination improvement (IDI) were calculated with 95% confidence intervals. No category-based NRI was used because externally validated osteoporosis probability categories were unavailable.
Clinical net benefit was assessed using decision curve analysis. The prespecified presentation focused on threshold probabilities between 10% and 50%, which were considered a plausible exploratory range for further bone evaluation in this study population. Each model was compared with the strategies of evaluating all patients and evaluating no patients.
Full-pipeline bootstrap validation
Internal validation was performed using 1,000 bootstrap resamples to estimate optimism arising from the complete model-development process. Each bootstrap sample was drawn with replacement from the 537 complete-case participants. Within each resample, data transformations and standardization parameters were re-estimated, K-means clustering was repeated with three clusters, and cluster labels were aligned with the reference phenotype structure according to centroid similarity. Predictor selection and logistic regression model fitting were then repeated using the same procedures applied in the original analysis.
Each bootstrap-derived model was evaluated in the bootstrap sample and in the original cohort. For prediction in the original cohort, phenotype assignments were obtained using the preprocessing parameters and cluster centroids derived from the corresponding bootstrap sample. Model performance was calculated separately in the two samples. Optimism was estimated as the mean difference between bootstrap-sample and original-sample performance across the 1,000 iterations. Optimism-corrected performance was obtained by subtracting the estimated optimism from the apparent performance of the original model.
Discrimination was assessed using the AUC, and calibration was evaluated using the calibration slope, calibration-in-the-large, and Brier score. Bootstrap confidence intervals were calculated for these performance measures. This procedure quantified internal optimism associated with the model-development process but did not provide evidence of external generalizability.
Simplified scoring system and exploratory clinical thresholds
A simplified point-based scoring system was constructed using the six predictors retained in the final parsimonious logistic regression model. Age, diabetes duration, HbA1c, TyG index, and β-CTX/P1NP ratio were categorized into clinically interpretable intervals, while endocrine-bone metabolic phenotype was represented by three mutually exclusive categories. Integer points were assigned to each predictor category to form a total score ranging from 0 to 23 points. Higher scores indicated a greater observed probability of prevalent osteoporosis. The scoring categories and integer points were derived from the fitted model and are presented in Supplementary Table 3, together with the coefficient-based scoring procedure.
The total score ranged from 0 to 23 points. Because categorization and integer rounding may affect model performance, the simplified score was evaluated separately from the original logistic regression model.
Total scores were classified into four exploratory categories: 0–4, 5–9, 10–14, and ≥15 points. These categories were derived from the present cohort and were not treated as externally validated clinical cutoffs.
The resulting total score ranged from 0 to 23 points and was categorized as 0–4, 5–9, 10–14, and ≥15 points. These categories were derived within the present dataset and were considered exploratory rather than externally validated clinical cutoffs.
The discriminatory performance of the simplified score was evaluated by reporting observed osteoporosis prevalence across score categories and the sensitivity, specificity, positive predictive value, and negative predictive value of the ≥10-point threshold.
For the full probability model, a predicted probability of 40% was additionally examined as an exploratory threshold for further DXA or specialist bone evaluation. This threshold was derived post hoc from the present cohort on the basis of discrimination and net-benefit considerations and was not prespecified or externally validated. It was therefore not interpreted as a treatment threshold or guideline-based indication for anti-osteoporosis therapy.
Missing data and statistical analysis
Continuous variables were summarized as mean ± standard deviation or median with interquartile range according to their distributions. Categorical variables were summarized as numbers and percentages. Between-group comparisons used independent-samples t tests or Mann–Whitney U tests for continuous variables and chi-square or Fisher’s exact tests for categorical variables, as appropriate.
Among the 550 eligible patients, 25(OH)D was missing in 9 patients (1.6%) and PTH in 6 patients (1.1%); 2 patients were missing both measurements. Thus, 13 unique patients had incomplete values for these variables, while the remaining principal variables required for the main analyses were complete.
The primary phenotype analysis and primary regression analyses were based on 537 complete cases. Missing-data sensitivity analyses were conducted in the full cohort of 550 patients using multiple imputation by chained equations (MICE). Following imputation, phenotype membership was assigned separately within each imputed dataset using the reference centroids derived from the primary complete-case analysis. The original preprocessing and standardization parameters were retained to ensure consistent phenotype definitions across datasets. Regression models were fitted separately within each imputed dataset, and parameter estimates and standard errors were subsequently combined using Rubin’s rules.
This approach preserved imputation-related uncertainty without averaging patient-level biomarker values across datasets.
Twenty imputed datasets were generated with 20 iterations per dataset. The imputation model included age, sex, BMI, diabetes duration, HbA1c, TyG index, CRP, P1NP, β-CTX, 25(OH)D, PTH, calcium, phosphate, relevant medication variables, and osteoporosis status.
Regression coefficients and corresponding standard errors from the multiply imputed datasets were combined using Rubin’s rules. No analytic variable was generated by averaging patient-level values across imputed datasets. The consistency of effect direction, magnitude, and statistical inference between complete-case and multiply imputed analyses was used to assess robustness to missing data.
Associations between clinical variables, biomarkers, phenotype classifications, and prevalent osteoporosis were evaluated using univariable and multivariable logistic regression. Odds ratios (ORs) with 95% confidence intervals (CIs) were reported.
Restricted cubic spline analyses were used to explore potentially nonlinear associations of diabetes duration and the β-CTX/P1NP ratio with prevalent osteoporosis. Four knots were placed at the 5th, 35th, 65th, and 95th percentiles. Overall and nonlinear associations were evaluated separately.
SHapley Additive exPlanations (SHAP) were used as a supplementary model-interpretation method to quantify the relative contribution of individual predictors to model output. SHAP results were interpreted as model explanation rather than causal effects. Model adequacy was evaluated with consideration of the number of osteoporosis events, predictor complexity, coefficient stability, internal bootstrap validation, discrimination, and calibration.
All statistical tests were two-sided. P<0.05 was considered statistically significant. Statistical analyses were conducted using R software version 4.3.2 (R Foundation for Statistical Computing, Vienna, Austria). Multiple imputation was performed using the mice package; clustering and cluster assessment used factoextra and related clustering packages; regression and bootstrap validation used the rms package; and SHAP visualization used shapviz.
No generative artificial intelligence or large language model was used for patient classification, phenotype derivation, statistical analysis, outcome ascertainment, or interpretation of the study results. All clustering, regression, validation, and model-interpretation procedures were conducted using statistical methods implemented in R. Any language-editing assistance, if applicable, did not involve generation or modification of study data or statistical results.
Results
Study population and baseline characteristics
A total of 780 patients with T2DM were assessed for eligibility. Of these, 230 were excluded: 72 had no valid or interpretable DXA examination within the prespecified study window; 65 were premenopausal women or men aged <50 years; 33 lacked key endocrine or metabolic measurements required for phenotype derivation; 22 had current or recent exposure to medications with major established skeletal effects, including thiazolidinediones or systemic glucocorticoids; 11 had previously received anti-osteoporosis treatment; 17 had major secondary disorders affecting bone metabolism, including secondary hyperparathyroidism (n=8), osteomalacia (n=4), or other major secondary bone disorders (n=5); 6 had acute infection or another severe inflammatory condition around the index date; and 4 had duplicate, unlinked, or temporally unmatched clinical records.
The final eligible cohort comprised 550 patients, including 287 postmenopausal women and 263 men aged ≥50 years (Figure 1).
Study screening and analytic flowchart.
At the index assessment, 229 patients (41.6%) met the prespecified criteria for prevalent osteoporosis and 321 (58.4%) did not. Among the 229 patients with osteoporosis, 208 met the densitometric criterion of a T-score ≤−2.5 at least one DXA site, whereas 21 additional patients had a documented previous low-trauma hip or vertebral fragility fracture despite a minimum T-score >−2.5. Of the 208 patients meeting the densitometric criterion, 39 also had a documented fragility fracture; therefore, 60 patients in the overall cohort had a previous major fragility fracture.
Baseline characteristics are summarized in Table 1. Patients with prevalent osteoporosis were generally older, more frequently female, had lower BMI, longer diabetes duration, and less favorable glycemic profiles than those without osteoporosis. Osteoporosis prevalence decreased progressively across BMI categories, from 51.5% (119/231) in patients with BMI <24.0 kg/m² to 37.3% (82/220) in those with BMI 24.0–27.9 kg/m² and 28.3% (28/99) in those with BMI ≥28.0 kg/m² (P for trend<0.001).
Baseline characteristics of the study population according to prevalent osteoporosis status.
| Characteristic | Overall (N = 550) | Non-osteoporosis (n=321) | Osteoporosis (n=229) | P value |
|---|---|---|---|---|
| Demographic characteristics | ||||
| Age, years | 63.8 ± 9.0 | 61.2 ± 8.5 | 67.5 ± 8.4 | <0.001 |
| Female sex, n (%) | 287 (52.2) | 139 (43.3) | 148 (64.6) | <0.001 |
| Male sex, n (%) | 263 (47.8) | 182 (56.7) | 81 (35.4) | <0.001 |
| BMI, kg/m² | 24.9 ± 3.4 | 25.5 ± 3.3 | 24.0 ± 3.4 | <0.001 |
| BMI category, n (%) | <0.001* | |||
| <24.0 kg/m² | 231 (42.0) | 112 (34.9) | 119 (52.0) | |
| 24.0–27.9 kg/m² | 220 (40.0) | 138 (43.0) | 82 (35.8) | |
| ≥28.0 kg/m² | 99 (18.0) | 71 (22.1) | 28 (12.2) | |
| Diabetes-related characteristics | ||||
| Diabetes duration, years | 10.1 ± 5.8 | 8.3 ± 5.0 | 12.6 ± 5.8 | <0.001 |
| HbA1c, % | 7.6 ± 1.4 | 7.2 ± 1.2 | 8.2 ± 1.4 | <0.001 |
| Fasting plasma glucose, mmol/L | 8.2 ± 2.0 | 7.8 ± 1.8 | 8.8 ± 2.2 | <0.001 |
| Glucose-lowering medication, n (%)† | ||||
| Metformin | 358 (65.1) | 222 (69.2) | 136 (59.4) | 0.018 |
| Insulin | 211 (38.4) | 100 (31.2) | 111 (48.5) | <0.001 |
| SGLT2 inhibitor | 156 (28.4) | 101 (31.5) | 55 (24.0) | 0.056 |
| DPP-4 inhibitor | 121 (22.0) | 66 (20.6) | 55 (24.0) | 0.335 |
| GLP-1 receptor agonist | 72 (13.1) | 48 (15.0) | 24 (10.5) | 0.125 |
| Sulfonylurea | 106 (19.3) | 55 (17.1) | 51 (22.3) | 0.132 |
| Skeletal characteristics | ||||
| Previous major fragility fracture, n (%)‡ | 60 (10.9) | 0 (0.0) | 60 (26.2) | <0.001 |
| T-score ≤−2.5 at ≥1 DXA site, n (%) | 208 (37.8) | 0 (0.0) | 208 (90.8) | <0.001 |
| Lumbar spine T-score | −1.77 ± 1.01 | −1.28 ± 0.90 | −2.46 ± 0.70 | <0.001 |
| Femoral neck T-score | −1.63 ± 0.87 | −1.27 ± 0.80 | −2.13 ± 0.70 | <0.001 |
| Total hip T-score | −1.32 ± 0.82 | −1.05 ± 0.80 | −1.69 ± 0.70 | <0.001 |
| Clinical indication for DXA, n (%) | ||||
| Routine diabetes-related bone-health assessment | 346 (62.9) | 219 (68.2) | 127 (55.5) | |
| Age- or menopause-based osteoporosis screening | 124 (22.5) | 74 (23.1) | 50 (21.8) | |
| Falls, previous fracture, or clinical suspicion | 80 (14.5) | 28 (8.7) | 52 (22.7) | <0.001§ |
Data are presented as mean ± standard deviation or n (%), as appropriate.
*P for trend across BMI categories <0.001.
†Medication categories were not mutually exclusive because combination glucose-lowering therapy was common. Current thiazolidinedione users were excluded according to the prespecified eligibility criteria.
‡Defined as a documented previous low-trauma hip or vertebral fragility fracture. Among the 60 patients with a major fragility fracture, 39 also met the densitometric criterion of T-score ≤−2.5, while 21 were classified as having osteoporosis on the basis of fragility fracture despite a minimum T-score >−2.5.
§Overall comparison across DXA indication categories.
BMI, body mass index; DPP-4, dipeptidyl peptidase-4; DXA, dual-energy X-ray absorptiometry; GLP-1, glucagon-like peptide-1; HbA1c, glycated hemoglobin; SGLT2, sodium-glucose cotransporter-2.
The principal recorded glucose-lowering therapies were metformin in 358 patients (65.1%), insulin in 211 (38.4%), sodium-glucose cotransporter-2 (SGLT2) inhibitors in 156 (28.4%), dipeptidyl peptidase-4 (DPP-4) inhibitors in 121 (22.0%), glucagon-like peptide-1 receptor agonists (GLP-1 RAs) in 72 (13.1%), and sulfonylureas in 106 (19.3%). Medication categories were not mutually exclusive because combination therapy was common. Current thiazolidinedione users had been excluded according to the prespecified eligibility criteria.
DXA had been performed as part of routine bone-health assessment in 346 patients (62.9%), age- or menopause-based osteoporosis screening in 124 (22.5%), and evaluation prompted by falls, previous fracture, or clinical suspicion of osteoporosis in 80 (14.5%).
Endocrine-bone metabolic characteristics according to osteoporosis status
Endocrine-bone metabolic characteristics according to osteoporosis status are summarized in Table 2. Compared with patients without osteoporosis, those with osteoporosis showed higher HbA1c, TyG index, CRP, and NLR, together with lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, lower 25(OH)D, and higher PTH. Most of these between-group differences were statistically significant at P<0.001, whereas the difference in PLR was smaller (P = 0.028). Serum calcium and phosphate did not differ significantly between groups.
Endocrine-bone metabolic characteristics according to prevalent osteoporosis status.
| Variable | Overall (N = 550) | Non-osteoporosis (n=321) | Osteoporosis (n=229) | P value |
|---|---|---|---|---|
| Glycemic and insulin-resistance domain | ||||
| HbA1c, % | 7.6 ± 1.4 | 7.2 ± 1.2 | 8.2 ± 1.4 | <0.001 |
| Fasting plasma glucose, mmol/L | 8.2 ± 2.0 | 7.8 ± 1.8 | 8.8 ± 2.2 | <0.001 |
| TyG index | 9.11 ± 0.52 | 8.96 ± 0.46 | 9.32 ± 0.51 | <0.001 |
| Inflammatory domain | ||||
| CRP, mg/L | 3.1 (1.5–5.8) | 2.2 (1.1–4.0) | 4.4 (2.3–8.1) | <0.001 |
| NLR | 2.51 (1.83–3.54) | 2.34 (1.72–3.18) | 2.78 (2.02–4.12) | <0.001 |
| PLR | 131.5 (98.9–177.4) | 126.3 (96.5–170.8) | 138.5 (102.8–185.9) | 0.028 |
| Bone turnover and mineral-metabolism domain | ||||
| P1NP, ng/mL | 46.8 (34.5–61.2) | 52.3 (39.9–67.8) | 39.0 (28.4–51.5) | <0.001 |
| β-CTX, ng/mL | 0.36 (0.24–0.53) | 0.31 (0.21–0.44) | 0.46 (0.32–0.68) | <0.001 |
| β-CTX/P1NP ratio | 0.009 (0.005–0.015) | 0.006 (0.004–0.009) | 0.013 (0.008–0.021) | <0.001 |
| 25-hydroxyvitamin D, ng/mL | 22.1 (16.3–29.0) | 24.5 (18.8–31.4) | 19.0 (13.5–25.6) | <0.001 |
| PTH, pg/mL | 47.5 (34.7–64.8) | 42.6 (31.4–58.0) | 54.3 (39.9–72.8) | <0.001 |
| Serum calcium, mmol/L | 2.31 ± 0.09 | 2.32 ± 0.09 | 2.30 ± 0.10 | 0.086 |
| Serum phosphate, mmol/L | 1.11 ± 0.16 | 1.12 ± 0.16 | 1.10 ± 0.17 | 0.148 |
Data are presented as mean ± standard deviation or median (interquartile range), as appropriate. Between-group comparisons were performed using the independent-samples t test or Mann Whitney U test according to variable distribution.
β-CTX, β-C-terminal telopeptide of type I collagen; CRP, C-reactive protein; HbA1c, glycated hemoglobin; NLR, neutrophil-to-lymphocyte ratio; P1NP, procollagen type I N-terminal propeptide; PLR, platelet-to-lymphocyte ratio; PTH, parathyroid hormone; TyG, triglyceride-glucose index.
Overall, these findings indicated that prevalent osteoporosis in T2DM was associated with a multidimensional metabolic pattern involving less favorable glycemic status, greater insulin-resistance and inflammatory burden, and altered bone remodeling, providing the basis for the subsequent phenotype analysis.
Primary endocrine-bone metabolic phenotype analysis
Thirteen of the 550 eligible patients had missing 25(OH)D and/or PTH measurements, leaving 537 complete cases for the primary phenotype analysis. Among these 537 patients, 224 had prevalent osteoporosis and 313 did not.
Evaluation of candidate cluster solutions supported a three-cluster structure. The average silhouette coefficients for K = 2, 3, 4, 5, and 6 were 0.36, 0.42, 0.34, 0.31, and 0.28, respectively, with the elbow and gap-statistic analyses also supporting K = 3. Bootstrap stability analysis based on 500 resamples yielded Jaccard coefficients of 0.86, 0.81, and 0.79 for the three clusters, respectively.
The first cluster, termed the metabolically preserved phenotype, included 212 patients (39.5%) and was characterized by relatively favorable glycemic, inflammatory, and bone turnover profiles. The second, termed the metabolic-inflammatory phenotype, included 179 patients (33.3%) and was characterized predominantly by higher HbA1c, TyG index, CRP, and related inflammatory measures. The third, termed the bone-remodeling imbalance phenotype, included 146 patients (27.2%) and was characterized by lower P1NP, higher β-CTX, and a higher β-CTX/P1NP ratio. Because K-means clustering assigns each observation to a single nearest cluster, phenotype membership was mutually exclusive; therefore, no patient was simultaneously classified as both the metabolic-inflammatory and bone-remodeling imbalance phenotype.
Prevalent osteoporosis differed markedly across the three phenotypes. Osteoporosis was present in 43/212 patients (20.3%) with the metabolically preserved phenotype, 77/179 (43.0%) with the metabolic-inflammatory phenotype, and 104/146 (71.2%) with the bone-remodeling imbalance phenotype (P<0.001; P for trend <0.001) (Figure 2).
Identification, characterization, stability, and osteoporosis prevalence of the three endocrine-bone metabolic phenotypes in patients with type 2 diabetes mellitus. (A) Selection of the optimal number of clusters based on average silhouette coefficients, with K = 3 showing the highest value; the elbow and gap-statistic criteria also supported a three-cluster solution. (B) Standardized metabolic profiles of the metabolically preserved, metabolic-inflammatory, and bone-remodeling imbalance phenotypes across glycemic/insulin-resistance, inflammatory, and bone/mineral metabolism domains. (C) Bootstrap cluster stability assessed using Jaccard similarity coefficients. (D) Prevalence of osteoporosis across the three phenotypes, showing a significant increasing gradient from the metabolically preserved to the bone-remodeling imbalance phenotype.
Sensitivity analyses of phenotype robustness and information overlap
Multiple-imputation sensitivity analysis
Missing-data sensitivity analysis was performed in the full cohort of 550 patients using 20 multiply imputed datasets. Regression estimates were pooled using Rubin’s rules. The direction and magnitude of the principal phenotype associations remained similar to those observed in the complete-case analysis.
Across the 20 multiply imputed datasets, phenotype-specific regression estimates were calculated separately within each imputed dataset and subsequently pooled using Rubin’s rules. The pooled effect estimates were highly consistent with those obtained from the primary complete-case analysis (Supplementary Table 4), with no material change in effect direction or statistical inference.
Clustering without direct bone turnover markers
To address the possibility that the primary phenotype-osteoporosis association was driven by direct inclusion of bone turnover markers, clustering was repeated after excluding P1NP, β-CTX, and the β-CTX/P1NP ratio.
The marker-reduced clustering was performed in the same 537 complete-case participants and again yielded three clinically interpretable groups comprising 216, 188, and 133 patients. Osteoporosis was present in 56/216 (25.9%), 81/188 (43.1%), and 87/133 (65.4%) patients, respectively (P for trend<0.001). Thus, a clear phenotype-related gradient in osteoporosis prevalence remained even when direct bone turnover markers were omitted from cluster derivation.
Adjustment for individual phenotype components
In models that simultaneously included phenotype classification and the principal individual metabolic and bone-related components, the strength of phenotype association was attenuated but remained statistically significant. Compared with the metabolically preserved phenotype, the metabolic-inflammatory phenotype was associated with prevalent osteoporosis with an adjusted odds ratio (aOR) of 1.72 (95% CI 1.03–2.88, P = 0.038), while the bone-remodeling imbalance phenotype had an aOR of 2.46 (95% CI 1.34–4.51, P = 0.004).
These findings indicate that phenotype classification remained associated with prevalent osteoporosis after adjustment for its principal measured components, although the attenuation in effect estimates suggests substantial partial overlap between the phenotype construct and its constituent biomarkers.
Sensitivity analysis addressing DXA indication
Eighty patients whose DXA examinations were prompted by falls, previous fracture, or specific clinical suspicion of osteoporosis were excluded from the DXA-indication sensitivity analysis. The restricted cohort comprised 470 patients, including 177 (37.7%) with prevalent osteoporosis. Phenotype-based regression was conducted in patients with complete clustering variables and relevant covariate information.
Compared with the metabolically preserved phenotype, the metabolic-inflammatory phenotype was associated with prevalent osteoporosis (aOR 1.85, 95% CI 1.08–3.18), as was the bone-remodeling imbalance phenotype (aOR 3.36, 95% CI 1.82–6.19). These associations were consistent in direction with those observed in the primary analysis, suggesting that the phenotype–osteoporosis relationship was not entirely explained by DXA referral related to suspected skeletal disease (Supplementary Table 5).
Association of clinical, metabolic, and phenotypic factors with prevalent osteoporosis
In univariable analyses, older age, female sex, longer diabetes duration, higher HbA1c, higher TyG index, higher CRP, lower P1NP, higher β-CTX, a higher β-CTX/P1NP ratio, and lower 25(OH)D were associated with prevalent osteoporosis.
In the multivariable model, age remained positively associated with osteoporosis (aOR per 10-year increase 1.52, 95% CI 1.19–1.94, P<0.001), whereas higher BMI was inversely associated (aOR per 1 kg/m² increase 0.94, 95% CI 0.89–0.99, P = 0.024). Diabetes duration remained associated with osteoporosis (aOR per year 1.05, 95% CI 1.01–1.09, P = 0.009), as did HbA1c (aOR per 1% increase 1.26, 95% CI 1.07–1.48, P = 0.006), TyG index (aOR per SD increase 1.42, 95% CI 1.14–1.77, P = 0.002), and the β-CTX/P1NP ratio (aOR per SD increase 1.55, 95% CI 1.20–2.00, P<0.001).
After simultaneous adjustment for the individual phenotype components, the metabolic-inflammatory and bone-remodeling imbalance phenotypes retained the independent associations described above. The complete-case and multiply imputed analyses yielded similar effect directions and overlapping confidence intervals. The complete-case multivariable associations are presented in Table 3. Both analyses showed broadly consistent directions of association, although the results should be interpreted in the context of the correlations between phenotype membership and its constituent biomarkers.
Complete-case multivariable analysis of factors associated with prevalent osteoporosis in patients with type 2 diabetes mellitus (N = 537).
| Variable | Adjusted OR (95% CI) | P |
|---|---|---|
| Age, per 10 years | 1.52 (1.19–1.94) | <0.001 |
| Female sex | 1.73 (1.13–2.65) | 0.012 |
| BMI, per kg/m² | 0.94 (0.89–0.99) | 0.024 |
| Diabetes duration, per year | 1.05 (1.01–1.09) | 0.009 |
| HbA1c, per 1% | 1.26 (1.07–1.48) | 0.006 |
| TyG index, per SD | 1.42 (1.14–1.77) | 0.002 |
| CRP, per SD | 1.20 (0.98–1.47) | 0.079 |
| P1NP, per SD | 0.79 (0.63–0.98) | 0.034 |
| β-CTX/P1NP ratio, per SD | 1.55 (1.20–2.00) | <0.001 |
| 25(OH)D, per SD | 0.81 (0.65–1.00) | 0.051 |
| Metabolic-inflammatory phenotype | 1.72 (1.03–2.88) | 0.038 |
| Bone-remodeling imbalance phenotype | 2.46 (1.34–4.51) | 0.004 |
Incremental prediction performance of phenotype information
Four hierarchically structured prediction models were compared. The clinical model including age, sex, BMI, and diabetes duration achieved an AUC of 0.756 (95% CI 0.715–0.796). Adding endocrine-bone metabolic phenotype to the clinical variables increased the AUC to 0.823 (95% CI 0.788–0.858). A biomarker-enhanced model incorporating age, sex, BMI, diabetes duration, HbA1c, TyG index, CRP, P1NP, β-CTX, and 25(OH)D achieved an AUC of 0.847 (95% CI 0.814–0.879). The comprehensive comparison model, which further incorporated phenotype information, achieved an AUC of 0.884 (95% CI 0.855–0.912) (Figure 3A).
Incremental predictive performance and clinical utility of phenotype-enhanced osteoporosis prediction models in patients with type 2 diabetes mellitus. (A) Receiver operating characteristic curves for the clinical, phenotype-enhanced, biomarker-enhanced, and comprehensive comparison models. (B) Comparison of model discrimination based on area under the receiver operating characteristic curve (AUC) with 95% confidence intervals; the comprehensive comparison model showed significantly greater discrimination than the biomarker-enhanced model (DeLong P = 0.018). Continuous net reclassification improvement was 0.32 (95% CI 0.18–0.46, P<0.001), and integrated discrimination improvement was 0.11 (95% CI 0.08–0.14, P<0.001). (C) Decision curve analysis across threshold probabilities of 10%–50%, showing the net benefit of each model compared with evaluating all patients or evaluating no patients.
Compared with the biomarker-enhanced model, the increase in AUC was statistically significant (DeLong P = 0.018). The addition of phenotype information to the biomarker model yielded a continuous net reclassification improvement of 0.32 (95% CI 0.18–0.46, P<0.001) and an integrated discrimination improvement of 0.11 (95% CI 0.08–0.14, P<0.001). No category-based NRI was calculated (Figure 3B).
Decision curve analysis was restricted to the clinically plausible threshold-probability range of 10%–50%. Across most of this range, the comprehensive comparison model showed greater net benefit than the clinical and biomarker-enhanced models and the reference strategies of evaluating all patients and evaluating no patients (Figure 3C).
Final parsimonious model, simplified score, and exploratory thresholds
A parsimonious logistic regression model incorporating age, diabetes duration, HbA1c, TyG index, β-CTX/P1NP ratio, and endocrine-bone metabolic phenotype was selected for individual risk estimation. The model had an apparent AUC of 0.884 (95% CI 0.855–0.912) and was used to construct the nomogram shown in Figure 4A. The simplified scoring analysis was performed in the 537 complete-case participants included in the primary phenotype analysis.
Nomogram and calibration of the final parsimonious model for prevalent osteoporosis in patients with type 2 diabetes mellitus. (A) Nomogram incorporating age, diabetes duration, HbA1c, TyG index, β-CTX/P1NP ratio, and endocrine-bone metabolic phenotype to estimate the individual probability of prevalent osteoporosis. (B) Calibration plot comparing predicted and observed probabilities of prevalent osteoporosis. The optimism-corrected AUC was 0.867, with a calibration slope of 0.914, calibration-in-the-large of 0.031, and Brier score of 0.132.
The corresponding simplified point score ranged from 0 to 23 points and was categorized as 0–4, 5–9, 10–14, and ≥15 points. Observed osteoporosis prevalence increased progressively across these categories, from 8.8% (12/137) in patients scoring 0–4 points and 21.2% (29/137) in those scoring 5–9 points to 55.1% (81/147) in those scoring 10–14 points and 87.9% (102/116) in those scoring ≥15 points.
Using a score ≥10 as an exploratory threshold, 183 of 224 patients with osteoporosis were classified as screen-positive, whereas 233 of 313 patients without osteoporosis were classified as screen-negative. This corresponded to a sensitivity of 81.7%, specificity of 74.4%, positive predictive value of 69.6%, and negative predictive value of 85.0%.
For the full probability model, an exploratory predicted-probability threshold of 40% yielded a sensitivity of 84.4%, specificity of 76.0%, positive predictive value of 71.6%, and negative predictive value of 87.2%. Model calibration is shown in Figure 4B.
Because both the ≥10-point score cutoff and the 40% probability threshold were derived from the present cohort, they were regarded as exploratory internal thresholds rather than externally validated clinical decision thresholds. Prospective external validation is required before either threshold can be considered for clinical screening or referral decisions.
Dose-response analysis, model interpretation, and full-pipeline internal validation
Restricted cubic spline analysis showed a significant overall association between diabetes duration and prevalent osteoporosis (P-overall<0.001), with evidence of nonlinearity (P-nonlinear=0.012). The increase in estimated odds became steeper at longer diabetes durations, particularly beyond approximately 10 years.
The β-CTX/P1NP ratio was also significantly associated with prevalent osteoporosis (P-overall<0.001), with modest evidence of nonlinearity (P-nonlinear=0.021). Because no externally established clinical cutoff exists for this ratio, these findings were interpreted as continuous exposure-response patterns rather than evidence for a validated diagnostic threshold.
SHAP analysis of the final model identified endocrine-bone metabolic phenotype, diabetes duration, β-CTX/P1NP ratio, HbA1c, TyG index, and age as the principal contributors to model output. SHAP values were interpreted as measures of model contribution rather than causal effects.
Full-pipeline internal validation of the final parsimonious model was performed using 1,000 bootstrap resamples, with preprocessing, phenotype derivation, cluster-label alignment, predictor selection, and model fitting repeated within each bootstrap iteration. The apparent AUC of the final six-variable model was 0.884 (95% CI 0.855–0.912). After optimism correction, the AUC was 0.867 (bootstrap 95% CI 0.842–0.890), the calibration slope was 0.914 (95% CI 0.842–0.978), calibration-in-the-large was 0.031 (95% CI −0.044 to 0.106), and the Brier score was 0.132 (95% CI 0.116–0.149) (Table 4).
Full-pipeline bootstrap internal validation of the final parsimonious prediction model (1,000 resamples).
| Performance metric | Apparent performance | Optimism-corrected performance | Bootstrap 95% CI | Optimism |
|---|---|---|---|---|
| AUC | 0.884 | 0.867 | 0.842–0.890 | 0.017 |
| Calibration slope | 1 | 0.914 | 0.842–0.978 | 0.086 |
| Calibration-in-the-large | 0 | 0.031 | −0.044 to 0.106 | 0.031 |
| Brier score | 0.126 | 0.132 | 0.116–0.149 | 0.006 |
The optimism-corrected results showed a modest reduction in discrimination compared with the apparent model performance. Calibration estimates indicated some optimism associated with model development. Although discrimination remained favorable after internal validation, the evaluation was restricted to the derivation cohort. The model’s discrimination, calibration, and clinical utility in independent populations remain uncertain.
Discussion
In this retrospective single-center study of postmenopausal women and men aged 50 years or older with T2DM, we identified three distinct endocrine-bone metabolic phenotypes that differed substantially in the prevalence of osteoporosis at the index DXA assessment. The bone-remodeling imbalance phenotype had the highest prevalence of osteoporosis, followed by the metabolic-inflammatory and metabolically preserved phenotypes. Importantly, the association between phenotype and osteoporosis persisted, although attenuated, after adjustment for individual metabolic and bone-related components. A complementary clustering analysis excluding P1NP, β-CTX, and the β-CTX/P1NP ratio also reproduced a clear gradient in osteoporosis prevalence.
These findings suggest that the phenotype structure was not explained solely by direct incorporation of bone turnover markers. In prediction analyses, adding phenotype information to conventional clinical and biomarker variables produced a moderate incremental improvement in discrimination, while full-pipeline bootstrap validation showed some optimism but retained acceptable internal performance. Because the study assessed prevalent rather than incident osteoporosis, these findings should be interpreted as associations and internally validated risk-classification results rather than evidence for future osteoporosis development.
The clinical characteristics observed in the present cohort were generally consistent with established features of skeletal vulnerability in T2DM. Patients with osteoporosis were older, more frequently female, had lower BMI, longer diabetes duration, and less favorable glycemic profiles. Nevertheless, diabetic bone disease differs in important respects from conventional osteoporosis. At a similar femoral neck T-score, fracture risk may remain higher in individuals with diabetes, indicating that bone mineral density alone does not fully represent skeletal fragility (17). T2DM can alter collagen properties, mineralization, and other aspects of bone matrix quality without proportionate reductions in areal BMD (18).
HR-pQCT studies have also suggested that microarchitectural abnormalities are heterogeneous rather than universal among patients with T2DM (19). These observations are particularly relevant to the present study because our primary outcome was based on DXA and documented major fragility fracture rather than a direct measure of bone quality. Therefore, our phenotype framework should be regarded as a method for characterizing metabolic heterogeneity associated with prevalent osteoporosis rather than as a complete representation of diabetic skeletal fragility.
Medication exposure also deserves consideration when interpreting skeletal risk in T2DM. Different glucose-lowering therapies may exert heterogeneous effects on bone metabolism, and contemporary diabetes guidelines recommend consideration of skeletal risk when selecting glucose-lowering therapy in older adults and postmenopausal women with T2DM (20). Short-term SGLT2 inhibitor therapy, for example, has not been shown to impair bone microarchitecture in older adults with T2DM in some clinical settings (21). In the present analysis, patients receiving thiazolidinediones were excluded a priori because of their recognized adverse skeletal effects, and major glucose-lowering medication categories were recorded when available.
Nevertheless, residual confounding related to medication dose, duration, treatment switching, and cumulative exposure cannot be excluded.
Glycemic and insulin-resistance markers were associated with prevalent osteoporosis. Patients with osteoporosis had higher HbA1c and TyG index values, and both remained associated with osteoporosis after multivariable adjustment. Chronic hyperglycemia may impair bone quality through advanced glycation, oxidative stress, and altered bone-cell function, while previous studies have linked metabolic dysregulation and TyG-related indices to adverse skeletal characteristics in T2DM (22, 23). Because HbA1c was measured around the index DXA examination, it should be interpreted as a marker of recent glycemic control rather than cumulative lifetime hyperglycemic exposure.
Bone remodeling markers provided an additional dimension of heterogeneity. Patients with osteoporosis had lower P1NP, higher β-CTX, and a higher β-CTX/P1NP ratio, consistent with previous evidence linking altered bone turnover to skeletal risk in T2DM (24, 25). The β-CTX/P1NP ratio was used as an exploratory indicator of the balance between bone resorption and formation rather than as an established diagnostic threshold. Although the association of the bone-remodeling imbalance phenotype with osteoporosis was attenuated after adjustment for its individual components, it remained statistically significant.
This interpretation was further supported by marker-reduced clustering: after P1NP, β-CTX, and the β-CTX/P1NP ratio were excluded from phenotype derivation, osteoporosis prevalence remained progressively higher across the three resulting groups (25.9%, 43.1%, and 65.4%; P for trend<0.001). These findings reduce concern that the phenotype association was solely a mathematical consequence of including direct bone turnover markers, while also indicating partial information overlap between the phenotype construct and its constituent biomarkers. Accordingly, the phenotype should be interpreted as a composite metabolic classification associated with prevalent osteoporosis rather than as an etiologically distinct endotype.
Inflammatory markers represented another component of the phenotype framework. CRP and NLR were higher in patients with osteoporosis, whereas the difference in PLR was modest. Chronic low-grade inflammation may influence bone through cytokine-mediated effects on osteoblast differentiation, osteoclast activation, and the bone immune microenvironment. Composite inflammatory indices such as SII, SIRI, NLR, and PLR have previously been associated with osteoporosis and sarcopenia in T2DM (26), while similar relationships have also been described in postmenopausal women without diabetes (27).
In the present study, inflammatory variables showed weaker contributions than bone turnover and metabolic variables after multivariable adjustment, suggesting that inflammation may represent one component of a broader metabolic-bone profile rather than an isolated discriminator of osteoporosis status.
The prediction analyses also require cautious interpretation. Previous T2DM osteoporosis prediction models have typically emphasized age, BMI, diabetes duration, and conventional clinical or laboratory variables (28). More recent studies have incorporated glycemic variability or bone metabolism markers (29), while multifactorial approaches have also been explored for fracture prediction (30). Our clinical model achieved an AUC of 0.756, which increased to 0.847 after inclusion of individual metabolic and bone-related biomarkers. Adding phenotype information further increased the AUC to 0.884.
The relatively smaller improvement from 0.847 to 0.884 is clinically and methodologically more informative than comparison with the clinical model alone because it directly tests whether phenotype classification adds information beyond its constituent biomarkers. The corresponding continuous NRI and IDI also suggested incremental discrimination; however, these measures were calculated internally and should not be interpreted as proof of transportability or clinical superiority.
A further strength of the revised analysis was the use of full-pipeline bootstrap validation. Rather than treating the originally derived cluster structure and model specification as fixed, preprocessing, phenotype derivation, predictor selection, and model fitting were repeated within each of 1,000 bootstrap samples. The apparent AUC of 0.884 decreased to an optimism-corrected AUC of 0.867, with a corrected calibration slope of 0.914 and Brier score of 0.132. This degree of optimism indicates that some overfitting was present, as expected in a single-center model-development study, but overall discrimination and calibration remained acceptable after correction.
These results support internal validity but do not establish external generalizability.
The simplified scoring system was developed as an exploratory tool for identifying prevalent osteoporosis. Osteoporosis prevalence increased from 8.8% among patients with scores of 0–4 to 87.9% among those scoring ≥15. At a threshold of ≥10 points, the score achieved a sensitivity of 81.7%, specificity of 74.4%, positive predictive value of 69.6%, and negative predictive value of 85.0%. The full probability model was also evaluated at an exploratory threshold of 40%. Neither threshold was prespecified or externally validated, and both should be interpreted as internally derived classification cutoffs rather than established clinical decision thresholds.
Further validation is needed before these thresholds can inform screening or referral decisions.
The proposed framework should be interpreted as an exploratory risk-classification approach rather than an established screening or treatment algorithm. All participants had undergone DXA as part of routine clinical care, and several model inputs required laboratory assessment of bone metabolism. Consequently, the performance observed in this selected population may not apply to patients with T2DM who have not undergone skeletal evaluation. Whether the model improves referral decisions, reduces unnecessary investigations, or provides additional clinical value beyond established assessment strategies remains unknown.
Phenotype classification should not independently determine anti-osteoporosis treatment. Treatment decisions should continue to follow established recommendations based on fracture history, bone mineral density, clinical risk factors, renal function, and other relevant patient characteristics.
This study has several limitations. First, the retrospective single-center design introduces potential selection bias and limits causal inference. DXA was performed for heterogeneous clinical reasons, and patients undergoing DXA may not be representative of the broader T2DM population. Although exclusion of patients whose DXA was prompted by falls, fracture history, or specific osteoporosis suspicion produced similar phenotype associations, indication-related selection cannot be fully excluded. Second, the outcome was prevalent osteoporosis at the index assessment rather than incident osteoporosis or future fracture.
Therefore, temporal direction between metabolic abnormalities and skeletal status cannot be established. Third, although documented major fragility fractures were incorporated into outcome classification, fracture ascertainment was retrospective and comprehensive longitudinal fracture surveillance was unavailable. Fourth, DXA does not fully capture diabetic bone quality. Trabecular bone score, quantitative CT, HR-pQCT, vertebral fracture assessment, and other microarchitectural measures were not systematically available, limiting characterization of bone quality. Fifth, although patients with major secondary bone disorders and thiazolidinedione exposure were excluded and major glucose-lowering medication categories were considered, residual confounding related to cumulative medication exposure, renal function, nutrition, physical activity, menopause duration, and other unmeasured skeletal determinants remains possible.
Sixth, phenotype derivation incorporated bone turnover markers that are themselves related to skeletal status. We addressed this concern through marker-excluded clustering and component-adjusted analyses, but residual biological and statistical overlap cannot be entirely removed. Seventh, the simplified score and 40% probability threshold were developed within the same cohort and therefore require independent validation before clinical use. Finally, although full-pipeline bootstrap validation reduced optimism in the reported model performance, external validation in independent and preferably multicenter cohorts is necessary to determine calibration, transportability, and clinical utility.
Taken together, these findings suggest that metabolic heterogeneity in T2DM is associated with substantial differences in prevalent osteoporosis status. The phenotype framework may provide a structured way to integrate glycemic, inflammatory, insulin-resistance, and bone-remodeling information, but its principal value at present is hypothesis generation and internal risk stratification. Prospective studies incorporating fracture outcomes, repeated glycemic measurements, medication exposure, and direct measures of bone quality are needed to determine whether these phenotypes have longitudinal prognostic significance.
Conclusion
In this retrospective study, endocrine-bone metabolic phenotypes were associated with markedly different prevalences of osteoporosis among postmenopausal women and men aged 50 years or older with T2DM. The bone-remodeling imbalance phenotype showed the highest prevalence of osteoporosis, and the phenotype association remained detectable after adjustment for individual metabolic and bone-related components and after exclusion of direct bone turnover markers from clustering.
A prediction framework integrating clinical characteristics, metabolic biomarkers, and phenotype information showed improved internal discrimination compared with clinical variables alone, with an optimism-corrected AUC of 0.867 after full-pipeline bootstrap validation. However, the study assessed prevalent rather than incident osteoporosis, and the simplified score and probability thresholds were internally derived. Therefore, the proposed phenotype-based framework should be regarded as exploratory and requires prospective, external validation before it can be used for clinical screening, referral, or treatment decisions.
Edited by: Xilin Yang, Tianjin Medical University, China
Reviewed by: Zafar Rasheed, Qassim University, Saudi Arabia
Bo Cao, The Second Affiliated Hospital of Xi’an Jiaotong University, China
Data availability statement
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Ethics statement
The studies involving humans were approved by the study protocol was approved by the Ethics Committee of The Second Affiliated Hospital of Soochow University. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants’ legal guardians/next of kin in accordance with the national legislation and institutional requirements.
Author contributions
FC: Software, Investigation, Supervision, Conceptualization, Writing – review & editing, Funding acquisition, Formal analysis, Project administration, Writing – original draft, Data curation, Methodology, Validation. BN: Writing – review & editing, Project administration, Writing – original draft, Formal analysis, Software, Methodology, Visualization, Data curation, Conceptualization, Supervision, Investigation, Validation. WX: Writing – review & editing, Supervision, Formal analysis, Resources, Methodology, Writing – original draft, Visualization, Conceptualization.
Conflict of interest
The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declared that generative AI was not used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fendo.2026.1968461/full#supplementary-material
References
Publication and source details
Original title: Endocrine-bone metabolic phenotypes and prevalent osteoporosis in type 2 diabetes: development and internal validation of a risk-classification model
Fuchao Chen; Boye Ni; Xiao Wang
Frontiers in Endocrinology · 2026
* Correspondence: Xiao Wang, bone3213@163.com†These authors have contributed equally to this work
Repository JATS snapshot; version as supplied
Source retrieved: 2026-11-27T17:28:38.282737+00:00
DOI: 10.3389/fendo.2026.1968461 · PMC13808993
