Learn R Programming

cliot (version 1.0.0)

saps_3_score: Simplified Acute Physiology Score III (SAPS 3)

Description

Calculates the SAPS 3 score and predicted hospital mortality for ICU patients. The score uses data available within 1 hour of ICU admission to assess severity of illness based on 20 variables covering patient characteristics, reasons for admission, and physiological derangement.

Usage

saps_3_score(age, admission_type, admission_source, length_of_stay_days,
             anatomical_system, infection_type, gcs_score, bilirubin_mg_dl,
             temperature_c, creatinine_mg_dl, heart_rate, wbc_count, ph_level,
             platelet_count, systolic_bp, mechanical_ventilation, pao2_fio2_ratio,
             vasoactive_drugs, comorbidities)

Value

A list containing:

SAPS_3_Score

The calculated SAPS 3 score.

Predicted_Hospital_Mortality

The estimated probability of hospital mortality percentage.

Arguments

age

Numeric. Patient age in years.

admission_type

String. "medical", "scheduled_surgical", or "unscheduled_surgical".

admission_source

String. "ward", "emergency_room", "other_icu", "other_hospital", or "operating_room".

length_of_stay_days

Numeric. Days in hospital prior to ICU admission.

anatomical_system

String. Primary system involved (e.g., "cardiovascular", "digestive", "neurologic", "respiratory", "renal", "hematologic", "metabolic", "trauma", "orthopedic", "gynecology", "other").

infection_type

String. "none", "respiratory", or "nosocomial".

gcs_score

Numeric. Lowest Glasgow Coma Scale score.

bilirubin_mg_dl

Numeric. Highest Total Bilirubin (mg/dL).

temperature_c

Numeric. Highest Body Temperature (Celsius).

creatinine_mg_dl

Numeric. Highest Serum Creatinine (mg/dL).

heart_rate

Numeric. Highest Heart Rate (bpm).

wbc_count

Numeric. Highest Leukocytes (x10^3/mm^3).

ph_level

Numeric. Lowest arterial pH.

platelet_count

Numeric. Lowest Platelet count (x10^3/mm^3).

systolic_bp

Numeric. Lowest Systolic Blood Pressure (mmHg).

mechanical_ventilation

Numeric (0 or 1). Is the patient mechanically ventilated?

pao2_fio2_ratio

Numeric. Ratio of PaO2 to FiO2 (if ventilated).

vasoactive_drugs

Numeric (0 or 1). Is the patient receiving vasoactive drugs?

comorbidities

Vector of strings. List of comorbidities: "cancer_therapy", "hematologic_cancer", "cirrhosis", "aids", "heart_failure_nyha4", "metastatic_cancer", "immunosuppression".

References

Moreno RP, Metnitz PG, Almeida E, et al. SAPS 3--From evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at ICU admission. Intensive Care Med. 2005;31(10):1345-1355.

Examples

Run this code
saps_3_score(
  age = 65,
  admission_type = "medical",
  admission_source = "emergency_room",
  length_of_stay_days = 1,
  anatomical_system = "respiratory",
  infection_type = "respiratory",
  gcs_score = 14,
  bilirubin_mg_dl = 0.8,
  temperature_c = 38.5,
  creatinine_mg_dl = 1.0,
  heart_rate = 110,
  wbc_count = 15,
  ph_level = 7.35,
  platelet_count = 250,
  systolic_bp = 100,
  mechanical_ventilation = 0,
  pao2_fio2_ratio = 300,
  vasoactive_drugs = 0,
  comorbidities = NULL
)

Run the code above in your browser using DataLab