set_score: SETscore for Stroke Risk Stratification

View source: R/neelpackage.R

set_scoreR Documentation

SETscore for Stroke Risk Stratification

Description

Calculates the SETscore, a simple clinical tool to help differentiate acute ischemic stroke from stroke mimics in the emergency department. The score is based on three components: Stroke-associated history (S), ECG T-wave inversion (E), and Troponin elevation (T).

Usage

set_score(stroke_associated_history_present, ecg_t_wave_inversion,
          troponin_elevated)

Arguments

stroke_associated_history_present

Numeric (0 or 1). Does the patient have a history strongly associated with stroke? Defined as: History of stroke/TIA OR History of Atrial Fibrillation. (1 = Yes).

ecg_t_wave_inversion

Numeric (0 or 1). Are there new T-wave inversions on ECG? (1 = Yes).

troponin_elevated

Numeric (0 or 1). Is the serum troponin level elevated (above the 99th percentile upper reference limit)? (1 = Yes).

Value

A list containing:

SET_Score

The calculated score (Range 0-4).

Recommendation

Clinical guidance based on the score threshold (Score >= 2 suggests stroke).

References

Wong CS, et al. A new score to differentiate stroke from stroke mimics: The SETscore. J Stroke Cerebrovasc Dis. 2021.

Examples


# Example 1: Stroke Likely
# History of AFib (1 -> +2), T-wave inversion (1 -> +1), Normal Trop (0)
# Score = 3
set_score(1, 1, 0)

# Example 2: Unlikely Stroke
# No history, Normal ECG, Normal Trop
# Score = 0
set_score(0, 0, 0)

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

Related to set_score in cliot...