resect90_lung_mortality_score: RESECT-90 Score for Lung Resection Mortality

View source: R/neelpackage.R

resect90_lung_mortality_scoreR Documentation

RESECT-90 Score for Lung Resection Mortality

Description

Calculates the RESECT-90 score to estimate the 90-day risk of mortality in patients undergoing lung resection (e.g., lobectomy, pneumonectomy). The model is a multivariable logistic regression derived from a large UK cohort (Taylor et al., 2021). It incorporates patient demographics, comorbidities, and surgical factors.

Usage

resect90_lung_mortality_score(age, sex, ecog_ps, dlco_percent, bmi, creatinine,
                              anemia, arrhythmia, right_sided_resection,
                              thoracotomy_approach, malignant_diagnosis,
                              num_resected_segments, creatinine_units = "mg/dL")

Arguments

age

Numeric. Patient age in years.

sex

String. "Male" or "Female". (Male sex is associated with higher risk).

ecog_ps

Numeric. Eastern Cooperative Oncology Group (ECOG) performance status (0-4).

dlco_percent

Numeric. Percentage predicted diffusion capacity of the lung for carbon monoxide (DLCO).

bmi

Numeric. Body Mass Index in kg/m^2. (Higher BMI is associated with lower risk in this model).

creatinine

Numeric. Serum creatinine level.

anemia

Numeric (0 or 1). Presence of preoperative anemia. (1 = Yes).

arrhythmia

Numeric (0 or 1). History of preoperative arrhythmia (e.g., Atrial Fibrillation). (1 = Yes).

right_sided_resection

Numeric (0 or 1). Is the surgery a right-sided resection? (1 = Yes).

thoracotomy_approach

Numeric (0 or 1). Is the surgery performed via open thoracotomy (vs VATS/Robotic)? (1 = Yes).

malignant_diagnosis

Numeric (0 or 1). Is the resection for a malignant diagnosis? (1 = Yes).

num_resected_segments

Numeric. Number of bronchopulmonary segments resected (e.g., Lobectomy ~3-5, Pneumonectomy ~10).

creatinine_units

String. Units for creatinine. "mg/dL" (default) or "umol/L".

Value

A list containing:

RESECT90_Score_Percent

The estimated percentage probability of death within 90 days of surgery.

Interpretation

Brief context for the result.

References

Taylor M, et al. Development and internal validation of a clinical prediction model for 90-day mortality after lung resection: the RESECT-90 score. Interact Cardiovasc Thorac Surg. 2021.

Examples

resect90_lung_mortality_score(
  age = 70,
  sex = "male",
  ecog_ps = 1,
  dlco_percent = 60,
  bmi = 25,
  creatinine = 1.0,
  anemia = 0,
  arrhythmia = 0,
  right_sided_resection = 1,
  thoracotomy_approach = 1,
  malignant_diagnosis = 1,
  num_resected_segments = 3
)

cliot documentation built on Dec. 1, 2025, 1:06 a.m.