# Example 1: High Risk
# 80yo (16pts), NIHSS 20, Time >3h (2), Visual Defect (2), Glucose 150 (1), Reduced LOC (2)
# Score = 16 + 20 + 2 + 2 + 1 + 2 = 43
astral_stroke_score(80, 20, 1, 1, 150, 1)
# Example 2: Moderate Risk
# 65yo (13pts), NIHSS 8, Time <3h (0), No Visual (0), Glucose 100 (0), Alert LOC (0)
# Score = 13 + 8 = 21
astral_stroke_score(65, 8, 0, 0, 100, 0)
Run the code above in your browser using DataLab