Vitamin D3 for Life. Live Enlightened.

Research libraryVitamin D3 For Life
Study design and methods

Primary relevance to vitamin D Vitamin D is a stated subject of this paper.

Vitamin D is a stated subject of this paper; the supporting source evidence is shown below.

Why this paper is included

Supporting source evidence:

Using real-world data from the TriNetX research platform, this study aimed to examine the associations between baseline serum 25-hydroxyvitamin D [25(OH)D] concentrations and the risks of all-cause mortality, first hospitalization, first emergency department (ED) visit, and first intensive care unit (ICU) admission among adults with NSCLC.

Source: Abstract. View original paper

Relevance classification does not establish study quality, causation or editorial approval.

Study design Cohort study.

Cohort study

Examines exposures and outcomes over time within a defined group.

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.

Association Between Severe Vitamin D Deficiency and 5-Year Healthcare Utilization and Mortality in Patients with Non–Small Cell Lung Cancer: A Cohort Study

Source: Article title.

In the present study, patients were categorized into four groups according to their baseline serum 25-hydroxyvitamin D [25(OH)D] concentrations: Group A (≤10 ng/mL; severe vitamin D deficiency), Group B (>10 to 20 ng/mL), Group C (>20 to 30 ng/mL), and Group D (>30 to 100 ng/mL; normal vitamin D status) [,,,,].

Source: Methods.

View supporting evidence in the original paper

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

Association Between Severe Vitamin D Deficiency and 5-Year Healthcare Utilization and Mortality in Patients with Non-Small Cell Lung Cancer: A Cohort Study

Cohort study · Medicina · 2026

Original publication title

Association Between Severe Vitamin D Deficiency and 5-Year Healthcare Utilization and Mortality in Patients with Non–Small Cell Lung Cancer: A Cohort Study

Jui-Kun Chiang; Hsueh-Hsin Kao; Po-Han Chiang; Yee-Hsin Kao

© 2026 by the authors.

Original publication · Publisher record · CC BY 4.0

Source wording retained. Formatting, section navigation and display-title punctuation adapted for this research record.

Authors’ conclusion

In this real-world analysis of 4794 adults with NSCLC, severe vitamin D deficiency at baseline was consistently associated with a higher risk of all-cause mortality than each of the other baseline vitamin D categories over the 5-year follow-up period. Associations with first hospitalization, first ED visit, and first ICU admission were less consistent and were most apparent when patients with severe vitamin D deficiency were compared with those with study-defined normal vitamin D status, particularly for first ED visit. Low serum 25(OH)D levels may primarily reflect overall clinical vulnerability, and their independent prognostic value remains uncertain.

Prospective studies are warranted to determine whether correcting vitamin D deficiency through supplementation can reduce these risks, particularly that of a first ED visit, and improve clinical outcomes in patients with NSCLC.

An extract from the source publication. Read it in context.

At a glance

Study background

What background does the paper provide?

According to updated global cancer estimates for 2022 from the International Agency for Research on Cancer (IARC), lung cancer was the leading cause of cancer-related mortality worldwide, accounting for an estimated 1.8 million deaths, or 18.7% of all cancer deaths [1]. Non–small cell lung cancer (NSCLC) accounts for approximately 85% of all lung cancer cases [2]. Despite advances in early detection and therapeutic strategies, NSCLC is frequently diagnosed at an advanced stage and remains associated with a poor prognosis [3].

A systematic review reported that patients with advanced NSCLC had substantial healthcare resource utilization and associated costs, although considerable variation was observed across countries. Moreover, healthcare resource utilization and costs were particularly high among patients with brain or central nervous system (CNS) metastases [4].

The primary physiological function of vitamin D is to maintain calcium and bone homeostasis [5]. Vitamin D status is commonly assessed by measuring serum 25-hydroxyvitamin D [25(OH)D] concentrations. Vitamin D deficiency remains highly prevalent worldwide; a recent report estimated that the pooled global prevalence of serum 25(OH)D levels < 20 ng/mL was 47.9% during 2000–2022. This high prevalence represents an important public health concern and contributes substantially to the global burden of disease [6]. Beyond its well-established role in skeletal health, vitamin D has been implicated in a wide range of non-skeletal conditions, including cardiovascular disease, cancer, autoimmune disorders, and diabetes mellitus [7].

Vitamin D deficiency has also been associated with impaired immune function, increased susceptibility to infection, and a higher risk of autoimmune diseases [8]. In parallel with growing recognition of these potential health implications, the frequency of vitamin D testing has increased substantially in recent years [9]. Given the potential immunomodulatory and anticancer effects of vitamin D, increasing attention has been directed toward its possible role in cancer development, treatment response, and prognosis.

Previous meta-analyses of randomized controlled trials have suggested that vitamin D supplementation may confer a greater benefit in reducing cancer mortality than in preventing cancer incidence [10,11,12]. Emerging evidence further suggests that vitamin D status may have prognostic significance in patients with non–small cell lung cancer (NSCLC) across different treatment settings. Among patients with NSCLC receiving immunotherapy, serum vitamin D levels < 20 ng/mL were associated with poorer overall survival (OS), whereas levels ≥ 20 ng/mL were associated with longer progression-free survival and OS, as well as a trend toward higher response rates [13].

Similarly, 25-hydroxyvitamin D [25(OH)D] deficiency was identified as an independent prognostic factor for poorer OS in patients with advanced NSCLC receiving first-line platinum-based chemotherapy [14]. More broadly, higher circulating 25(OH)D concentrations measured at or near the time of cancer diagnosis have been associated with more favorable outcomes across various cancer populations [15]. Collectively, these findings support a potential prognostic role of vitamin D status in cancer and suggest that this association may be particularly relevant in NSCLC.

Low vitamin D status has also been linked to adverse outcomes among acutely and critically ill patients. In critically ill patients with cancer, severe 25(OH)D deficiency (≤12 ng/mL) was independently associated with higher in-hospital and 1-year mortality, although its association with short-term mortality remained uncertain [16]. Among patients with septic shock presenting to the emergency department, vitamin D deficiency, defined as a serum 25(OH)D level < 20 ng/mL, was highly prevalent and associated with increased mortality [17].

Similarly, a study of patients admitted to a medical intensive care unit reported a vitamin D deficiency prevalence of 77.8% and demonstrated an association between 25(OH)D deficiency and higher in-hospital mortality [18]. Taken together, these observations suggest that low vitamin D status may be associated not only with cancer prognosis but also with increased clinical vulnerability and poorer outcomes during acute and critical illness.

Despite these findings, few real-world studies have comprehensively evaluated whether the severity of baseline vitamin D deficiency is associated with subsequent mortality, healthcare utilization, and other clinically relevant outcomes in patients with NSCLC. In particular, the associations of baseline vitamin D status with the risks of first hospitalization, first emergency department (ED) visit, first intensive care unit (ICU) admission, malnutrition, and metastatic involvement remain insufficiently characterized. The present study aimed to investigate the association between serum vitamin D status and all-cause mortality, first hospitalization, first ED visit, first ICU admission, and selected adverse outcomes, including malnutrition and brain, bone, and intrapulmonary metastases, among adults with NSCLC, using real-world data from the TriNetX database.

Source: 1. Introduction Source: 1. Introduction Source: 1. Introduction Source: 1. Introduction Source: 1. Introduction

Study methods

What methods does the paper describe?

2.1. Data Sources and Ethical Approval

De-identified electronic health record (EHR) data contributed by participating healthcare organizations were obtained through the TriNetX Network (Cambridge, MA, USA), a global collaborative platform for health research. The database contains comprehensive patient-level information on demographics and healthcare utilization, together with clinical diagnoses coded according to the International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM), and laboratory test results coded using Logical Observation Identifiers Names and Codes (LOINC) [19]. TriNetX applies standardized data processing and quality-control procedures to enhance data consistency, completeness, and interoperability across participating healthcare organizations.

Further details regarding the TriNetX database and its data-processing procedures have been described previously [20]. Because the TriNetX database contains only de-identified patient data, the requirement for written informed consent was waived. The study protocol was reviewed and approved by the Institutional Review Board of the Research Ethics Committee of Buddhist Dalin Tzu Chi Hospital, Taiwan (No. B11402057).

2.2. Definitions of Variables in the Current Study

In the present study, patients were categorized into four groups according to their baseline serum 25-hydroxyvitamin D [25(OH)D] concentrations: Group A (≤10 ng/mL; severe vitamin D deficiency), Group B (>10 to 20 ng/mL), Group C (>20 to 30 ng/mL), and Group D (>30 to 100 ng/mL; normal vitamin D status) [21,22,23,24,25]. Groups B and C were operationally defined as intermediate categories between severe deficiency and the study-defined normal range, rather than as universally accepted diagnostic categories.

Based on a previous study, we adopted a conservative upper cutoff of 100 ng/mL, although that study suggested that vitamin D toxicity generally occurs at concentrations above 300 ng/mL [26].

We identified adult patients (≥20 years) with NSCLC in the TriNetX platform using the Global Oncology concept code TNX:TNX:NSCC. Eligible patients were required to have received at least one form of cancer-directed treatment, including systemic anticancer therapy, radiotherapy, or surgery. Systemic anticancer therapies were classified into the following categories: (1) immune checkpoint inhibitors, including nivolumab, atezolizumab, pembrolizumab, ipilimumab, avelumab, durvalumab, and cemiplimab; (2) cytotoxic chemotherapy, including platinum-based agents (cisplatin and carboplatin), taxanes (paclitaxel and docetaxel), antimetabolites (pemetrexed and gemcitabine), vinca alkaloids (vinorelbine), topoisomerase inhibitors (etoposide and irinotecan), alkylating agents, anthracyclines, and related agents; and (3) targeted therapies, including human epidermal growth factor receptor 2 (HER2) inhibitors, B-Raf proto-oncogene serine/threonine kinase (BRAF) inhibitors, epidermal growth factor receptor (EGFR) tyrosine kinase inhibitors, vascular endothelial growth factor receptor (VEGFR) tyrosine kinase inhibitors, and vascular endothelial growth factor (VEGF)/VEGFR inhibitors.

In the current study, comorbidities were identified using ICD-10-CM diagnosis codes, including type 2 diabetes mellitus (E11), hypertension (I10), overweight and obesity (E66), chronic kidney disease (N18), hyperlipidemia (E78), stroke (I60, I61, I63, and I64), alcohol dependence (F10), and nicotine dependence (F17). Metastatic disease in patients with NSCLC was classified according to the site of metastasis, including brain metastasis (C79.31), bone metastasis (C79.51 or C79.52), and intrapulmonary metastasis (C78.00, C78.01, or C78.02).

2.3. Index Date and Data Collection Process

The index date was defined as the date of NSCLC diagnosis. Eligible patients were required to have at least one recorded serum 25-hydroxyvitamin D [25(OH)D] measurement on the index date or within the preceding 3 months. After identifying eligible patients with NSCLC, demographic characteristics, serum 25(OH)D levels, relevant clinical variables, and study outcomes were extracted from the TriNetX database. Patients were categorized into four groups according to their baseline serum 25(OH)D concentrations measured during this assessment window, and this classification was retained throughout follow-up.

Follow-up began on the index date, and the predefined clinical outcomes were assessed at 1, 3, and 5 years.

2.4. Inclusion and Exclusion Criteria

Patients with NSCLC were identified using the Global Oncology concept code TNX:TNX:NSCC and were required to have received at least one cancer-directed treatment, including systemic anticancer therapy, radiotherapy, or surgery. Eligible patients were aged ≥ 20 years and had a recorded serum 25-hydroxyvitamin D [25(OH)D] measurement within the 3 months preceding NSCLC diagnosis. Patients were excluded if they were younger than 20 years or if they had NSCLC but had not received any cancer-directed treatment, including chemotherapy, radiotherapy, or surgery.

2.5. Matching Variables

The matching variables included demographic factors (age at the index date, sex, race, and alcohol or nicotine dependence) and comorbidities (overweight and obesity, type 2 diabetes mellitus, hypertension, hyperlipidemia, chronic kidney disease, and stroke).

2.6. Outcome Measurement and Follow-Up Period

The study outcomes included all-cause mortality, first hospitalization, first ED visit, first ICU admission, malnutrition, and the development of metastases among adult patients with NSCLC across different serum vitamin D levels. Outcomes were assessed at 1, 3, and 5 years after the index date or until the data cutoff date of 31 August 2026, whichever occurred first. In this study, healthcare utilization among patients with NSCLC was assessed based on first emergency department visit, first hospitalization, and first ICU admission as indicators of acute healthcare resource utilization.

2.7. Statistical Analysis

Statistical analyses were conducted using the integrated functions of the TriNetX platform. Baseline characteristics of the continuous values were reported as means and standard deviations, and categorical data were presented as counts with percentages. Welch modified two-sample t-test was used to compare the continuous data. The chi-squared test or Fisher’s exact test was used to compare the categorical items. Baseline covariate imbalance was addressed through 1:1 propensity score matching (PSM) using the variables specified in the Methods section. Nearest-neighbor matching was applied with a caliper width of 0.1 pooled standard deviations.

Adequate covariate balance was defined as a between-group standardized difference of less than 0.1.

After matching, the cumulative incidence of each outcome was estimated using Cox regression models, with results expressed as hazard ratios (HRs) and 95% confidence intervals (CIs). Proportional hazard assumptions were also tested. Kaplan–Meier curves were generated to compare event-free distributions between groups, with statistical significance assessed using the log-rank test. These curves were plotted using R statistical software (version 4.5.2, R Foundation for Statistical Computing, Vienna, Austria) based on probabilities provided by TriNetX. A p-value of < 0.05 was considered statistically significant.

Sensitivity analyses were performed to evaluate outcomes at 1, 3, and 5 years following the index date.

The Evalue package (version 4.1.4) was used to calculate E-values for both the point estimate and the confidence-limit bound closest to the null. Conditional on the measured covariates, these values quantify the minimum strength of association that an unmeasured confounder would need to have with both group membership and the outcome to fully explain the observed association. Love plot of absolute standardized mean differences (SMDs) before and after matching. The vertical dashed line at an absolute standardized mean difference (SMD) of 0.1 indicates the conventional threshold for acceptable covariate balance.

Source: 2. Materials and Methods Source: 2. Materials and Methods Source: 2. Materials and Methods Source: 2. Materials and Methods Source: 2. Materials and Methods Source: 2. Materials and Methods Source: 2. Materials and Methods

Baseline Characteristics and Propensity Score Matching

Results: Baseline Characteristics and Propensity Score Matching

Before propensity score matching (PSM), several baseline characteristics showed meaningful imbalances across the vitamin D groups, particularly age, race/ethnicity, nicotine dependence, hypertension, chronic kidney disease, renal function, and previous NSCLC treatments, including chemotherapy and surgery. The magnitude of these differences varied across the pairwise comparisons. Table 1 presents a comparison of baseline characteristics between patients with NSCLC in the severe vitamin D deficiency group (Group A) and those in the normal vitamin D status group (Group D).

After PSM, most demographic characteristics, comorbidities, and previous NSCLC treatments were well balanced between the comparison groups, with standardized mean differences (SMDs) generally below 0.10. In the comparison between Group A and Group D, serum albumin remained imbalanced after matching (SMD = 0.249) (Table 1). In the comparison between Group A and Group B, residual imbalances remained for estimated glomerular filtration rate (eGFR; SMD = 0.169) and serum albumin level (SMD = 0.149). Similarly, residual imbalances in eGFR (SMD = 0.108) and serum albumin (SMD = 0.145) were observed between Groups A and C after propensity score matching (Supplementary File S1).

For the comparison between Groups B and C, all matched baseline covariates achieved adequate balance, with SMDs below 0.10. In contrast, a modest residual imbalance in serum albumin was observed between Groups B and D (SMD = 0.119) and between Groups C and D (SMD = 0.134). Overall, PSM substantially improved comparability of the baseline characteristics across the vitamin D groups. Figure 3. Love plot illustrating covariate balance between groups A and D before and after propensity score matching, as assessed by standardized mean differences.

As expected, serum 25-hydroxyvitamin D levels remained substantially different between the vitamin D groups after matching because vitamin D status represented the exposure variable used to define the study groups and was therefore not included as a matching variable.

Table 1

Baseline characteristics of patients with NSCLC in the severe vitamin D deficiency (Group A) and normal vitamin D status (Group D) groups before and after propensity score matching.

VariableBefore MatchingAfter Matching
A Group
(n = 738)
D Group
(n = 1615)
Std DiffA Group
(n = 457)
D Group
(n = 457)
Std Diff
Mean age at index, years, mean (SD)63.4 (12.3)66.3 (11.9)0.24163.5 (12.7)63.5 (12.7)0.028
Sex
  Female335 (45.5)828 (51.3)0.117219 (47.9)222 (48.6)0.013
  Male401 (54.5)785 (48.7)0.017238 (52.1)235 (51.4)0.013
Race/ethnicity
White100 (13.6)961 (59.6)1.087100 (21.9)92 (20.1)0.043
Black or African American95 (12.9)242 (15.0)0.06094 (20.6)94 (20.6)<0.001
Asian10 (1.4)106 (6.6)0.27010 (2.2)10 (2.2)<0.001
Unknown race531 (72.1)262 (16.2)1.362253 (55.4)259 (56.7)0.026
Substance use
Alcohol dependence19 (2.6)11 (0.7)0.15010 (2.2)10 (2.2)<0.001
Nicotine dependence192 (26.1)205 (12.7)0.343104 (22.8)91 (19.9)0.069
Comorbidities
Overweight and obesity73 (9.9)184 (11.4)0.04851 (11.2)46 (10.1)0.036
Hypertension263 (35.7)783 (48.5)0.262180 (39.4)172 (37.6)0.036
Type 2 diabetes165 (22.4)382 (23.7)0.030112 (24.5)105 (23.0)0.036
Hyperlipidemia176 (23.9)492 (30.5)0.148114 (24.9)106 (23.2)0.041
Chronic kidney disease67 (9.1)323 (20.0)0.31357 (12.5)64 (14.0)0.045
Stroke18 (2.4)42 (2.6)0.01015 (3.3)12 (2.6)0.039
Laboratory data
eGFR, ml/min/1.73 m265.2 (52.8)67.4 (33.6)0.04966.2 (49.8)64.6 (42.4)0.034
Albumin, g/dL3.8 (0.8)3.9 (0.7)0.0613.8 (0.8)4.0 (0.7)0.249
Previous treatments for NSCLC
 Chemotherapy133 (18.1)138 (8.6)0.28360 (13.1)65 (14.2)0.032
 Radiotherapy00 00
 Surgery153 (20.8)1030 (63.9)0.969150 (32.8)140 (30.6)0.047

Abbreviations: eGFR, estimated glomerular filtration rate; NSCLC, non-small cell lung cancer; Std diff, standardized difference; SD, standard deviation.

Source: 3.1. Baseline Characteristics and Propensity Score Matching Source: 3.1. Baseline Characteristics and Propensity Score Matching Source: 3.1. Baseline Characteristics and Propensity Score Matching Source: 3.1. Baseline Characteristics and Propensity Score Matching

Clinical Outcomes According to Baseline Vitamin D Status

Results: Clinical Outcomes According to Baseline Vitamin D Status

After propensity score matching, severe vitamin D deficiency was consistently associated with an increased risk of all-cause mortality. Compared with patients with Group B, those with severe vitamin D deficiency (Group A) had significantly higher risks of all-cause mortality at 1 year (HR, 1.28; 95% CI, 1.06–1.54; p = 0.012), 3 years (HR, 1.25; 95% CI, 1.07–1.45; p = 0.004), and 5 years (HR, 1.25; 95% CI, 1.07–1.45; p = 0.004). Group A also had a significantly higher risk of bone metastasis at 1 year (HR, 1.50; 95% CI, 1.08–2.09; p = 0.016).

Table 2 presents a comparison of clinical outcomes between patients with NSCLC in the severe vitamin D deficiency group (Group A) and those in the normal vitamin D status group (Group D). The differences were more pronounced when severe vitamin D deficiency was compared with normal vitamin D status (Group D). Group A had significantly higher risks of all-cause mortality at 1 year (HR, 1.38; 95% CI, 1.08–1.70; p = 0.001), 3 years (HR, 1.30; 95% CI, 1.07–1.58; p = 0.008), and 5 years (HR, 1.25; 95% CI, 1.04–1.51; p = 0.017).

The risks of first ED visits were also significantly higher at 1 year (HR, 1.31; 95% CI, 1.09–1.57; p = 0.031), 3 years (HR, 1.25; p = 0.007), and 5 years (HR, 1.25; 95% CI, 1.07–1.47; p = 0.006). Group A additionally had a higher risk of first hospitalization at 1 year (HR, 1.22; 95% CI, 1.03–1.44; p = 0.019) and a higher risk of malnutrition at both 1 year (HR, 1.67; 95% CI, 1.12–2.48; p = 0.010) and 3 years (HR, 1.46; 95% CI, 1.03–2.07; p = 0.034).

The E-values ranged from 1.11 to 2.73, suggesting that relatively weak to moderate unmeasured confounding could potentially explain some of the observed associations. All models passed the tests for the proportional hazard assumption (Table 2).

Compared with patients with Group C, patients in Group A had significantly higher risks of all-cause mortality at 1 year (HR, 1.42; 95% CI, 1.16–1.75; p = 0.001), 3 years (HR, 1.39; 95% CI, 1.18–1.64; p < 0.001), and 5 years (HR, 1.31; 95% CI, 1.18–1.52; p = 0.001). In addition, Group A was associated with significantly higher risks of first ED visits (HR, 1.16; p = 0.039), malnutrition (HR, 1.54; 95% CI, 1.06–2.24; p = 0.022), and bone metastasis (HR, 1.46; 95% CI, 1.03–2.07; p = 0.034) at 1 year.

These differences were no longer statistically significant at the longer follow-up time points (Supplementary File S2). Figure 4 shows Kaplan–Meier curves for overall survival in patients with severe vitamin D deficiency (group A) and normal vitamin D status (Group D) after propensity score matching. Survival distributions were compared using the log-rank test.

In the comparison between the Group B and Group C groups, Group B was associated with a significantly higher risk of all-cause mortality at 3 years (HR, 1.18; 95% CI, 1.02–1.38; p = 0.031). A higher risk of first hospitalization was observed at 1 year (HR, 1.13; 95% CI, 1.00–1.27; p = 0.048), while the risk of malnutrition was significantly higher at both 1 year (HR, 1.47; 95% CI, 1.08–2.01; p = 0.015) and 3 years (HR, 1.31; 95% CI, 1.01–1.71; p = 0.045).

When the Group B group was compared with the normal vitamin D status group, a significantly higher risk of first hospitalization was observed at 1 year (HR, 1.22; 95% CI, 1.07–1.39; p = 0.003), 3 years (HR, 1.18; 95% CI, 1.04–1.33; p = 0.009), and 5 years (HR, 1.16; 95% CI, 1.03–1.31; p = 0.015). No statistically significant differences were observed for all-cause mortality, first ED visits, first ICU admissions, malnutrition, or metastatic outcomes in this comparison. No statistically significant differences in the evaluated clinical outcomes were observed between patients in Groups C and D at 1, 3, or 5 years of follow-up.

Across the pairwise comparisons, first ICU admissions and brain metastasis were not significantly associated with baseline vitamin D status at any follow-up time point, whereas the significantly increased risk of bone metastasis was confined to the 1-year comparisons involving severe vitamin D deficiency.

Table 3 presents subgroup analyses of clinical outcomes, including all-cause mortality, emergency department (ED) visits, first hospitalizations, and first intensive care unit (ICU) admissions, within 1 year after the index date in group A compared with group D after propensity score matching. Compared with Group D, Group A was significantly associated with higher all-cause mortality at 1, 3, and 5 years of follow-up among patients aged ≥ 65 years, those aged < 65 years, and those with hypertension. Significant associations with all-cause mortality were also observed among patients with hypoalbuminemia at 3 years and those with hyperlipidemia at 5 years.

For emergency department visits, severe vitamin D deficiency was significantly associated with a higher risk among patients with hypertension at the 1-, 3-, and 5-year follow-up periods, among those with hypoalbuminemia at 3 and 5 years, and among those with diabetes mellitus at 5 years. For first hospitalization, severe vitamin D deficiency was significantly associated with a higher risk among patients with hypertension at all three follow-up time points and among those with hyperlipidemia at 3 and 5 years. Table 4 presents subgroup analyses of adverse outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, over the same 1-year follow-up period in group A compared with group D after propensity score matching.

For intrapulmonary metastasis, severe vitamin D deficiency was significantly associated with a higher risk among patients aged < 65 years at the 1-, 3-, and 5-year follow-up periods. The corresponding results at 3 and 5 years of follow-up are provided in the Supplementary File S3.

Figure 5 is the forest plot showing subgroup analyses of the risks of all-cause mortality, first hospitalization, first ED visit, first ICU admission, and malnutrition in patients with severe vitamin D deficiency (group A) compared with those with normal vitamin D status (group D) at 1, 3, and 5 years of follow-up, with group D serving as the reference group.

After excluding patients who died within 3 months after the index date, Group A had significantly higher hazards of all-cause mortality than Group D at 1 year (HR, 1.38; 95% CI, 1.02–1.88; p = 0.036), 3 years (HR, 1.38; 95% CI, 1.11–1.73; p = 0.005), and 5 years (HR, 1.33; 95% CI, 1.08–1.64; p = 0.008). However, after excluding patients who died within 6 months after the index date, the hazard ratios remained numerically elevated but were no longer statistically significant at 1 year (HR, 1.23; 95% CI, 0.84–1.82; p = 0.287), 3 years (HR, 1.20; 95% CI, 0.93–1.55; p = 0.161), or 5 years (HR, 1.17; 95% CI, 0.92–1.48; p = 0.200) (Supplementary File S4).

Table 2

Differences in clinical outcomes between the severe vitamin D deficiency (Group A) and normal vitamin D status (Group D) groups across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 457 matched pairs).

Outcome1-Year Follow-Up3-Year Follow-Up5-Year Follow-Up
Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)
All-cause mortality147/1141.38 (1.08, 1.70)0.001
(0.948)
2.10 (1.37)219/1881.30 (1.07, 1.58)0.008
(0.358)
1.92 (1.34)237/2111.25 (1.04, 1.51)0.017
(0.201)
1.81 (1.24)
First ED visits258/2201.31
(1.09, 1.57)
0.031
(0.089)
1.95 (1.40)298/2801.25 (1.06, 1.58)0.007
(0.848)
1.81 (1.31)309/2931.25 (1.07, 1.47)0.006
(0.849)
1.81 (1.34)
First
Hospitalizations
291/2641.22 (1.03, 1.44)0.019
(0.624)
1.74 (1.21)325/3181.16 (1.00, 1.36)0.054
(0.393)
1.59 (1.00)331/3251.17 (1.00, 1.36)0.051
(0.461)
1.62 (1.00)
First
ICU admissions
46/381.26
(0.82, 1.94)
0.292
(0.666)
1.83 (1.00)53/451.25 (0.84, 1.86)0.273
(0.917)
1.81 (1.00)57/501.22 (0.83, 1.78)0.311
(0.621)
1.74 (1.00)
Malnutrition63/401.67
(1.12, 2.48)
0.010
(0.608)
2.73 (1.49)73/551.46 (1.03, 2.07)0.034
(0.191)
2.28 (1.21)75/611.36 (0.97, 1.90)0.076
(0.060)
2.06 (1.00)
Brain metastasis18/141.34
(0.66, 2.69)
0.915
(0.266)
2.01 (1.00)22/171.37 (0.73, 2.59)0.323
(0.513)
2.08 (1.00)24/191.36 (0.74, 2.48)0.316
(0.851)
2.06 (1.00)
Bone metastasis53/471.17 (0.79, 1.74)0.426
(0.629)
1.62 (1.00)62/591.11 (0.78, 1.59)0.566
(0.568)
1.46 (1.00)65/621.11 (0.78, 1.57)0.558
(0.720)
1.46 (1.00)
Intrapulmonary metastasis43/391.15
(0.74, 1.77)
0.531
(0.623)
1.57 (1.00)61/651.01 (0.71, 1.43)0.966
(0.849)
1.11 (1.00)65/701.00 (0.71, 1.40)0.990
(0.592)
1 (1.00)

Abbreviations: CI, confidence interval; ED, emergency department; HR, hazard ratio; ICU, intensive care unit. p*: log-rank test (proportional test).

Table 3

Subgroup analyses of clinical outcomes, including all-cause mortality, first ED visits, first hospitalizations, and ICU admissions, within 1 year after the index date in group A versus group D after propensity score matching.

SubgroupALL-Cause MortalityFirst ED VisitsFirst HospitalizationsFirst ICU Admissions
A/D (n)
HR (95% CI)
p* A/D (n)
HR (95% CI)
p A/D (n)
HR (95% CI)
p A/D (n)
HR (95% CI)
p
Age, ≥65 years
(322 pairs)
104/83
1.35 (1.01, 1.8)
0.041
(0.501)
184/166
1.22 (0.99, 1.50)
0.067
(0.088)
202/198
1.07 (0.88, 1.30)
0.493
(0.889)
27/32
0.87 (0.52, 1.46)
0.606
(0.518)
Age, <65 years
(160 pairs)
49/33
1.59 (1.03, 2.48)
0.037
(0.347)
92/80
1.25 (0.93, 1.69)
0.140
(0.236)
101/91
1.20 (0.90, 1.59)
0.205
(0.619)
NE
Hypertension
(281 pairs)
88/61
1.61 (1.16, 2.23)
0.004
(0.189)
162/140
1.35 (1.08, 1.70)
0.009
(0.215)
192/165
1.35 (1.10, 1.66)
0.004
(0.307)
31/33
1.00 (0.61, 1.63)
0.995
(0.566)
Dyslipidemia
(308 pairs)
104/90
1.21 (0.91, 1.61)
0.180
(0.859)
194/179
1.18 (0.97, 1.45)
0.105
(0.336)
199/182
1.20 (0.98, 1.46)
0.082
(0.715)
26/24
1.11 (0.64, 1.94)
0.704
(0.752)
Chronic kidney disease
(139 pairs)
44/36
1.24 (0.80, 1.92)
0.340
(0.480)
80/70
1.21 (0.88, 1.66)
0.248
(0.585)
98/95
1.02 (0.77, 1.36)
0.867
(0.224)
22/24
0.91 (0.51, 1.63)
0.761
(0.577)
Type 2 diabetes
(242 pairs)
97/80
1.26 (0.93, 1.69)
0.130
(0.605)
158/134
1.23 (0.98, 1.55)
0.074
(0.672)
175/173
1.02 (0.83, 1.26)
0.827
(0.432)
28/33
0.85 (0.51, 1.41)
0.527
(0.682)
Albumin, <3.5 g/dL
(304 pairs)
155/134
1.21 (0.95, 1.52)
0.111
(0.802)
193/175
1.23 (1.00, 1.50)
0.051
(0.894)
222/213
1.07 (0.89, 1.30)
0.453
(0.405)
42/38
1.13 (0.73, 1.75)
0.591
(0.938)

p*: log-rank test (Cox proportional test).

Table 4

Subgroup analyses of adverse clinical outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, within 1 year after the index date in group A versus group D after propensity score matching.

SubgroupMalnutritionBrain MetastasisBone MetastasisIntrapulmonary Metastasis
A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p
Age, ≥65 years
(322 pairs)
42/42
1.05 (0.69, 1.61)
0.820
(0.576)
12/11
1.15 (0.51, 2.61)
0.738
(0.610)
43/41
1.09 (0.71, 1.67)
0.707
(0.931)
30/29
1.07 (0.64, 1.79)
0.787
(0.376)
Age, <65 years
(160 pairs)
14/15
0.96 (0.47, 2.00)
0.92
(0.616)
NE 20/15
1.40 (0.72, 2.73)
0.325
(0.498)
23/11
2.23 (1.09, 4.57)
0.025
(0.984)
Hypertension
(281 pairs)
43/34
1.38 (0.88, 2.16)
0.163
(0.180)
NE 34/26
1.41 (0.84, 2.34)
0.188
(0.460)
31/27
1.25 (0.75, 2.09)
0.397
(0.163)
Dyslipidemia
(308 pairs)
32/31
1.07 (0.65, 1.76)
0.783
(0.598)
17/24
0.72 (0.39, 1.34)
0.300
0.747
23/21
1.13 (0.63, 2.05)
0.681
0.413
36/36
1.04 (0.66, 1.65)
0.868
(0.686)
CKD
(139 pairs)
26/26
1.00 (0.56, 1.72)
0.996
(0.626)
NE 14/12
1.18 (0.55, 2.55)
0.672
0.938
15/15
1.01 (0.49, 2.06)
0.984
(0.819)
Type 2 diabetes
(242 pairs)
28/32
0.88 (0.53, 1.46)
0.619
(0.358)
NE 21/15
1.42 (0.73, 2.75)
0.298
0.857
28/23
1.24 (0.72, 2.16)
0.441
(0.538)
Albumin, <3.5 g/dL
(304 pairs)
53/47
1.16 (0.78, 1.71)
0.470
(0.613)
19/18
1.06 (0.56, 2.03)
0.853
(0.181)
49/39
1.28 (0.84, 1.95)
0.251
0.451
47/46
1.03 (0.691.55)
0.885
(0.545)

Abbreviation: CKD: chronic kidney disease.

Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status Source: 3.2. Clinical Outcomes According to Baseline Vitamin D Status

Discussion: Limitations of the Study

There are several limitations to the present study. First, although the TriNetX database comprises data from healthcare organizations across more than 20 countries, the study population was predominantly derived from the United States, potentially limiting the generalizability of our findings to populations in other geographic regions. Second, patients included in the TriNetX electronic health record (EHR) database received care across 66 contributing healthcare organizations, most of which are large academic medical centers. Consequently, the generalizability of our findings to other healthcare settings and patient populations may be limited, and further validation using national or population-based data sources is warranted.

Third, information regarding TNM stage, histological subtype, molecular alterations (e.g., EGFR mutations and ALK rearrangements), and performance status was unavailable in the Trinetx Global Collaborative Network used in this study. In particular, the absence of staging data prevented us from determining the proportions of patients with early stage versus advanced-stage NSCLC. These unmeasured clinical characteristics may have contributed to residual confounding in the observed associations of serum 25(OH)D levels with mortality and healthcare utilization. Accordingly, our findings may differ from those of studies restricted to specific disease stages, and their applicability to stage-specific populations should be interpreted with caution.

Fourth, our study was limited by the lack of information on participants’ country of residence, the month or season of serum 25(OH)D measurement, and vitamin D supplement use in the TriNetX data analyzed. A previous study reported that residence in a sunny country and sunbed use were strongly and independently associated with higher serum 25(OH)D levels, whereas vitamin D supplement intake showed only a weak association with these levels [31]. Consequently, we could not account for potential differences in sunlight exposure, seasonal variation in serum 25(OH)D levels, or vitamin D supplementation.

These unmeasured factors may have contributed to residual confounding. Fifth, only 4794 of 625,491 potentially eligible adults with NSCLC (0.77%) had a serum vitamin D measurement. Because patients were not randomly selected for testing, those who underwent testing may have differed systematically from those who did not. This potential selection bias may limit the generalizability of our findings to the broader population of patients with NSCLC. Sixth, pre-existing metastases and malnutrition documented during the look-back period or at the index date are important potential confounders of the association between vitamin D status and mortality.

However, limitations of the TriNetX platform made it difficult to fully account for these conditions in our analyses. Seventh, competing-risk analyses were not available through the TriNetX platform used in this study. Kaplan–Meier curves were generated to compare overall survival between patients with severe vitamin D deficiency (Group A) and those with normal vitamin D status (Group D) after propensity score matching (Figure 4), and Cox proportional hazards models were used to estimate hazard ratios. For nonfatal outcomes, estimates calculated as 1 minus the Kaplan–Meier survival probability do not account for death as a competing event and may therefore overestimate cumulative incidence.

Eighth, although propensity score matching was performed to reduce the influence of potential confounding, several clinically relevant factors were not included in the matching model, including parathyroid disorders, advanced kidney disease such as stage 4–5 chronic kidney disease or end-stage renal disease, and chronic liver disease [32,33]. Therefore, residual confounding cannot be completely excluded. Ninth, the TriNetX outputs available for this analysis did not allow us to reliably quantify loss to follow-up over the 5-year follow-up period.

Such quantification requires distinguishing loss to follow-up from administrative censoring and death events, which cannot be achieved using survival probabilities or Cox regression estimates alone. Therefore, we could not fully assess the extent of loss to follow-up or its potential impact on our findings. Finally, the retrospective design precluded determining whether low baseline serum 25(OH)D levels represented a pre-existing risk factor or a consequence of cancer-related deterioration, cachexia, or terminal decline. Although statistically significant associations were observed, these findings do not establish causality.

Well-designed prospective studies are needed to clarify the temporal relationship, and randomized controlled trials are required to determine whether correcting vitamin D deficiency improves clinical outcomes.

Source: 4.1. Limitations of the Study

Discussion: Recommendations for Future Research

Future prospective, multicenter studies involving diverse populations should incorporate standardized and repeated 25(OH)D measurements, comprehensive clinical data, and systematic follow-up to improve generalizability and address selection bias, residual confounding, and reverse causation. Competing-risk analyses should account for death when evaluating nonfatal outcomes. Randomized controlled trials are needed to determine whether correcting vitamin D deficiency improves clinical outcomes in patients with NSCLC.

Source: 4.2. Recommendations for Future Research

Results

The flowchart of participant selection is shown in Figure 1. A total of 4794 eligible patients with NSCLC were included in this study and stratified into four groups according to serum 25-hydroxyvitamin D [25(OH)D] levels: Group A (n = 738; 15.4%), Group B (n = 1204; 25.1%), Group C (n = 1237; 25.8%), and Group D (n = 1615; 33.7%). Pairwise comparisons were subsequently performed to evaluate baseline characteristics and clinical outcomes between the vitamin D groups.

Because propensity score matching was conducted separately for each pairwise comparison, the number of matched patients in each group varied across comparisons. Accordingly, slight differences in sample size were observed among the pairwise analyses. A schematic timeline of the study is presented in Figure 2.

3.1. Baseline Characteristics and Propensity Score Matching

Before propensity score matching (PSM), several baseline characteristics showed meaningful imbalances across the vitamin D groups, particularly age, race/ethnicity, nicotine dependence, hypertension, chronic kidney disease, renal function, and previous NSCLC treatments, including chemotherapy and surgery. The magnitude of these differences varied across the pairwise comparisons. Table 1 presents a comparison of baseline characteristics between patients with NSCLC in the severe vitamin D deficiency group (Group A) and those in the normal vitamin D status group (Group D).

After PSM, most demographic characteristics, comorbidities, and previous NSCLC treatments were well balanced between the comparison groups, with standardized mean differences (SMDs) generally below 0.10. In the comparison between Group A and Group D, serum albumin remained imbalanced after matching (SMD = 0.249) (Table 1). In the comparison between Group A and Group B, residual imbalances remained for estimated glomerular filtration rate (eGFR; SMD = 0.169) and serum albumin level (SMD = 0.149). Similarly, residual imbalances in eGFR (SMD = 0.108) and serum albumin (SMD = 0.145) were observed between Groups A and C after propensity score matching (Supplementary File S1).

For the comparison between Groups B and C, all matched baseline covariates achieved adequate balance, with SMDs below 0.10. In contrast, a modest residual imbalance in serum albumin was observed between Groups B and D (SMD = 0.119) and between Groups C and D (SMD = 0.134). Overall, PSM substantially improved comparability of the baseline characteristics across the vitamin D groups. Figure 3. Love plot illustrating covariate balance between groups A and D before and after propensity score matching, as assessed by standardized mean differences.

As expected, serum 25-hydroxyvitamin D levels remained substantially different between the vitamin D groups after matching because vitamin D status represented the exposure variable used to define the study groups and was therefore not included as a matching variable.

3.2. Clinical Outcomes According to Baseline Vitamin D Status

After propensity score matching, severe vitamin D deficiency was consistently associated with an increased risk of all-cause mortality. Compared with patients with Group B, those with severe vitamin D deficiency (Group A) had significantly higher risks of all-cause mortality at 1 year (HR, 1.28; 95% CI, 1.06–1.54; p = 0.012), 3 years (HR, 1.25; 95% CI, 1.07–1.45; p = 0.004), and 5 years (HR, 1.25; 95% CI, 1.07–1.45; p = 0.004). Group A also had a significantly higher risk of bone metastasis at 1 year (HR, 1.50; 95% CI, 1.08–2.09; p = 0.016).

Table 2 presents a comparison of clinical outcomes between patients with NSCLC in the severe vitamin D deficiency group (Group A) and those in the normal vitamin D status group (Group D). The differences were more pronounced when severe vitamin D deficiency was compared with normal vitamin D status (Group D). Group A had significantly higher risks of all-cause mortality at 1 year (HR, 1.38; 95% CI, 1.08–1.70; p = 0.001), 3 years (HR, 1.30; 95% CI, 1.07–1.58; p = 0.008), and 5 years (HR, 1.25; 95% CI, 1.04–1.51; p = 0.017).

The risks of first ED visits were also significantly higher at 1 year (HR, 1.31; 95% CI, 1.09–1.57; p = 0.031), 3 years (HR, 1.25; p = 0.007), and 5 years (HR, 1.25; 95% CI, 1.07–1.47; p = 0.006). Group A additionally had a higher risk of first hospitalization at 1 year (HR, 1.22; 95% CI, 1.03–1.44; p = 0.019) and a higher risk of malnutrition at both 1 year (HR, 1.67; 95% CI, 1.12–2.48; p = 0.010) and 3 years (HR, 1.46; 95% CI, 1.03–2.07; p = 0.034).

The E-values ranged from 1.11 to 2.73, suggesting that relatively weak to moderate unmeasured confounding could potentially explain some of the observed associations. All models passed the tests for the proportional hazard assumption (Table 2).

Compared with patients with Group C, patients in Group A had significantly higher risks of all-cause mortality at 1 year (HR, 1.42; 95% CI, 1.16–1.75; p = 0.001), 3 years (HR, 1.39; 95% CI, 1.18–1.64; p < 0.001), and 5 years (HR, 1.31; 95% CI, 1.18–1.52; p = 0.001). In addition, Group A was associated with significantly higher risks of first ED visits (HR, 1.16; p = 0.039), malnutrition (HR, 1.54; 95% CI, 1.06–2.24; p = 0.022), and bone metastasis (HR, 1.46; 95% CI, 1.03–2.07; p = 0.034) at 1 year.

These differences were no longer statistically significant at the longer follow-up time points (Supplementary File S2). Figure 4 shows Kaplan–Meier curves for overall survival in patients with severe vitamin D deficiency (group A) and normal vitamin D status (Group D) after propensity score matching. Survival distributions were compared using the log-rank test.

In the comparison between the Group B and Group C groups, Group B was associated with a significantly higher risk of all-cause mortality at 3 years (HR, 1.18; 95% CI, 1.02–1.38; p = 0.031). A higher risk of first hospitalization was observed at 1 year (HR, 1.13; 95% CI, 1.00–1.27; p = 0.048), while the risk of malnutrition was significantly higher at both 1 year (HR, 1.47; 95% CI, 1.08–2.01; p = 0.015) and 3 years (HR, 1.31; 95% CI, 1.01–1.71; p = 0.045).

When the Group B group was compared with the normal vitamin D status group, a significantly higher risk of first hospitalization was observed at 1 year (HR, 1.22; 95% CI, 1.07–1.39; p = 0.003), 3 years (HR, 1.18; 95% CI, 1.04–1.33; p = 0.009), and 5 years (HR, 1.16; 95% CI, 1.03–1.31; p = 0.015). No statistically significant differences were observed for all-cause mortality, first ED visits, first ICU admissions, malnutrition, or metastatic outcomes in this comparison. No statistically significant differences in the evaluated clinical outcomes were observed between patients in Groups C and D at 1, 3, or 5 years of follow-up.

Across the pairwise comparisons, first ICU admissions and brain metastasis were not significantly associated with baseline vitamin D status at any follow-up time point, whereas the significantly increased risk of bone metastasis was confined to the 1-year comparisons involving severe vitamin D deficiency.

Table 3 presents subgroup analyses of clinical outcomes, including all-cause mortality, emergency department (ED) visits, first hospitalizations, and first intensive care unit (ICU) admissions, within 1 year after the index date in group A compared with group D after propensity score matching. Compared with Group D, Group A was significantly associated with higher all-cause mortality at 1, 3, and 5 years of follow-up among patients aged ≥ 65 years, those aged < 65 years, and those with hypertension. Significant associations with all-cause mortality were also observed among patients with hypoalbuminemia at 3 years and those with hyperlipidemia at 5 years.

For emergency department visits, severe vitamin D deficiency was significantly associated with a higher risk among patients with hypertension at the 1-, 3-, and 5-year follow-up periods, among those with hypoalbuminemia at 3 and 5 years, and among those with diabetes mellitus at 5 years. For first hospitalization, severe vitamin D deficiency was significantly associated with a higher risk among patients with hypertension at all three follow-up time points and among those with hyperlipidemia at 3 and 5 years. Table 4 presents subgroup analyses of adverse outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, over the same 1-year follow-up period in group A compared with group D after propensity score matching.

For intrapulmonary metastasis, severe vitamin D deficiency was significantly associated with a higher risk among patients aged < 65 years at the 1-, 3-, and 5-year follow-up periods. The corresponding results at 3 and 5 years of follow-up are provided in the Supplementary File S3.

Figure 5 is the forest plot showing subgroup analyses of the risks of all-cause mortality, first hospitalization, first ED visit, first ICU admission, and malnutrition in patients with severe vitamin D deficiency (group A) compared with those with normal vitamin D status (group D) at 1, 3, and 5 years of follow-up, with group D serving as the reference group.

After excluding patients who died within 3 months after the index date, Group A had significantly higher hazards of all-cause mortality than Group D at 1 year (HR, 1.38; 95% CI, 1.02–1.88; p = 0.036), 3 years (HR, 1.38; 95% CI, 1.11–1.73; p = 0.005), and 5 years (HR, 1.33; 95% CI, 1.08–1.64; p = 0.008). However, after excluding patients who died within 6 months after the index date, the hazard ratios remained numerically elevated but were no longer statistically significant at 1 year (HR, 1.23; 95% CI, 0.84–1.82; p = 0.287), 3 years (HR, 1.20; 95% CI, 0.93–1.55; p = 0.161), or 5 years (HR, 1.17; 95% CI, 0.92–1.48; p = 0.200) (Supplementary File S4).

Table 1

Baseline characteristics of patients with NSCLC in the severe vitamin D deficiency (Group A) and normal vitamin D status (Group D) groups before and after propensity score matching.

VariableBefore MatchingAfter Matching
A Group
(n = 738)
D Group
(n = 1615)
Std DiffA Group
(n = 457)
D Group
(n = 457)
Std Diff
Mean age at index, years, mean (SD)63.4 (12.3)66.3 (11.9)0.24163.5 (12.7)63.5 (12.7)0.028
Sex
  Female335 (45.5)828 (51.3)0.117219 (47.9)222 (48.6)0.013
  Male401 (54.5)785 (48.7)0.017238 (52.1)235 (51.4)0.013
Race/ethnicity
White100 (13.6)961 (59.6)1.087100 (21.9)92 (20.1)0.043
Black or African American95 (12.9)242 (15.0)0.06094 (20.6)94 (20.6)<0.001
Asian10 (1.4)106 (6.6)0.27010 (2.2)10 (2.2)<0.001
Unknown race531 (72.1)262 (16.2)1.362253 (55.4)259 (56.7)0.026
Substance use
Alcohol dependence19 (2.6)11 (0.7)0.15010 (2.2)10 (2.2)<0.001
Nicotine dependence192 (26.1)205 (12.7)0.343104 (22.8)91 (19.9)0.069
Comorbidities
Overweight and obesity73 (9.9)184 (11.4)0.04851 (11.2)46 (10.1)0.036
Hypertension263 (35.7)783 (48.5)0.262180 (39.4)172 (37.6)0.036
Type 2 diabetes165 (22.4)382 (23.7)0.030112 (24.5)105 (23.0)0.036
Hyperlipidemia176 (23.9)492 (30.5)0.148114 (24.9)106 (23.2)0.041
Chronic kidney disease67 (9.1)323 (20.0)0.31357 (12.5)64 (14.0)0.045
Stroke18 (2.4)42 (2.6)0.01015 (3.3)12 (2.6)0.039
Laboratory data
eGFR, ml/min/1.73 m265.2 (52.8)67.4 (33.6)0.04966.2 (49.8)64.6 (42.4)0.034
Albumin, g/dL3.8 (0.8)3.9 (0.7)0.0613.8 (0.8)4.0 (0.7)0.249
Previous treatments for NSCLC
 Chemotherapy133 (18.1)138 (8.6)0.28360 (13.1)65 (14.2)0.032
 Radiotherapy00 00
 Surgery153 (20.8)1030 (63.9)0.969150 (32.8)140 (30.6)0.047

Abbreviations: eGFR, estimated glomerular filtration rate; NSCLC, non-small cell lung cancer; Std diff, standardized difference; SD, standard deviation.

Table 2

Differences in clinical outcomes between the severe vitamin D deficiency (Group A) and normal vitamin D status (Group D) groups across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 457 matched pairs).

Outcome1-Year Follow-Up3-Year Follow-Up5-Year Follow-Up
Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)
All-cause mortality147/1141.38 (1.08, 1.70)0.001
(0.948)
2.10 (1.37)219/1881.30 (1.07, 1.58)0.008
(0.358)
1.92 (1.34)237/2111.25 (1.04, 1.51)0.017
(0.201)
1.81 (1.24)
First ED visits258/2201.31
(1.09, 1.57)
0.031
(0.089)
1.95 (1.40)298/2801.25 (1.06, 1.58)0.007
(0.848)
1.81 (1.31)309/2931.25 (1.07, 1.47)0.006
(0.849)
1.81 (1.34)
First
Hospitalizations
291/2641.22 (1.03, 1.44)0.019
(0.624)
1.74 (1.21)325/3181.16 (1.00, 1.36)0.054
(0.393)
1.59 (1.00)331/3251.17 (1.00, 1.36)0.051
(0.461)
1.62 (1.00)
First
ICU admissions
46/381.26
(0.82, 1.94)
0.292
(0.666)
1.83 (1.00)53/451.25 (0.84, 1.86)0.273
(0.917)
1.81 (1.00)57/501.22 (0.83, 1.78)0.311
(0.621)
1.74 (1.00)
Malnutrition63/401.67
(1.12, 2.48)
0.010
(0.608)
2.73 (1.49)73/551.46 (1.03, 2.07)0.034
(0.191)
2.28 (1.21)75/611.36 (0.97, 1.90)0.076
(0.060)
2.06 (1.00)
Brain metastasis18/141.34
(0.66, 2.69)
0.915
(0.266)
2.01 (1.00)22/171.37 (0.73, 2.59)0.323
(0.513)
2.08 (1.00)24/191.36 (0.74, 2.48)0.316
(0.851)
2.06 (1.00)
Bone metastasis53/471.17 (0.79, 1.74)0.426
(0.629)
1.62 (1.00)62/591.11 (0.78, 1.59)0.566
(0.568)
1.46 (1.00)65/621.11 (0.78, 1.57)0.558
(0.720)
1.46 (1.00)
Intrapulmonary metastasis43/391.15
(0.74, 1.77)
0.531
(0.623)
1.57 (1.00)61/651.01 (0.71, 1.43)0.966
(0.849)
1.11 (1.00)65/701.00 (0.71, 1.40)0.990
(0.592)
1 (1.00)

Abbreviations: CI, confidence interval; ED, emergency department; HR, hazard ratio; ICU, intensive care unit. p*: log-rank test (proportional test).

Table 3

Subgroup analyses of clinical outcomes, including all-cause mortality, first ED visits, first hospitalizations, and ICU admissions, within 1 year after the index date in group A versus group D after propensity score matching.

SubgroupALL-Cause MortalityFirst ED VisitsFirst HospitalizationsFirst ICU Admissions
A/D (n)
HR (95% CI)
p* A/D (n)
HR (95% CI)
p A/D (n)
HR (95% CI)
p A/D (n)
HR (95% CI)
p
Age, ≥65 years
(322 pairs)
104/83
1.35 (1.01, 1.8)
0.041
(0.501)
184/166
1.22 (0.99, 1.50)
0.067
(0.088)
202/198
1.07 (0.88, 1.30)
0.493
(0.889)
27/32
0.87 (0.52, 1.46)
0.606
(0.518)
Age, <65 years
(160 pairs)
49/33
1.59 (1.03, 2.48)
0.037
(0.347)
92/80
1.25 (0.93, 1.69)
0.140
(0.236)
101/91
1.20 (0.90, 1.59)
0.205
(0.619)
NE
Hypertension
(281 pairs)
88/61
1.61 (1.16, 2.23)
0.004
(0.189)
162/140
1.35 (1.08, 1.70)
0.009
(0.215)
192/165
1.35 (1.10, 1.66)
0.004
(0.307)
31/33
1.00 (0.61, 1.63)
0.995
(0.566)
Dyslipidemia
(308 pairs)
104/90
1.21 (0.91, 1.61)
0.180
(0.859)
194/179
1.18 (0.97, 1.45)
0.105
(0.336)
199/182
1.20 (0.98, 1.46)
0.082
(0.715)
26/24
1.11 (0.64, 1.94)
0.704
(0.752)
Chronic kidney disease
(139 pairs)
44/36
1.24 (0.80, 1.92)
0.340
(0.480)
80/70
1.21 (0.88, 1.66)
0.248
(0.585)
98/95
1.02 (0.77, 1.36)
0.867
(0.224)
22/24
0.91 (0.51, 1.63)
0.761
(0.577)
Type 2 diabetes
(242 pairs)
97/80
1.26 (0.93, 1.69)
0.130
(0.605)
158/134
1.23 (0.98, 1.55)
0.074
(0.672)
175/173
1.02 (0.83, 1.26)
0.827
(0.432)
28/33
0.85 (0.51, 1.41)
0.527
(0.682)
Albumin, <3.5 g/dL
(304 pairs)
155/134
1.21 (0.95, 1.52)
0.111
(0.802)
193/175
1.23 (1.00, 1.50)
0.051
(0.894)
222/213
1.07 (0.89, 1.30)
0.453
(0.405)
42/38
1.13 (0.73, 1.75)
0.591
(0.938)

p*: log-rank test (Cox proportional test).

Table 4

Subgroup analyses of adverse clinical outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, within 1 year after the index date in group A versus group D after propensity score matching.

SubgroupMalnutritionBrain MetastasisBone MetastasisIntrapulmonary Metastasis
A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p
Age, ≥65 years
(322 pairs)
42/42
1.05 (0.69, 1.61)
0.820
(0.576)
12/11
1.15 (0.51, 2.61)
0.738
(0.610)
43/41
1.09 (0.71, 1.67)
0.707
(0.931)
30/29
1.07 (0.64, 1.79)
0.787
(0.376)
Age, <65 years
(160 pairs)
14/15
0.96 (0.47, 2.00)
0.92
(0.616)
NE 20/15
1.40 (0.72, 2.73)
0.325
(0.498)
23/11
2.23 (1.09, 4.57)
0.025
(0.984)
Hypertension
(281 pairs)
43/34
1.38 (0.88, 2.16)
0.163
(0.180)
NE 34/26
1.41 (0.84, 2.34)
0.188
(0.460)
31/27
1.25 (0.75, 2.09)
0.397
(0.163)
Dyslipidemia
(308 pairs)
32/31
1.07 (0.65, 1.76)
0.783
(0.598)
17/24
0.72 (0.39, 1.34)
0.300
0.747
23/21
1.13 (0.63, 2.05)
0.681
0.413
36/36
1.04 (0.66, 1.65)
0.868
(0.686)
CKD
(139 pairs)
26/26
1.00 (0.56, 1.72)
0.996
(0.626)
NE 14/12
1.18 (0.55, 2.55)
0.672
0.938
15/15
1.01 (0.49, 2.06)
0.984
(0.819)
Type 2 diabetes
(242 pairs)
28/32
0.88 (0.53, 1.46)
0.619
(0.358)
NE 21/15
1.42 (0.73, 2.75)
0.298
0.857
28/23
1.24 (0.72, 2.16)
0.441
(0.538)
Albumin, <3.5 g/dL
(304 pairs)
53/47
1.16 (0.78, 1.71)
0.470
(0.613)
19/18
1.06 (0.56, 2.03)
0.853
(0.181)
49/39
1.28 (0.84, 1.95)
0.251
0.451
47/46
1.03 (0.691.55)
0.885
(0.545)

Abbreviation: CKD: chronic kidney disease.

Source: 3. Results Source: 3. Results Source: 3. Results Source: 3. Results Source: 3. Results Source: 3. Results Source: 3. Results

Conclusions

In this real-world analysis of 4794 adults with NSCLC, severe vitamin D deficiency at baseline was consistently associated with a higher risk of all-cause mortality than each of the other baseline vitamin D categories over the 5-year follow-up period. Associations with first hospitalization, first ED visit, and first ICU admission were less consistent and were most apparent when patients with severe vitamin D deficiency were compared with those with study-defined normal vitamin D status, particularly for first ED visit. Low serum 25(OH)D levels may primarily reflect overall clinical vulnerability, and their independent prognostic value remains uncertain.

Prospective studies are warranted to determine whether correcting vitamin D deficiency through supplementation can reduce these risks, particularly that of a first ED visit, and improve clinical outcomes in patients with NSCLC.

Source: 5. Conclusions
Authors’ abstract

Background and Objectives: Non-small cell lung cancer (NSCLC) is a common malignancy and a leading cause of cancer-related mortality worldwide. Vitamin D supplementation may improve survival in patients with early stage NSCLC and low serum 25-hydroxyvitamin D [25(OH)D] levels. Using real-world data from the TriNetX research platform, this study aimed to examine the associations between baseline serum 25-hydroxyvitamin D [25(OH)D] concentrations and the risks of all-cause mortality, first hospitalization, first emergency department (ED) visit, and first intensive care unit (ICU) admission among adults with NSCLC. Materials and Methods: A retrospective cohort study using the TriNetX database was conducted to investigate the relationship between vitamin D deficiency and patients with non-small cell lung cancer (NSCLC) in adults (≥20 years).

Patients were stratified into four groups according to serum 25-hydroxyvitamin D [25(OH)D] levels: Group A (≤10 ng/mL; severe vitamin D deficiency), Group B (>10 to 20 ng/mL), Group C (>20 to 30 ng/mL), and Group D (>30 to 100 ng/mL; normal vitamin D status). To minimize exposure misclassification, all patients required a confirmatory serum 25(OH)D measurement within 3 months before the index date. After 1:1 propensity score matching, patients were followed for up to 5 years to assess the predefined clinical outcomes. Results: A total of 4794 eligible patients with NSCLC were included and stratified into four groups: Group A (n = 738; 15.4%), Group B (n = 1204; 25.1%), Group C (n = 1237; 25.8%), and Group D (n = 1615; 33.7%).

After propensity score matching, baseline characteristics were generally well balanced across the vitamin D groups, with only minor residual imbalances in eGFR and serum albumin. After propensity score matching, patients with severe vitamin D deficiency (Group A) consistently had a higher risk of all-cause mortality at 1, 3, and 5 years than those in Groups B, C, or D (all p < 0.05). Group A also showed higher risks of 1-year first ED visits, malnutrition, and bone metastasis in selected comparisons, and higher risks of first ED visits throughout follow-up when compared with Group D. Conclusions: In this real-world analysis of patients with NSCLC, severe vitamin D deficiency at baseline was consistently associated with higher all-cause mortality than all other baseline vitamin D categories over 5 years.

Associations with first hospitalization, ED visit, and ICU admission were less consistent and were most evident in comparison with study-defined normal vitamin D status, particularly for first ED visit. However, low serum 25(OH)D levels may primarily reflect overall clinical vulnerability, and their independent prognostic value remains uncertain.

Read the full paper

1. Introduction

According to updated global cancer estimates for 2022 from the International Agency for Research on Cancer (IARC), lung cancer was the leading cause of cancer-related mortality worldwide, accounting for an estimated 1.8 million deaths, or 18.7% of all cancer deaths [1]. Non–small cell lung cancer (NSCLC) accounts for approximately 85% of all lung cancer cases [2]. Despite advances in early detection and therapeutic strategies, NSCLC is frequently diagnosed at an advanced stage and remains associated with a poor prognosis [3].

A systematic review reported that patients with advanced NSCLC had substantial healthcare resource utilization and associated costs, although considerable variation was observed across countries. Moreover, healthcare resource utilization and costs were particularly high among patients with brain or central nervous system (CNS) metastases [4].

The primary physiological function of vitamin D is to maintain calcium and bone homeostasis [5]. Vitamin D status is commonly assessed by measuring serum 25-hydroxyvitamin D [25(OH)D] concentrations. Vitamin D deficiency remains highly prevalent worldwide; a recent report estimated that the pooled global prevalence of serum 25(OH)D levels < 20 ng/mL was 47.9% during 2000–2022. This high prevalence represents an important public health concern and contributes substantially to the global burden of disease [6]. Beyond its well-established role in skeletal health, vitamin D has been implicated in a wide range of non-skeletal conditions, including cardiovascular disease, cancer, autoimmune disorders, and diabetes mellitus [7].

Vitamin D deficiency has also been associated with impaired immune function, increased susceptibility to infection, and a higher risk of autoimmune diseases [8]. In parallel with growing recognition of these potential health implications, the frequency of vitamin D testing has increased substantially in recent years [9]. Given the potential immunomodulatory and anticancer effects of vitamin D, increasing attention has been directed toward its possible role in cancer development, treatment response, and prognosis.

Previous meta-analyses of randomized controlled trials have suggested that vitamin D supplementation may confer a greater benefit in reducing cancer mortality than in preventing cancer incidence [10,11,12]. Emerging evidence further suggests that vitamin D status may have prognostic significance in patients with non–small cell lung cancer (NSCLC) across different treatment settings. Among patients with NSCLC receiving immunotherapy, serum vitamin D levels < 20 ng/mL were associated with poorer overall survival (OS), whereas levels ≥ 20 ng/mL were associated with longer progression-free survival and OS, as well as a trend toward higher response rates [13].

Similarly, 25-hydroxyvitamin D [25(OH)D] deficiency was identified as an independent prognostic factor for poorer OS in patients with advanced NSCLC receiving first-line platinum-based chemotherapy [14]. More broadly, higher circulating 25(OH)D concentrations measured at or near the time of cancer diagnosis have been associated with more favorable outcomes across various cancer populations [15]. Collectively, these findings support a potential prognostic role of vitamin D status in cancer and suggest that this association may be particularly relevant in NSCLC.

Low vitamin D status has also been linked to adverse outcomes among acutely and critically ill patients. In critically ill patients with cancer, severe 25(OH)D deficiency (≤12 ng/mL) was independently associated with higher in-hospital and 1-year mortality, although its association with short-term mortality remained uncertain [16]. Among patients with septic shock presenting to the emergency department, vitamin D deficiency, defined as a serum 25(OH)D level < 20 ng/mL, was highly prevalent and associated with increased mortality [17].

Similarly, a study of patients admitted to a medical intensive care unit reported a vitamin D deficiency prevalence of 77.8% and demonstrated an association between 25(OH)D deficiency and higher in-hospital mortality [18]. Taken together, these observations suggest that low vitamin D status may be associated not only with cancer prognosis but also with increased clinical vulnerability and poorer outcomes during acute and critical illness.

Despite these findings, few real-world studies have comprehensively evaluated whether the severity of baseline vitamin D deficiency is associated with subsequent mortality, healthcare utilization, and other clinically relevant outcomes in patients with NSCLC. In particular, the associations of baseline vitamin D status with the risks of first hospitalization, first emergency department (ED) visit, first intensive care unit (ICU) admission, malnutrition, and metastatic involvement remain insufficiently characterized. The present study aimed to investigate the association between serum vitamin D status and all-cause mortality, first hospitalization, first ED visit, first ICU admission, and selected adverse outcomes, including malnutrition and brain, bone, and intrapulmonary metastases, among adults with NSCLC, using real-world data from the TriNetX database.

2. Materials and Methods

2.1. Data Sources and Ethical Approval

De-identified electronic health record (EHR) data contributed by participating healthcare organizations were obtained through the TriNetX Network (Cambridge, MA, USA), a global collaborative platform for health research. The database contains comprehensive patient-level information on demographics and healthcare utilization, together with clinical diagnoses coded according to the International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM), and laboratory test results coded using Logical Observation Identifiers Names and Codes (LOINC) [19]. TriNetX applies standardized data processing and quality-control procedures to enhance data consistency, completeness, and interoperability across participating healthcare organizations.

Further details regarding the TriNetX database and its data-processing procedures have been described previously [20]. Because the TriNetX database contains only de-identified patient data, the requirement for written informed consent was waived. The study protocol was reviewed and approved by the Institutional Review Board of the Research Ethics Committee of Buddhist Dalin Tzu Chi Hospital, Taiwan (No. B11402057).

2.2. Definitions of Variables in the Current Study

In the present study, patients were categorized into four groups according to their baseline serum 25-hydroxyvitamin D [25(OH)D] concentrations: Group A (≤10 ng/mL; severe vitamin D deficiency), Group B (>10 to 20 ng/mL), Group C (>20 to 30 ng/mL), and Group D (>30 to 100 ng/mL; normal vitamin D status) [21,22,23,24,25]. Groups B and C were operationally defined as intermediate categories between severe deficiency and the study-defined normal range, rather than as universally accepted diagnostic categories.

Based on a previous study, we adopted a conservative upper cutoff of 100 ng/mL, although that study suggested that vitamin D toxicity generally occurs at concentrations above 300 ng/mL [26].

We identified adult patients (≥20 years) with NSCLC in the TriNetX platform using the Global Oncology concept code TNX:TNX:NSCC. Eligible patients were required to have received at least one form of cancer-directed treatment, including systemic anticancer therapy, radiotherapy, or surgery. Systemic anticancer therapies were classified into the following categories: (1) immune checkpoint inhibitors, including nivolumab, atezolizumab, pembrolizumab, ipilimumab, avelumab, durvalumab, and cemiplimab; (2) cytotoxic chemotherapy, including platinum-based agents (cisplatin and carboplatin), taxanes (paclitaxel and docetaxel), antimetabolites (pemetrexed and gemcitabine), vinca alkaloids (vinorelbine), topoisomerase inhibitors (etoposide and irinotecan), alkylating agents, anthracyclines, and related agents; and (3) targeted therapies, including human epidermal growth factor receptor 2 (HER2) inhibitors, B-Raf proto-oncogene serine/threonine kinase (BRAF) inhibitors, epidermal growth factor receptor (EGFR) tyrosine kinase inhibitors, vascular endothelial growth factor receptor (VEGFR) tyrosine kinase inhibitors, and vascular endothelial growth factor (VEGF)/VEGFR inhibitors.

In the current study, comorbidities were identified using ICD-10-CM diagnosis codes, including type 2 diabetes mellitus (E11), hypertension (I10), overweight and obesity (E66), chronic kidney disease (N18), hyperlipidemia (E78), stroke (I60, I61, I63, and I64), alcohol dependence (F10), and nicotine dependence (F17). Metastatic disease in patients with NSCLC was classified according to the site of metastasis, including brain metastasis (C79.31), bone metastasis (C79.51 or C79.52), and intrapulmonary metastasis (C78.00, C78.01, or C78.02).

2.3. Index Date and Data Collection Process

The index date was defined as the date of NSCLC diagnosis. Eligible patients were required to have at least one recorded serum 25-hydroxyvitamin D [25(OH)D] measurement on the index date or within the preceding 3 months. After identifying eligible patients with NSCLC, demographic characteristics, serum 25(OH)D levels, relevant clinical variables, and study outcomes were extracted from the TriNetX database. Patients were categorized into four groups according to their baseline serum 25(OH)D concentrations measured during this assessment window, and this classification was retained throughout follow-up.

Follow-up began on the index date, and the predefined clinical outcomes were assessed at 1, 3, and 5 years.

2.4. Inclusion and Exclusion Criteria

Patients with NSCLC were identified using the Global Oncology concept code TNX:TNX:NSCC and were required to have received at least one cancer-directed treatment, including systemic anticancer therapy, radiotherapy, or surgery. Eligible patients were aged ≥ 20 years and had a recorded serum 25-hydroxyvitamin D [25(OH)D] measurement within the 3 months preceding NSCLC diagnosis. Patients were excluded if they were younger than 20 years or if they had NSCLC but had not received any cancer-directed treatment, including chemotherapy, radiotherapy, or surgery.

2.5. Matching Variables

The matching variables included demographic factors (age at the index date, sex, race, and alcohol or nicotine dependence) and comorbidities (overweight and obesity, type 2 diabetes mellitus, hypertension, hyperlipidemia, chronic kidney disease, and stroke).

2.6. Outcome Measurement and Follow-Up Period

The study outcomes included all-cause mortality, first hospitalization, first ED visit, first ICU admission, malnutrition, and the development of metastases among adult patients with NSCLC across different serum vitamin D levels. Outcomes were assessed at 1, 3, and 5 years after the index date or until the data cutoff date of 31 August 2026, whichever occurred first. In this study, healthcare utilization among patients with NSCLC was assessed based on first emergency department visit, first hospitalization, and first ICU admission as indicators of acute healthcare resource utilization.

2.7. Statistical Analysis

Statistical analyses were conducted using the integrated functions of the TriNetX platform. Baseline characteristics of the continuous values were reported as means and standard deviations, and categorical data were presented as counts with percentages. Welch modified two-sample t-test was used to compare the continuous data. The chi-squared test or Fisher’s exact test was used to compare the categorical items. Baseline covariate imbalance was addressed through 1:1 propensity score matching (PSM) using the variables specified in the Methods section. Nearest-neighbor matching was applied with a caliper width of 0.1 pooled standard deviations.

Adequate covariate balance was defined as a between-group standardized difference of less than 0.1.

After matching, the cumulative incidence of each outcome was estimated using Cox regression models, with results expressed as hazard ratios (HRs) and 95% confidence intervals (CIs). Proportional hazard assumptions were also tested. Kaplan–Meier curves were generated to compare event-free distributions between groups, with statistical significance assessed using the log-rank test. These curves were plotted using R statistical software (version 4.5.2, R Foundation for Statistical Computing, Vienna, Austria) based on probabilities provided by TriNetX. A p-value of < 0.05 was considered statistically significant.

Sensitivity analyses were performed to evaluate outcomes at 1, 3, and 5 years following the index date.

The Evalue package (version 4.1.4) was used to calculate E-values for both the point estimate and the confidence-limit bound closest to the null. Conditional on the measured covariates, these values quantify the minimum strength of association that an unmeasured confounder would need to have with both group membership and the outcome to fully explain the observed association. Love plot of absolute standardized mean differences (SMDs) before and after matching. The vertical dashed line at an absolute standardized mean difference (SMD) of 0.1 indicates the conventional threshold for acceptable covariate balance.

3. Results

The flowchart of participant selection is shown in Figure 1. A total of 4794 eligible patients with NSCLC were included in this study and stratified into four groups according to serum 25-hydroxyvitamin D [25(OH)D] levels: Group A (n = 738; 15.4%), Group B (n = 1204; 25.1%), Group C (n = 1237; 25.8%), and Group D (n = 1615; 33.7%). Pairwise comparisons were subsequently performed to evaluate baseline characteristics and clinical outcomes between the vitamin D groups.

Because propensity score matching was conducted separately for each pairwise comparison, the number of matched patients in each group varied across comparisons. Accordingly, slight differences in sample size were observed among the pairwise analyses. A schematic timeline of the study is presented in Figure 2.

3.1. Baseline Characteristics and Propensity Score Matching

Before propensity score matching (PSM), several baseline characteristics showed meaningful imbalances across the vitamin D groups, particularly age, race/ethnicity, nicotine dependence, hypertension, chronic kidney disease, renal function, and previous NSCLC treatments, including chemotherapy and surgery. The magnitude of these differences varied across the pairwise comparisons. Table 1 presents a comparison of baseline characteristics between patients with NSCLC in the severe vitamin D deficiency group (Group A) and those in the normal vitamin D status group (Group D).

After PSM, most demographic characteristics, comorbidities, and previous NSCLC treatments were well balanced between the comparison groups, with standardized mean differences (SMDs) generally below 0.10. In the comparison between Group A and Group D, serum albumin remained imbalanced after matching (SMD = 0.249) (Table 1). In the comparison between Group A and Group B, residual imbalances remained for estimated glomerular filtration rate (eGFR; SMD = 0.169) and serum albumin level (SMD = 0.149). Similarly, residual imbalances in eGFR (SMD = 0.108) and serum albumin (SMD = 0.145) were observed between Groups A and C after propensity score matching (Supplementary File S1).

For the comparison between Groups B and C, all matched baseline covariates achieved adequate balance, with SMDs below 0.10. In contrast, a modest residual imbalance in serum albumin was observed between Groups B and D (SMD = 0.119) and between Groups C and D (SMD = 0.134). Overall, PSM substantially improved comparability of the baseline characteristics across the vitamin D groups. Figure 3. Love plot illustrating covariate balance between groups A and D before and after propensity score matching, as assessed by standardized mean differences.

As expected, serum 25-hydroxyvitamin D levels remained substantially different between the vitamin D groups after matching because vitamin D status represented the exposure variable used to define the study groups and was therefore not included as a matching variable.

3.2. Clinical Outcomes According to Baseline Vitamin D Status

After propensity score matching, severe vitamin D deficiency was consistently associated with an increased risk of all-cause mortality. Compared with patients with Group B, those with severe vitamin D deficiency (Group A) had significantly higher risks of all-cause mortality at 1 year (HR, 1.28; 95% CI, 1.06–1.54; p = 0.012), 3 years (HR, 1.25; 95% CI, 1.07–1.45; p = 0.004), and 5 years (HR, 1.25; 95% CI, 1.07–1.45; p = 0.004). Group A also had a significantly higher risk of bone metastasis at 1 year (HR, 1.50; 95% CI, 1.08–2.09; p = 0.016).

Table 2 presents a comparison of clinical outcomes between patients with NSCLC in the severe vitamin D deficiency group (Group A) and those in the normal vitamin D status group (Group D). The differences were more pronounced when severe vitamin D deficiency was compared with normal vitamin D status (Group D). Group A had significantly higher risks of all-cause mortality at 1 year (HR, 1.38; 95% CI, 1.08–1.70; p = 0.001), 3 years (HR, 1.30; 95% CI, 1.07–1.58; p = 0.008), and 5 years (HR, 1.25; 95% CI, 1.04–1.51; p = 0.017).

The risks of first ED visits were also significantly higher at 1 year (HR, 1.31; 95% CI, 1.09–1.57; p = 0.031), 3 years (HR, 1.25; p = 0.007), and 5 years (HR, 1.25; 95% CI, 1.07–1.47; p = 0.006). Group A additionally had a higher risk of first hospitalization at 1 year (HR, 1.22; 95% CI, 1.03–1.44; p = 0.019) and a higher risk of malnutrition at both 1 year (HR, 1.67; 95% CI, 1.12–2.48; p = 0.010) and 3 years (HR, 1.46; 95% CI, 1.03–2.07; p = 0.034).

The E-values ranged from 1.11 to 2.73, suggesting that relatively weak to moderate unmeasured confounding could potentially explain some of the observed associations. All models passed the tests for the proportional hazard assumption (Table 2).

Compared with patients with Group C, patients in Group A had significantly higher risks of all-cause mortality at 1 year (HR, 1.42; 95% CI, 1.16–1.75; p = 0.001), 3 years (HR, 1.39; 95% CI, 1.18–1.64; p < 0.001), and 5 years (HR, 1.31; 95% CI, 1.18–1.52; p = 0.001). In addition, Group A was associated with significantly higher risks of first ED visits (HR, 1.16; p = 0.039), malnutrition (HR, 1.54; 95% CI, 1.06–2.24; p = 0.022), and bone metastasis (HR, 1.46; 95% CI, 1.03–2.07; p = 0.034) at 1 year.

These differences were no longer statistically significant at the longer follow-up time points (Supplementary File S2). Figure 4 shows Kaplan–Meier curves for overall survival in patients with severe vitamin D deficiency (group A) and normal vitamin D status (Group D) after propensity score matching. Survival distributions were compared using the log-rank test.

In the comparison between the Group B and Group C groups, Group B was associated with a significantly higher risk of all-cause mortality at 3 years (HR, 1.18; 95% CI, 1.02–1.38; p = 0.031). A higher risk of first hospitalization was observed at 1 year (HR, 1.13; 95% CI, 1.00–1.27; p = 0.048), while the risk of malnutrition was significantly higher at both 1 year (HR, 1.47; 95% CI, 1.08–2.01; p = 0.015) and 3 years (HR, 1.31; 95% CI, 1.01–1.71; p = 0.045).

When the Group B group was compared with the normal vitamin D status group, a significantly higher risk of first hospitalization was observed at 1 year (HR, 1.22; 95% CI, 1.07–1.39; p = 0.003), 3 years (HR, 1.18; 95% CI, 1.04–1.33; p = 0.009), and 5 years (HR, 1.16; 95% CI, 1.03–1.31; p = 0.015). No statistically significant differences were observed for all-cause mortality, first ED visits, first ICU admissions, malnutrition, or metastatic outcomes in this comparison. No statistically significant differences in the evaluated clinical outcomes were observed between patients in Groups C and D at 1, 3, or 5 years of follow-up.

Across the pairwise comparisons, first ICU admissions and brain metastasis were not significantly associated with baseline vitamin D status at any follow-up time point, whereas the significantly increased risk of bone metastasis was confined to the 1-year comparisons involving severe vitamin D deficiency.

Table 3 presents subgroup analyses of clinical outcomes, including all-cause mortality, emergency department (ED) visits, first hospitalizations, and first intensive care unit (ICU) admissions, within 1 year after the index date in group A compared with group D after propensity score matching. Compared with Group D, Group A was significantly associated with higher all-cause mortality at 1, 3, and 5 years of follow-up among patients aged ≥ 65 years, those aged < 65 years, and those with hypertension. Significant associations with all-cause mortality were also observed among patients with hypoalbuminemia at 3 years and those with hyperlipidemia at 5 years.

For emergency department visits, severe vitamin D deficiency was significantly associated with a higher risk among patients with hypertension at the 1-, 3-, and 5-year follow-up periods, among those with hypoalbuminemia at 3 and 5 years, and among those with diabetes mellitus at 5 years. For first hospitalization, severe vitamin D deficiency was significantly associated with a higher risk among patients with hypertension at all three follow-up time points and among those with hyperlipidemia at 3 and 5 years. Table 4 presents subgroup analyses of adverse outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, over the same 1-year follow-up period in group A compared with group D after propensity score matching.

For intrapulmonary metastasis, severe vitamin D deficiency was significantly associated with a higher risk among patients aged < 65 years at the 1-, 3-, and 5-year follow-up periods. The corresponding results at 3 and 5 years of follow-up are provided in the Supplementary File S3.

Figure 5 is the forest plot showing subgroup analyses of the risks of all-cause mortality, first hospitalization, first ED visit, first ICU admission, and malnutrition in patients with severe vitamin D deficiency (group A) compared with those with normal vitamin D status (group D) at 1, 3, and 5 years of follow-up, with group D serving as the reference group.

After excluding patients who died within 3 months after the index date, Group A had significantly higher hazards of all-cause mortality than Group D at 1 year (HR, 1.38; 95% CI, 1.02–1.88; p = 0.036), 3 years (HR, 1.38; 95% CI, 1.11–1.73; p = 0.005), and 5 years (HR, 1.33; 95% CI, 1.08–1.64; p = 0.008). However, after excluding patients who died within 6 months after the index date, the hazard ratios remained numerically elevated but were no longer statistically significant at 1 year (HR, 1.23; 95% CI, 0.84–1.82; p = 0.287), 3 years (HR, 1.20; 95% CI, 0.93–1.55; p = 0.161), or 5 years (HR, 1.17; 95% CI, 0.92–1.48; p = 0.200) (Supplementary File S4).

4. Discussion

A notable finding of the present study was that severe vitamin D deficiency at baseline was consistently associated with a higher risk of all-cause mortality than each of the other baseline vitamin D categories. After propensity score matching, patients with severe vitamin D deficiency (Group A) had a higher risk of all-cause mortality during follow-up than those in Groups B, C, or D. This consistency across multiple comparator groups suggests that severe vitamin D deficiency may identify a subgroup of patients with NSCLC who are particularly vulnerable to poor long-term outcomes.

In contrast, associations between severe vitamin D deficiency and first hospitalization, first ED visit, and first ICU admission were less consistent. Compared with patients with normal vitamin D status, those with severe vitamin D deficiency had significantly higher risks of emergency department (ED) visits throughout the 1-, 3-, and 5-year follow-up periods, whereas an increased risk of first hospitalization was primarily observed at 1 year. When severe vitamin D deficiency was compared with mild deficiency or Group C, differences in first emergency department visits, first hospitalizations, and first ICU admissions were less consistent.

These findings suggest that the association between severe vitamin D deficiency and mortality may be more robust than its association with first hospitalization, first ED visit, and first ICU admission.

The subgroup analyses further supported the overall mortality findings, with severe vitamin D deficiency being associated with higher all-cause mortality among patients aged both <65 and ≥65 years and among those with hypertension across all follow-up periods. Severe vitamin D deficiency was also associated with a higher risk of first hospitalization among patients with hypertension and a higher risk of intrapulmonary metastasis among patients aged < 65 years. These subgroup findings should be interpreted cautiously, as they were exploratory and may be subject to multiple comparisons and residual confounding.

Previous studies have reported that younger patients with NSCLC may have a higher likelihood of lymph node involvement and distant metastasis despite generally more favorable survival outcomes [27]. Consistent with this observation, we found that severe vitamin D deficiency was associated with an increased risk of intrapulmonary metastasis among patients aged < 65 years. This finding may suggest that severe vitamin D deficiency identifies a subgroup of younger patients with NSCLC who are more susceptible to metastatic progression; however, further studies are needed to confirm this association and clarify the underlying mechanisms.

As shown in Table 2, patients in Group A had a significantly higher risk of a first ED visit at 1, 3, and 5 years than those in Group D (normal vitamin D status). The risk of first hospitalization was significantly higher at 1 year; although the hazard ratios remained numerically elevated at 3 and 5 years, these associations were not statistically significant. No statistically significant difference in the risk of first intensive care unit (ICU) admission was observed at any of the assessed time points.

These findings suggest that the association with severe vitamin D deficiency was more consistently observed for first ED visit than for first hospitalization or first ICU admission. However, differences in statistical significance across follow-up periods do not, by themselves, establish that the association with first hospitalization weakened over time. Similarly, the absence of a statistically significant difference in first ICU admission does not establish equivalent risks between the groups or indicate lower illness severity. The underlying reasons for this pattern cannot be determined from the present analysis, and these findings should be interpreted as observational associations rather than causal effects of vitamin D deficiency.

The E-values ranged from 1.11 to 2.73, indicating that the observed associations may be susceptible to unmeasured confounding. In particular, E-values closer to 1 suggest that relatively weak unmeasured confounding could potentially explain the observed associations, whereas larger E-values indicate greater robustness to unmeasured confounding.

As shown in Table 3, among patients with low serum albumin levels (<3.5 g/dL), no statistically significant differences were observed between Groups A and D in all-cause mortality, first hospitalization, or first ICU admission. Group A had a numerically higher hazard of a first ED visit than Group D, although this difference did not reach statistical significance (HR, 1.23; 95% CI, 1.00–1.50; p = 0.051). Similarly, among patients with chronic kidney disease, no statistically significant differences were observed between the two groups in all-cause mortality, first hospitalization, first ICU admission, or first ED visit.

The lack of information on disease stage and performance status further limited our ability to account for underlying disease severity. These subgroup findings should be interpreted cautiously, as the absence of statistical significance may reflect limited statistical power and does not rule out residual confounding related to serum albumin or underlying disease severity. The lack of information on disease stage and performance status further limited our ability to account for differences in clinical vulnerability.

Reverse causation is an important consideration when interpreting the association between severe vitamin D deficiency and mortality. Low serum 25(OH)D concentrations may reflect advanced disease, reduced outdoor activity, malnutrition, cachexia, impaired functional status, or systemic inflammation. In sensitivity analyses, the mortality association persisted after excluding deaths within 3 months of the index date but was attenuated and no longer statistically significant after excluding deaths within 6 months. This attenuation is consistent with a possible contribution from reverse causation, although changes in the selected population and reduced statistical precision may also have contributed.

These analyses therefore do not resolve the direction of causality, and the findings should not be interpreted as evidence that correcting vitamin D deficiency would reduce mortality.

Taken together, our findings suggest that severe vitamin D deficiency may represent a clinically relevant high-risk state rather than simply one point along a linear vitamin D–outcome gradient. However, the observational nature of this study precludes causal inference or confirmation of a dose–response relationship. Severe vitamin D deficiency may also reflect poorer nutritional status, greater disease burden, systemic inflammation, reduced physical activity, or other unmeasured factors associated with advanced illness. Accordingly, the observed associations should be interpreted primarily as prognostic rather than causal.

Findings consistent with those of the present study have been reported previously. A systematic review and meta-analysis showed that low circulating 25-hydroxyvitamin D [25(OH)D] levels were associated with poorer overall survival in patients with lung cancer [28]. Similarly, severe vitamin D deficiency, defined as a serum 25(OH)D level < 10 ng/mL, was identified as an independent prognostic factor for poor overall survival in patients with advanced NSCLC receiving first-line platinum-based chemotherapy [14]. More recently, patients with vitamin D levels ≥ 20 ng/mL were reported to have longer progression-free and overall survival [13].

In addition, a meta-analysis found that each 10-nmol/L increase in circulating 25(OH)D concentration was associated with an approximately 7% lower risk of lung cancer mortality [29]. Taken together, these findings suggest that lower baseline serum 25(OH)D concentrations are associated with poorer survival outcomes in patients with NSCLC. However, serum 25(OH)D concentrations may vary substantially during follow-up owing to vitamin D supplementation, cancer treatment, changes in nutritional status or renal function, seasonal variation, or disease progression. Thus, reliance on a single baseline measurement is a limitation of the present study because it does not capture changes in vitamin D status over time.

Several biological mechanisms may partly explain these associations. Beyond its classical role in musculoskeletal health, vitamin D has immunomodulatory and potential antitumor effects. Experimental studies have suggested that vitamin D may inhibit tumor cell proliferation, angiogenesis, invasion, and metastatic potential, including through regulation of vascular endothelial growth factor expression [30]. The biologically active form of vitamin D exerts its effects through the vitamin D receptor, which regulates genes involved in cellular proliferation, differentiation, apoptosis, and immune responses [21].

These mechanisms provide biological plausibility for the observed associations between severe vitamin D deficiency and adverse clinical outcomes in patients with NSCLC; however, they do not establish a causal relationship.

4.1. Limitations of the Study

There are several limitations to the present study. First, although the TriNetX database comprises data from healthcare organizations across more than 20 countries, the study population was predominantly derived from the United States, potentially limiting the generalizability of our findings to populations in other geographic regions. Second, patients included in the TriNetX electronic health record (EHR) database received care across 66 contributing healthcare organizations, most of which are large academic medical centers. Consequently, the generalizability of our findings to other healthcare settings and patient populations may be limited, and further validation using national or population-based data sources is warranted.

Third, information regarding TNM stage, histological subtype, molecular alterations (e.g., EGFR mutations and ALK rearrangements), and performance status was unavailable in the Trinetx Global Collaborative Network used in this study. In particular, the absence of staging data prevented us from determining the proportions of patients with early stage versus advanced-stage NSCLC. These unmeasured clinical characteristics may have contributed to residual confounding in the observed associations of serum 25(OH)D levels with mortality and healthcare utilization. Accordingly, our findings may differ from those of studies restricted to specific disease stages, and their applicability to stage-specific populations should be interpreted with caution.

Fourth, our study was limited by the lack of information on participants’ country of residence, the month or season of serum 25(OH)D measurement, and vitamin D supplement use in the TriNetX data analyzed. A previous study reported that residence in a sunny country and sunbed use were strongly and independently associated with higher serum 25(OH)D levels, whereas vitamin D supplement intake showed only a weak association with these levels [31]. Consequently, we could not account for potential differences in sunlight exposure, seasonal variation in serum 25(OH)D levels, or vitamin D supplementation.

These unmeasured factors may have contributed to residual confounding. Fifth, only 4794 of 625,491 potentially eligible adults with NSCLC (0.77%) had a serum vitamin D measurement. Because patients were not randomly selected for testing, those who underwent testing may have differed systematically from those who did not. This potential selection bias may limit the generalizability of our findings to the broader population of patients with NSCLC. Sixth, pre-existing metastases and malnutrition documented during the look-back period or at the index date are important potential confounders of the association between vitamin D status and mortality.

However, limitations of the TriNetX platform made it difficult to fully account for these conditions in our analyses. Seventh, competing-risk analyses were not available through the TriNetX platform used in this study. Kaplan–Meier curves were generated to compare overall survival between patients with severe vitamin D deficiency (Group A) and those with normal vitamin D status (Group D) after propensity score matching (Figure 4), and Cox proportional hazards models were used to estimate hazard ratios. For nonfatal outcomes, estimates calculated as 1 minus the Kaplan–Meier survival probability do not account for death as a competing event and may therefore overestimate cumulative incidence.

Eighth, although propensity score matching was performed to reduce the influence of potential confounding, several clinically relevant factors were not included in the matching model, including parathyroid disorders, advanced kidney disease such as stage 4–5 chronic kidney disease or end-stage renal disease, and chronic liver disease [32,33]. Therefore, residual confounding cannot be completely excluded. Ninth, the TriNetX outputs available for this analysis did not allow us to reliably quantify loss to follow-up over the 5-year follow-up period.

Such quantification requires distinguishing loss to follow-up from administrative censoring and death events, which cannot be achieved using survival probabilities or Cox regression estimates alone. Therefore, we could not fully assess the extent of loss to follow-up or its potential impact on our findings. Finally, the retrospective design precluded determining whether low baseline serum 25(OH)D levels represented a pre-existing risk factor or a consequence of cancer-related deterioration, cachexia, or terminal decline. Although statistically significant associations were observed, these findings do not establish causality.

Well-designed prospective studies are needed to clarify the temporal relationship, and randomized controlled trials are required to determine whether correcting vitamin D deficiency improves clinical outcomes.

4.2. Recommendations for Future Research

Future prospective, multicenter studies involving diverse populations should incorporate standardized and repeated 25(OH)D measurements, comprehensive clinical data, and systematic follow-up to improve generalizability and address selection bias, residual confounding, and reverse causation. Competing-risk analyses should account for death when evaluating nonfatal outcomes. Randomized controlled trials are needed to determine whether correcting vitamin D deficiency improves clinical outcomes in patients with NSCLC.

5. Conclusions

In this real-world analysis of 4794 adults with NSCLC, severe vitamin D deficiency at baseline was consistently associated with a higher risk of all-cause mortality than each of the other baseline vitamin D categories over the 5-year follow-up period. Associations with first hospitalization, first ED visit, and first ICU admission were less consistent and were most apparent when patients with severe vitamin D deficiency were compared with those with study-defined normal vitamin D status, particularly for first ED visit. Low serum 25(OH)D levels may primarily reflect overall clinical vulnerability, and their independent prognostic value remains uncertain.

Prospective studies are warranted to determine whether correcting vitamin D deficiency through supplementation can reduce these risks, particularly that of a first ED visit, and improve clinical outcomes in patients with NSCLC.

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/medicina62112144/s1, Table S1: Table S1a. Baseline characteristics of patients with NSCLC in the severe vitamin D deficiency (Group A) and Group B before and after propensity score matching; Table S1b. Baseline characteristics of patients with NSCLC in the severe vitamin D deficiency (Group A) and Group C before and after propensity score matching; Table S1d. Baseline characteristics of patients with NSCLC in the Group B and Group C before and after propensity score matching; Table S1e.

Baseline characteristics of patients with NSCLC in the Group B and normal vitamin D status (Group D) groups before and after propensity score matching; Table S1f. Baseline characteristics of patients with NSCLC in the Group C and normal vitamin D status (Group D) groups before and after propensity score matching. Table S2: Table S2a. Differences in clinical outcomes between the severe vitamin D deficiency (Group A) and Group B across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 682 matched pairs); Table S2b.

Differences in clinical outcomes between the severe vitamin D deficiency (Group A) and Group C across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 608 matched pairs); Table S2d. Differences in clinical outcomes between the Group B and Group C across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 908 matched pairs); Table S2e. Differences in clinical outcomes between the Group B and normal vitamin D status (Group D) groups across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 764 matched pairs); Table S2f.

Differences in clinical outcomes between the Group C and normal vitamin D status (Group D) groups across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 1061 matched pairs). Table S3: Table S3c. Subgroup analyses of clinical outcomes, including all-cause mortality, first ED visit, first hospitalization, and first ICU admission, within 3 years after the index date in group A versus group D after propensity score matching; Table S3d. Subgroup analyses of adverse clinical outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, within 3 years after the index date in group A versus group D after propensity score matching; Table S3e.

Subgroup analyses of clinical outcomes, including all-cause mortality, first ED visit, first hospitalization, and first ICU admission, within 5 years after the index date in group A versus group D after propensity score matching; Table S3f. Subgroup analyses of adverse clinical outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, within 5 years after the index date in group A versus group D after propensity score matching. Table S4: Table S4A. Differences in clinical outcomes between patients with severe vitamin D deficiency (Group A) and those with normal vitamin D status (Group D) across follow-up time points after propensity score matching, excluding patients who died within 3 months of the index date (primary comparison; 1:1 matching; 397 matched pairs); Table S4B.

Differences in clinical outcomes between patients with severe vitamin D deficiency (Group A) and those with normal vitamin D status (Group D) across follow-up time points after propensity score matching, excluding patients who died within 6 months of the index date (primary comparison; 1:1 matching; 351 matched pairs).

Supplement file at the original source — open the original paper. This file is not included in this text import.

Author Contributions

Conceptualization, J.-K.C. and Y.-H.K.; methodology, J.-K.C.; software, J.-K.C.; validation, J.-K.C., H.-H.K. and Y.-H.K.; formal analysis, J.-K.C.; investigation, P.-H.C.; resources, Y.-H.K.; data curation, H.-H.K.; writing—original draft preparation, P.-H.C.; writing—review and editing, H.-H.K.; visualization, P.-H.C.; supervision, Y.-H.K.; project administration, J.-K.C. All authors have read and agreed to the published version of the manuscript.

Institutional Review Board Statement

This study was conducted in accordance with the Declaration of Helsinki and approved by the Institutional Review Board of the Research Ethics Committee of Buddhist Dalin Tzu Chi Hospital, Taiwan (No. B11402057, approved on 11 July 2025).

Informed Consent Statement

Because the TriNetX database contains only anonymized data, written informed consent was not required.

Data Availability Statement

The datasets generated during and/or analyzed during the current study are not publicly available but are available from the corresponding author on reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript: CKDchronic kidney diseaseGroup Asevere vitamin D deficiencyGroup Dnormal vitamin D statusICU intensive care unitNSCLCnon–small cell lung cancerT2DType 2 Diabetes

References

1. Bray F. Laversanne M. Sung H. Ferlay J. Siegel R.L. Soerjomataram I. Jemal A. Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries CA Cancer J. Clin. 2024 74 229 263 10.3322/caac.21834 38572751
2. Molina J.R. Yang P. Cassivi S.D. Schild S.E. Adjei A.A. Non-small cell lung cancer: Epidemiology, risk factors, treatment, and survivorship Mayo Clin. Proc. 2008 83 584 594 10.4065/83.5.584 18452692 PMC2718421
3. Herbst R.S. Heymach J.V. Lippman S.M. Lung cancer N. Engl. J. Med. 2008 359 1367 1380 10.1056/NEJMra0802714 18815398 PMC10662965
4. Jovanoski N. Kaur G. Shukla H. Chana N. Kharawala S. Economic burden of advanced non-small cell lung cancer (NSCLC): A systematic literature review J. Med. Econ. 2026 29 433 454 10.1080/13696998.2026.2623789 41723781
5. Kulie T. Groff A. Redmer J. Hounshell J. Schrager S. Vitamin D: An evidence-based review J. Am. Board Fam. Med. 2009 22 698 706 10.3122/jabfm.2009.06.090037 19897699
6. Cui A. Zhang T. Xiao P. Fan Z. Wang H. Zhuang Y. Global and regional prevalence of vitamin D deficiency in population-based studies from 2000 to 2022: A pooled analysis of 7.9 million participants Front. Nutr. 2023 10 1070808 10.3389/fnut.2023.1070808 37006940 PMC10064807
7. Holick M.F. High prevalence of vitamin D inadequacy and implications for health Mayo Clin. Proc. 2006 81 353 373 10.4065/81.3.353 16529140
8. Aranow C. Vitamin D and the immune system J. Investig. Med. 2011 59 881 886 10.2310/JIM.0b013e31821b8755 21527855 PMC3166406
9. Crowe F.L. Jolly K. MacArthur C. Manaseki-Holland S. Gittoes N. Hewison M. Scragg R. Nirantharakumar K. Trends in the incidence of testing for vitamin D deficiency in primary care in the UK: A retrospective analysis of The Health Improvement Network (THIN), 2005-2015 BMJ Open 2019 9 e028355 10.1136/bmjopen-2018-028355 31167871 PMC6561453
10. Keum N. Lee D.H. Greenwood D.C. Manson J.E. Giovannucci E. Vitamin D supplementation and total cancer incidence and mortality: A meta-analysis of randomized controlled trials Ann. Oncol. 2019 30 733 743 10.1093/annonc/mdz059 30796437 PMC6821324
11. Keum N. Giovannucci E. Vitamin D supplements and cancer incidence and mortality: A meta-analysis Br. J. Cancer 2014 111 976 980 10.1038/bjc.2014.294 24918818 PMC4150260
12. Bjelakovic G. Gluud L.L. Nikolova D. Whitfield K. Krstic G. Wetterslev J. Gluud C. Vitamin D supplementation for prevention of cancer in adults Cochrane Database Syst. Rev. 2014 2014 CD007469 10.1002/14651858.CD007469.pub2 24953955 PMC11285304
13. Agdas G. Bayir D. Sahin E. Cengiz M. Guven D.C. Demir M.S. Bayram E. Ozaskin D. Baykara M. Bozkurt O. Baseline vitamin D status and clinical outcomes in advanced non-small cell lung cancer patients treated with nivolumab Sci. Rep. 2026 16 17289 10.1038/s41598-026-48955-9 41981174 PMC13234407
14. Ma K. Xu W. Wang C. Li B. Su K. Li W. Vitamin D deficiency is associated with a poor prognosis in advanced non-small cell lung cancer patients treated with platinum-based first-line chemotherapy Cancer Biomark. 2017 18 297 303 10.3233/CBM-161687 27983538 PMC13020601
15. Li M. Chen P. Li J. Chu R. Xie D. Wang H. Review: The impacts of circulating 25-hydroxyvitamin D levels on cancer patient outcomes: A systematic review and meta-analysis J. Clin. Endocrinol. Metab. 2014 99 2327 2336 10.1210/jc.2013-4320 24780061
16. Buchtele N. Lobmeyr E. Cserna J. Zauner C. Heinz G. Sengolge G. Sperr W.R. Staudinger T. Schellongowski P. Wohlfarth P. Prevalence and Impact of Vitamin D Deficiency in Critically Ill Cancer Patients Admitted to the Intensive Care Unit Nutrients 2020 13 22 10.3390/nu13010022 33374662 PMC7822404
17. Chae B. Kim Y.J. Kim S.M. Hong S.I. Shin Y.S. Kim J.S. Ryoo S.M. Kim W.Y. Vitamin D deficiency on admission to the emergency department is a mortality predictor for patients with septic shock treated with early protocol-driven resuscitation bundle therapy Am. J. Med. Sci. 2023 365 361 367 10.1016/j.amjms.2022.10.005 36265656
18. Venkatram S. Chilimuri S. Adrish M. Salako A. Patel M. Diaz-Fuentes G. Vitamin D deficiency is associated with mortality in the medical intensive care unit Crit. Care 2011 15 R292 10.1186/cc10585 22152332 PMC3388639
19. Chuang M.H. Hsu W. Tsai Y.W. Hsu W.H. Wu J.Y. Liu T.H. Huang P.Y. Lai C.C. New-onset obstructive airway disease following COVID-19: A multicenter retrospective cohort study BMC Med. 2024 22 360 10.1186/s12916-024-03589-4 39227934 PMC11373398
20. Palchuk M.B. London J.W. Perez-Rey D. Drebert Z.J. Winer-Jones J.P. Thompson C.N. Esposito J. Claerhout B. A global federated real-world data and analytics platform for research JAMIA Open 2023 6 ooad035 10.1093/jamiaopen/ooad035 37193038 PMC10182857
21. Holick M.F. Vitamin D deficiency N. Engl. J. Med. 2007 357 266 281 10.1056/NEJMra070553 17634462
22. Lips P. Vitamin D deficiency and secondary hyperparathyroidism in the elderly: Consequences for bone loss and fractures and therapeutic implications Endocr. Rev. 2001 22 477 501 10.1210/edrv.22.4.0437 11493580
23. Trepo E. Ouziel R. Pradat P. Momozawa Y. Quertinmont E. Gervy C. Gustot T. Degre D. Vercruysse V. Deltenre P. Marked 25-hydroxyvitamin D deficiency is associated with poor prognosis in patients with alcoholic liver disease J. Hepatol. 2013 59 344 350 10.1016/j.jhep.2013.03.024 23557869
24. Vogiatzi M.G. Jacobson-Dickman E. DeBoer M.D. the Drugs, and Therapeutics Committee of The Pediatric Endocrine Society Vitamin D supplementation and risk of toxicity in pediatrics: A review of current literature J. Clin. Endocrinol. Metab. 2014 99 1132 1141 10.1210/jc.2013-3655 24456284
25. Dawson-Hughes B. Mithal A. Bonjour J.P. Boonen S. Burckhardt P. Fuleihan G.E. Josse R.G. Lips P. Morales-Torres J. Yoshimura N. IOF position statement: Vitamin D recommendations for older adults Osteoporos. Int. 2010 21 1151 1154 10.1007/s00198-010-1285-3 20422154
26. Jones G. Pharmacokinetics of vitamin D toxicity Am. J. Clin. Nutr. 2008 88 582S 586S 10.1093/ajcn/88.2.582S 18689406
27. Chen T. Zhou F. Jiang W. Mao R. Zheng H. Qin L. Chen C. Age at diagnosis is a heterogeneous factor for non-small cell lung cancer patients J. Thorac. Dis. 2019 11 2251 2266 10.21037/jtd.2019.06.24 31372262 PMC6626822
28. Huang J.D. Dong C.H. Shao S.W. Gu T.J. Hu Z.L. Ying J. Zhou D.F. Xie Y.P. Circulating 25-hydroxyvitamin D level and prognosis of lung cancer patients: A systematic review and meta-analysis Bull. Cancer 2017 104 675 682 10.1016/j.bulcan.2017.05.001 28587766
29. Feng Q. Zhang H. Dong Z. Zhou Y. Ma J. Circulating 25-hydroxyvitamin D and lung cancer risk and survival: A dose-response meta-analysis of prospective cohort studies Medicine 2017 96 e8613 10.1097/MD.0000000000008613 29137092 PMC5690785
30. Nakagawa K. Sasaki Y. Kato S. Kubodera N. Okano T. 22-Oxa-1alpha,25-dihydroxyvitamin D3 inhibits metastasis and angiogenesis in lung cancer Carcinogenesis 2005 26 1044 1054 10.1093/carcin/bgi049 15718253
31. Klingberg E. Olerod G. Konar J. Petzold M. Hammarsten O. Seasonal variations in serum 25-hydroxy vitamin D levels in a Swedish cohort Endocrine 2015 49 800 808 10.1007/s12020-015-0548-3 25681052 PMC4512566
32. Nair S. Vitamin d deficiency and liver disease Gastroenterol. Hepatol. 2010 6 491 493
33. Williams S. Malatesta K. Norris K. Vitamin D and chronic kidney disease Ethn. Dis. 2009 19 S5-8-11 20077598 PMC2878736
Figure 1

Flowchart of the patient selection process. Group A (≤10 ng/mL; severe vitamin D deficiency), Group B (>10 to 20 ng/mL), Group C (>20 to 30 ng/mL), and Group D (>30 to 100 ng/mL; normal vitamin D status).

Figure image at the original source — open the original paper. This file is not included in this text import.
Figure 2

Schematic timeline of the study design.

Figure image at the original source — open the original paper. This file is not included in this text import.
Figure 3

Love plot illustrating covariate balance between groups A and D before and after propensity score matching, as assessed by standardized mean differences.

Figure image at the original source — open the original paper. This file is not included in this text import.
Figure 4

Kaplan–Meier curves for overall survival for patients with severe vitamin D deficiency (group A) and normal vitamin D (Group D) after propensity score matching.

Figure image at the original source — open the original paper. This file is not included in this text import.
Figure 5

Forest plot showing subgroup analyses of the risks of all-cause mortality, first hospitalization, first ED visit, first ICU admission, and malnutrition in group A compared with group D at 1, 3, and 5 years of follow-up.

Figure image at the original source — open the original paper. This file is not included in this text import.
Table 1

Baseline characteristics of patients with NSCLC in the severe vitamin D deficiency (Group A) and normal vitamin D status (Group D) groups before and after propensity score matching.

VariableBefore MatchingAfter Matching
A Group
(n = 738)
D Group
(n = 1615)
Std DiffA Group
(n = 457)
D Group
(n = 457)
Std Diff
Mean age at index, years, mean (SD)63.4 (12.3)66.3 (11.9)0.24163.5 (12.7)63.5 (12.7)0.028
Sex
  Female335 (45.5)828 (51.3)0.117219 (47.9)222 (48.6)0.013
  Male401 (54.5)785 (48.7)0.017238 (52.1)235 (51.4)0.013
Race/ethnicity
White100 (13.6)961 (59.6)1.087100 (21.9)92 (20.1)0.043
Black or African American95 (12.9)242 (15.0)0.06094 (20.6)94 (20.6)<0.001
Asian10 (1.4)106 (6.6)0.27010 (2.2)10 (2.2)<0.001
Unknown race531 (72.1)262 (16.2)1.362253 (55.4)259 (56.7)0.026
Substance use
Alcohol dependence19 (2.6)11 (0.7)0.15010 (2.2)10 (2.2)<0.001
Nicotine dependence192 (26.1)205 (12.7)0.343104 (22.8)91 (19.9)0.069
Comorbidities
Overweight and obesity73 (9.9)184 (11.4)0.04851 (11.2)46 (10.1)0.036
Hypertension263 (35.7)783 (48.5)0.262180 (39.4)172 (37.6)0.036
Type 2 diabetes165 (22.4)382 (23.7)0.030112 (24.5)105 (23.0)0.036
Hyperlipidemia176 (23.9)492 (30.5)0.148114 (24.9)106 (23.2)0.041
Chronic kidney disease67 (9.1)323 (20.0)0.31357 (12.5)64 (14.0)0.045
Stroke18 (2.4)42 (2.6)0.01015 (3.3)12 (2.6)0.039
Laboratory data
eGFR, ml/min/1.73 m265.2 (52.8)67.4 (33.6)0.04966.2 (49.8)64.6 (42.4)0.034
Albumin, g/dL3.8 (0.8)3.9 (0.7)0.0613.8 (0.8)4.0 (0.7)0.249
Previous treatments for NSCLC
 Chemotherapy133 (18.1)138 (8.6)0.28360 (13.1)65 (14.2)0.032
 Radiotherapy00 00
 Surgery153 (20.8)1030 (63.9)0.969150 (32.8)140 (30.6)0.047

Abbreviations: eGFR, estimated glomerular filtration rate; NSCLC, non-small cell lung cancer; Std diff, standardized difference; SD, standard deviation.

Table 2

Differences in clinical outcomes between the severe vitamin D deficiency (Group A) and normal vitamin D status (Group D) groups across follow-up time points after propensity score matching (primary comparison; 1:1 matching, 457 matched pairs).

Outcome1-Year Follow-Up3-Year Follow-Up5-Year Follow-Up
Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)Events,
A/D
HR (95% CI)p*E-Value (Lower 95% CI)
All-cause mortality147/1141.38 (1.08, 1.70)0.001
(0.948)
2.10 (1.37)219/1881.30 (1.07, 1.58)0.008
(0.358)
1.92 (1.34)237/2111.25 (1.04, 1.51)0.017
(0.201)
1.81 (1.24)
First ED visits258/2201.31
(1.09, 1.57)
0.031
(0.089)
1.95 (1.40)298/2801.25 (1.06, 1.58)0.007
(0.848)
1.81 (1.31)309/2931.25 (1.07, 1.47)0.006
(0.849)
1.81 (1.34)
First
Hospitalizations
291/2641.22 (1.03, 1.44)0.019
(0.624)
1.74 (1.21)325/3181.16 (1.00, 1.36)0.054
(0.393)
1.59 (1.00)331/3251.17 (1.00, 1.36)0.051
(0.461)
1.62 (1.00)
First
ICU admissions
46/381.26
(0.82, 1.94)
0.292
(0.666)
1.83 (1.00)53/451.25 (0.84, 1.86)0.273
(0.917)
1.81 (1.00)57/501.22 (0.83, 1.78)0.311
(0.621)
1.74 (1.00)
Malnutrition63/401.67
(1.12, 2.48)
0.010
(0.608)
2.73 (1.49)73/551.46 (1.03, 2.07)0.034
(0.191)
2.28 (1.21)75/611.36 (0.97, 1.90)0.076
(0.060)
2.06 (1.00)
Brain metastasis18/141.34
(0.66, 2.69)
0.915
(0.266)
2.01 (1.00)22/171.37 (0.73, 2.59)0.323
(0.513)
2.08 (1.00)24/191.36 (0.74, 2.48)0.316
(0.851)
2.06 (1.00)
Bone metastasis53/471.17 (0.79, 1.74)0.426
(0.629)
1.62 (1.00)62/591.11 (0.78, 1.59)0.566
(0.568)
1.46 (1.00)65/621.11 (0.78, 1.57)0.558
(0.720)
1.46 (1.00)
Intrapulmonary metastasis43/391.15
(0.74, 1.77)
0.531
(0.623)
1.57 (1.00)61/651.01 (0.71, 1.43)0.966
(0.849)
1.11 (1.00)65/701.00 (0.71, 1.40)0.990
(0.592)
1 (1.00)

Abbreviations: CI, confidence interval; ED, emergency department; HR, hazard ratio; ICU, intensive care unit. p*: log-rank test (proportional test).

Table 3

Subgroup analyses of clinical outcomes, including all-cause mortality, first ED visits, first hospitalizations, and ICU admissions, within 1 year after the index date in group A versus group D after propensity score matching.

SubgroupALL-Cause MortalityFirst ED VisitsFirst HospitalizationsFirst ICU Admissions
A/D (n)
HR (95% CI)
p* A/D (n)
HR (95% CI)
p A/D (n)
HR (95% CI)
p A/D (n)
HR (95% CI)
p
Age, ≥65 years
(322 pairs)
104/83
1.35 (1.01, 1.8)
0.041
(0.501)
184/166
1.22 (0.99, 1.50)
0.067
(0.088)
202/198
1.07 (0.88, 1.30)
0.493
(0.889)
27/32
0.87 (0.52, 1.46)
0.606
(0.518)
Age, <65 years
(160 pairs)
49/33
1.59 (1.03, 2.48)
0.037
(0.347)
92/80
1.25 (0.93, 1.69)
0.140
(0.236)
101/91
1.20 (0.90, 1.59)
0.205
(0.619)
NE
Hypertension
(281 pairs)
88/61
1.61 (1.16, 2.23)
0.004
(0.189)
162/140
1.35 (1.08, 1.70)
0.009
(0.215)
192/165
1.35 (1.10, 1.66)
0.004
(0.307)
31/33
1.00 (0.61, 1.63)
0.995
(0.566)
Dyslipidemia
(308 pairs)
104/90
1.21 (0.91, 1.61)
0.180
(0.859)
194/179
1.18 (0.97, 1.45)
0.105
(0.336)
199/182
1.20 (0.98, 1.46)
0.082
(0.715)
26/24
1.11 (0.64, 1.94)
0.704
(0.752)
Chronic kidney disease
(139 pairs)
44/36
1.24 (0.80, 1.92)
0.340
(0.480)
80/70
1.21 (0.88, 1.66)
0.248
(0.585)
98/95
1.02 (0.77, 1.36)
0.867
(0.224)
22/24
0.91 (0.51, 1.63)
0.761
(0.577)
Type 2 diabetes
(242 pairs)
97/80
1.26 (0.93, 1.69)
0.130
(0.605)
158/134
1.23 (0.98, 1.55)
0.074
(0.672)
175/173
1.02 (0.83, 1.26)
0.827
(0.432)
28/33
0.85 (0.51, 1.41)
0.527
(0.682)
Albumin, <3.5 g/dL
(304 pairs)
155/134
1.21 (0.95, 1.52)
0.111
(0.802)
193/175
1.23 (1.00, 1.50)
0.051
(0.894)
222/213
1.07 (0.89, 1.30)
0.453
(0.405)
42/38
1.13 (0.73, 1.75)
0.591
(0.938)

p*: log-rank test (Cox proportional test).

Table 4

Subgroup analyses of adverse clinical outcomes, including malnutrition, brain metastasis, bone metastasis, and intrapulmonary metastasis, within 1 year after the index date in group A versus group D after propensity score matching.

SubgroupMalnutritionBrain MetastasisBone MetastasisIntrapulmonary Metastasis
A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p A/D (n)
HR
(95% CI)
p
Age, ≥65 years
(322 pairs)
42/42
1.05 (0.69, 1.61)
0.820
(0.576)
12/11
1.15 (0.51, 2.61)
0.738
(0.610)
43/41
1.09 (0.71, 1.67)
0.707
(0.931)
30/29
1.07 (0.64, 1.79)
0.787
(0.376)
Age, <65 years
(160 pairs)
14/15
0.96 (0.47, 2.00)
0.92
(0.616)
NE 20/15
1.40 (0.72, 2.73)
0.325
(0.498)
23/11
2.23 (1.09, 4.57)
0.025
(0.984)
Hypertension
(281 pairs)
43/34
1.38 (0.88, 2.16)
0.163
(0.180)
NE 34/26
1.41 (0.84, 2.34)
0.188
(0.460)
31/27
1.25 (0.75, 2.09)
0.397
(0.163)
Dyslipidemia
(308 pairs)
32/31
1.07 (0.65, 1.76)
0.783
(0.598)
17/24
0.72 (0.39, 1.34)
0.300
0.747
23/21
1.13 (0.63, 2.05)
0.681
0.413
36/36
1.04 (0.66, 1.65)
0.868
(0.686)
CKD
(139 pairs)
26/26
1.00 (0.56, 1.72)
0.996
(0.626)
NE 14/12
1.18 (0.55, 2.55)
0.672
0.938
15/15
1.01 (0.49, 2.06)
0.984
(0.819)
Type 2 diabetes
(242 pairs)
28/32
0.88 (0.53, 1.46)
0.619
(0.358)
NE 21/15
1.42 (0.73, 2.75)
0.298
0.857
28/23
1.24 (0.72, 2.16)
0.441
(0.538)
Albumin, <3.5 g/dL
(304 pairs)
53/47
1.16 (0.78, 1.71)
0.470
(0.613)
19/18
1.06 (0.56, 2.03)
0.853
(0.181)
49/39
1.28 (0.84, 1.95)
0.251
0.451
47/46
1.03 (0.691.55)
0.885
(0.545)

Abbreviation: CKD: chronic kidney disease.

Publication and source details

Original title: Association Between Severe Vitamin D Deficiency and 5-Year Healthcare Utilization and Mortality in Patients with Non–Small Cell Lung Cancer: A Cohort Study

Jui-Kun Chiang; Hsueh-Hsin Kao; Po-Han Chiang; Yee-Hsin Kao

Medicina · 2026

* Correspondence: 1010280uijk@gmail.com (P.-H.C.); m2200767@gmail.com (Y.-H.K.)
†

These authors contributed equally to this work.

© 2026 by the authors.2026https://creativecommons.org/licenses/by/4.0/Published by MDPI on behalf of the Lithuanian University of Health Sciences. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.This research received no external funding.

Repository JATS snapshot; version as supplied

Source retrieved: 2026-11-26T21:40:50.126721+00:00

DOI: 10.3390/medicina62112144 · PMC13805400