Learn R Programming

cliot (version 1.0.0)

curb65_pneumonia_severity: CURB-65 Score for Pneumonia Severity

Description

Calculates the CURB-65 score to estimate mortality risk in patients with community-acquired pneumonia. The score assesses Confusion, Urea (BUN), Respiratory rate, Blood pressure, and age >= 65.

Usage

curb65_pneumonia_severity(confusion, bun, respiratory_rate, systolic_bp,
                          diastolic_bp, age, bun_units = "mg/dL")

Value

A list containing:

CURB65_Score

The calculated score (Range 0-5).

Risk_Group

Risk classification (Low, Moderate, High).

Est_30_Day_Mortality

Estimated 30-day mortality percentage.

Recommendation

Clinical guidance regarding disposition (Home vs. Hospital vs. ICU).

Arguments

confusion

Numeric (0 or 1). Presence of confusion (1 = Yes).

bun

Numeric. Blood Urea Nitrogen level. (> 19 mg/dL or > 7 mmol/L adds 1 point).

respiratory_rate

Numeric. Respiratory rate in breaths per minute. (>= 30 adds 1 point).

systolic_bp

Numeric. Systolic blood pressure. (< 90 mmHg contributes to BP criterion).

diastolic_bp

Numeric. Diastolic blood pressure. (<= 60 mmHg contributes to BP criterion). Note: The BP point is added if SBP < 90 OR DBP <= 60.

age

Numeric. Patient age in years. (>= 65 adds 1 point).

bun_units

String. Units for BUN. "mg/dL" (default) or "mmol/L".

References

Lim WS, van der Eerden MM, Laing R, et al. Defining community acquired pneumonia severity on presentation to hospital: an international derivation and validation study. Thorax. 2003;58(5):377-382. doi:10.1136/thorax.58.5.377

Examples

Run this code

# Example 1: High Risk
# 70yo (+1), Confused (+1), BUN 25 (+1), SBP 85 (+1), RR 20
# Score = 4
curb65_pneumonia_severity(1, 25, 20, 85, 60, 70)

# Example 2: Low Risk
# 50yo, Alert, BUN 10, RR 18, BP 120/80
# Score = 0
curb65_pneumonia_severity(0, 10, 18, 120, 80, 50)

Run the code above in your browser using DataLab