Cohort and follow-up
Screening identified 480 admission records, of which 48 were repeat or non-index admissions. Among 432 unique patients, sequential exclusions were age <18 years (8), failure to meet COPD criteria (14), failure to meet AECOPD criteria (10), no baseline TTE (12), baseline TRV ≥3.4 m/s (18), missing required laboratory or covariate data (26), no follow-up TTE (28), and other exclusion conditions (22). The final cohort included 294 patients; the mean age was 67.0 years, and 217 (73.8%) were men (Figure 1). TRV elevation was detected in 105 patients (35.7%), 12 died before detection, and 177 remained alive without a detected event. Nineteen patients died overall, including seven after detection. Of the 784 follow-up examinations performed, 778 had readable TRV measurements. Examinations in the nominal 3-, 6-, and 12-month slots occurred a median of 82, 172, and 324 days after discharge. Median time to detection, death, or censoring was 320 days (IQR, 176–328). Among patients without detection, the last readable TTE occurred at a median of 323 days (IQR, 315–331), a median of 42 days before the end of the calendar-month window. Examination counts and timing by outcome group are shown in Supplementary Table 1.
Baseline characteristics and ACAG distribution
Patients with subsequent TRV elevation were older and had lower FEV₁ and PaO₂/FiO₂, higher baseline TRV, neutrophil count, fibrinogen, and BNP, and lower albumin than those without a detected event (Table 1). Mean ACAG was 13.73 (SD, 4.45) mmol/L in patients with detection and 11.02 (SD, 4.35) mmol/L in those without detection (P < 0.001; Figure 2).
Multivariable associations
Each 5 mmol/L higher ACAG was associated with an adjusted OR of 2.17 (95% CI, 1.51–3.11) for subsequent TRV elevation (P < 0.001). Older age, lower FEV₁, and higher baseline TRV were also associated with detection (Table 2). The adjusted cause-specific HR for ACAG was 1.66 (95% CI, 1.34–2.05; P < 0.001), consistent with the direction of the logistic association (Figure 3). Logistic model coefficients, intercepts, and the probability calculation are provided in Supplementary Table 2.
TRV was exactly 3.4 m/s in 10 examinations from nine patients. Three of these patients subsequently had TRV > 3.4 m/s; six did not. The strict-threshold analysis therefore included 99 events, with 14 deaths before detection. ACAG remained associated with this endpoint (OR, 1.90; 95% CI, 1.32–2.75; HR, 1.58; 95% CI, 1.27–1.96; Supplementary Table 3). The median interval from the last negative observation, bounded by discharge, to first detection was 138 days (IQR, 88–154). Assigning the midpoint of this interval as the event time gave an ACAG HR of 1.60 (95% CI, 1.31–1.96).
After excluding patients with recorded heart failure or pneumonia, 272 patients with 96 events remained, and the ACAG OR was 2.04 (95% CI, 1.41–2.96). Requiring documented absence of all four comorbidity labels retained 230 patients with 81 events and gave an OR of 2.14 (95% CI, 1.41–3.23). Additional adjustment for admission creatinine, ALT, and AST in 287 patients with 101 events yielded an OR of 2.26 (95% CI, 1.55–3.29; Supplementary Table 3).
Firth logistic estimates were OR 2.07 (95% CI, 1.48–2.98) for ACAG and OR 1.89 (95% CI, 0.93–3.87) for COPD duration (Supplementary Table 4). Nonlinearity tests for ACAG gave P = 0.351 in the logistic model and P = 0.495 in the Cox model. The Schoenfeld test for ACAG yielded P = 0.224, and all 11 individual proportional hazards tests had P > 0.05 (Supplementary Table 5). COPD duration showed evidence of nonlinearity (logistic P = 0.047; Cox P = 0.043). Allowing a spline for duration gave ACAG OR 2.10 (95% CI, 1.46–3.03) and HR 1.63 (95% CI, 1.32–2.02).
Discrimination and calibration
ACAG alone had an apparent AUC of 0.668 and a cross-validated AUC of 0.664. Adding ACAG to the clinical reference model increased apparent AUC from 0.836 to 0.861 and cross-validated AUC from 0.803 to 0.829. The apparent AUC difference was 0.025 (bootstrap 95% CI, 0.002–0.048). Cross-validated Brier scores were 0.167 for the reference model and 0.158 for the extended model. The extended-model calibration intercept was −0.074, and the slope was 0.823 (Table 3; Figure 4).
In models that added each marker separately to the clinical reference model, the adjusted OR was 0.45 (95% CI, 0.26–0.78) per 5 g/L increase in albumin and 2.11 (95% CI, 1.46–3.05) per 5 mmol/L increase in conventional AG. After additional adjustment for albumin, the ACAG OR was 1.99 (95% CI, 1.37–2.90; Supplementary Table 6). Adding ACAG to the reference-plus-albumin model increased cross-validated AUC from 0.812 to 0.832. The apparent AUC difference was 0.018 (95% CI, −0.002 to 0.036).
Exploratory threshold and cumulative incidence
The exploratory ACAG cutoff of 14.38 mmol/L had sensitivity of 44.8% and specificity of 81.0%. Among 83 patients at or above the cutoff, 47 had TRV elevation and one died before detection; among 211 below the cutoff, 58 had TRV elevation and 11 died before detection. The corresponding crude detection proportions were 56.6% and 27.5%. Figure 5 shows cumulative detection using actual observation times. No patients remained under observation at day 365, so a full 12-month cumulative incidence estimate was not reported.
The de-identified data supporting the findings are available from the corresponding author on reasonable request, subject to institutional and ethical requirements.

Figure 1: Cohort assembly and observed outcomes. The flowchart shows admission records, unique screened patients, sequential exclusions, and outcomes among the 294 included patients. Abbreviations: TRV = tricuspid regurgitation velocity; AECOPD = acute exacerbation of chronic obstructive pulmonary disease. Please click here to view a larger version of this figure.

Figure 2: Admission ACAG by subsequent TRV elevation. Violin plots, box plots, individual observations, and mean diamonds show the distributions. Mean (SD) ACAG was 11.02 (4.35) mmol/L without detection and 13.73 (4.45) mmol/L with detection (Welch’s t-test P < 0.001). Abbreviations: ACAG = albumin-corrected anion gap; TRV = tricuspid regurgitation velocity. Please click here to view a larger version of this figure.

Figure 3: Adjusted associations with subsequent TRV elevation. (A) Logistic ORs for detection during available follow-up. (B) Cause-specific Cox HRs for time to first detection. Both models include the same 11 predictors. Bars indicate 95% confidence intervals; dashed lines indicate the null value of 1.0. Predictor increments appear in the labels. Abbreviations: OR = odds ratio; HR = hazard ratio; TRV = tricuspid regurgitation velocity. Please click here to view a larger version of this figure.

Figure 4: Internal model performance. (A) ROC curves based on each participant’s averaged held-out predictions from 20 repetitions of stratified 10-fold cross-validation. (B) Observed detection proportions by octiles of predicted probability for the reference and extended models. The extended-model calibration slope was 0.823. Abbreviations: AUC = area under the curve; ACAG = albumin-corrected anion gap. Please click here to view a larger version of this figure.

Figure 5: Cumulative detection of TRV ≥3.4 m/s by admission ACAG. Aalen–Johansen curves account for death before detection and use actual examination and censoring dates. Groups are defined by the exploratory ACAG cutoff of 14.38 mmol/L. Numbers under the curves are shown below. Late estimates are based on a small number of patients; no day-365 risk estimate is reported. Abbreviations: ACAG = albumin-corrected anion gap; TRV = tricuspid regurgitation velocity. Please click here to view a larger version of this figure.
| Characteristic | Overall (n = 294) | Signal detected (n = 105) | No signal detected (n = 189) | P value | SMD |
| Age, years | 67.02 (7.85) | 71.47 (7.62) | 64.55 (6.84) | <0.001 | 0.96 |
| Male sex, n (%) | 217 (73.8) | 79 (75.2) | 138 (73.0) | 0.782 | 0.05 |
| BMI, kg/m² | 22.53 (2.39) | 22.06 (2.20) | 22.80 (2.45) | 0.009 | -0.32 |
| Smoking history, n (%) | 224 (76.2) | 84 (80.0) | 140 (74.1) | 0.317 | 0.14 |
| COPD duration, years | 8.74 (2.36) | 9.51 (2.43) | 8.32 (2.21) | <0.001 | 0.51 |
| Hypertension, n (%) | 107 (36.4) | 43 (41.0) | 64 (33.9) | 0.255 | 0.15 |
| Diabetes, n (%) | 40 (13.6) | 17 (16.2) | 23 (12.2) | 0.376 | 0.12 |
| Exacerbations in previous 12 months | 1.00 (1.00–2.00) | 2.00 (1.00–3.00) | 1.00 (0.00–2.00) | <0.001 | 0.65 |
| Post-bronchodilator FEV₁, % predicted | 52.67 (10.41) | 47.53 (9.76) | 55.52 (9.65) | <0.001 | -0.82 |
| White blood cells, ×10⁹/L | 6.61 (1.40) | 6.99 (1.43) | 6.39 (1.34) | <0.001 | 0.43 |
| Neutrophils, ×10⁹/L | 4.24 (1.13) | 4.71 (1.19) | 3.98 (1.00) | <0.001 | 0.67 |
| Lymphocytes, ×10⁹/L | 1.52 (0.46) | 1.48 (0.41) | 1.54 (0.49) | 0.205 | -0.15 |
| RDW, % | 13.24 (1.64) | 13.74 (1.57) | 12.96 (1.62) | <0.001 | 0.49 |
| Fibrinogen, g/L | 3.26 (1.14) | 3.60 (1.14) | 3.06 (1.09) | <0.001 | 0.48 |
| Procalcitonin, ng/mL | 0.05 (0.04–0.07) | 0.06 (0.04–0.07) | 0.05 (0.03–0.06) | 0.003 | 0.39 |
| Albumin, g/L | 39.29 (2.90) | 38.25 (2.78) | 39.88 (2.81) | <0.001 | -0.58 |
| Conventional anion gap, mmol/L | 11.81 (4.37) | 13.29 (4.27) | 10.99 (4.21) | <0.001 | 0.54 |
| BNP, pg/mL | 118.35 (82.61–156.44) | 135.03 (104.53–179.04) | 105.74 (75.90–142.37) | <0.001 | 0.48 |
| PaO₂/FiO₂, mmHg | 231.58 (78.22) | 195.74 (64.10) | 251.49 (78.40) | <0.001 | -0.78 |
| PaCO₂, mmHg | 44.84 (5.48) | 46.12 (5.57) | 44.12 (5.31) | 0.003 | 0.37 |
| Baseline TRV, m/s | 2.41 (0.19) | 2.51 (0.17) | 2.36 (0.18) | <0.001 | 0.84 |
| Baseline TAPSE, mm | 21.18 (1.78) | 20.71 (1.68) | 21.44 (1.79) | <0.001 | -0.42 |
| Baseline RVFAC, % | 42.45 (3.26) | 41.69 (3.37) | 42.87 (3.12) | 0.004 | -0.36 |
| ACAG, mmol/L | 11.98 (4.56) | 13.73 (4.45) | 11.02 (4.35) | <0.001 | 0.62 |
Table 1: Baseline characteristics by subsequent TRV elevation. Values are mean (SD), median (IQR), or n (%). P values use Welch’s t-test, Mann–Whitney U test, or Fisher’s exact test, as appropriate. SMD is calculated as detection minus no detection. The no-detection group includes patients who died before detection. Abbreviations: ACAG = albumin-corrected anion gap; AG = anion gap; BMI = body mass index; BNP = B-type natriuretic peptide; COPD = chronic obstructive pulmonary disease; FEV₁ = forced expiratory volume in 1 s; PaCO₂ = arterial carbon dioxide partial pressure; PaO₂/FiO₂ = oxygenation ratio; RDW = red cell distribution width; RVFAC = right ventricular fractional area change; TAPSE = tricuspid annular plane systolic excursion; TRV = tricuspid regurgitation velocity; SMD = standardized mean difference.
| Predictor | Adjusted OR (95% CI) | Logistic P | Cause-specific HR (95% CI) | Cox P |
| Age / 10 years | 3.11 (1.89–5.13) | <0.001 | 1.69 (1.29–2.22) | <0.001 |
| Male sex | 0.99 (0.50–1.99) | 0.987 | 0.95 (0.60–1.50) | 0.831 |
| BMI / 5 kg/m² | 0.58 (0.30–1.12) | 0.103 | 0.69 (0.45–1.06) | 0.092 |
| Smoking history | 1.07 (0.51–2.23) | 0.854 | 0.72 (0.43–1.20) | 0.205 |
| COPD duration / 5 years | 1.96 (0.94–4.07) | 0.073 | 1.73 (1.06–2.84) | 0.030 |
| FEV₁ / 10 percentage points | 0.59 (0.41–0.84) | 0.003 | 0.77 (0.61–0.96) | 0.020 |
| Prior-year exacerbations / episode | 1.07 (0.78–1.46) | 0.683 | 0.95 (0.77–1.16) | 0.596 |
| BNP / doubling | 1.29 (0.81–2.05) | 0.286 | 1.06 (0.80–1.40) | 0.692 |
| PaO₂/FiO₂ / 50 mmHg | 0.92 (0.72–1.17) | 0.478 | 0.86 (0.72–1.02) | 0.087 |
| Baseline TRV / 0.1 m/s | 1.26 (1.04–1.53) | 0.017 | 1.18 (1.03–1.36) | 0.018 |
| ACAG / 5 mmol/L | 2.17 (1.51–3.11) | <0.001 | 1.66 (1.34–2.05) | <0.001 |
Table 2: Adjusted associations with subsequent TRV elevation. Logistic ORs describe detection during available follow-up; cause-specific Cox HRs describe time to first detection. Both models include the same predictors and scales, without interaction terms. BNP is log₂-transformed relative to 100 pg/mL. Abbreviations: OR = odds ratio; HR = hazard ratio; CI = confidence interval.
| Model | Apparent AUC (95% CI) | Cross-validated AUC | Brier score | Calibration intercept | Calibration slope |
| ACAG alone | 0.668 (0.606–0.729) | 0.664 | 0.213 | -0.033 | 0.942 |
| Clinical reference | 0.836 (0.786–0.882) | 0.803 | 0.167 | -0.073 | 0.833 |
| Reference + ACAG | 0.861 (0.812–0.903) | 0.829 | 0.158 | -0.074 | 0.823 |
| Reference + albumin | 0.845 (0.796–0.891) | 0.812 | 0.162 | -0.077 | 0.826 |
| Reference + AG | 0.858 (0.809–0.899) | 0.825 | 0.159 | -0.074 | 0.822 |
| Reference + albumin + ACAG | 0.863 (0.817–0.904) | 0.832 | 0.156 | -0.079 | 0.815 |
Table 3: Apparent and cross-validated model performance. All models use the same 20 repetitions of stratified 10-fold cross-validation. Metrics are calculated from the average of each participant’s held-out predictions; calibration intercept and slope are estimated jointly. Apparent AUC intervals use 2,000 paired-participant bootstrap resamples of the fixed fitted predictions. Lower Brier scores indicate lower prediction error. Abbreviations: AUC = area under the curve; ACAG = albumin-corrected anion gap; AG = anion gap; CI = confidence interval.
Supplementary Table 1: Examination counts and timing. Please click here to download this File.
Supplementary Table 2: logistic coefficients, intercepts, and probability calculation. Please click here to download this File.
Supplementary Table 3: Sensitivity analyses. Please click here to download this File.
Supplementary Table 4: Firth logistic estimates. Please click here to download this File.
Supplementary Table 5: Functional-form and proportional-hazards diagnostics. Please click here to download this File.
Supplementary Table 6: Albumin and conventional AG associations. Please click here to download this File.