# Example 1: High Risk
# Hx Stroke (+1), AFib (+2), Weakness (+2), Duration >10m (+2), CT Acute (+2)
# Score = 9
canadian_tia_score(1, 1, 1, 0, 1, 0, 0, 0, 2, 0)
# Example 2: Low Risk
# Speech dist (+2), Duration 5 min (0), Normal CT (0), No other factors
# Score = 2
canadian_tia_score(0, 0, 0, 1, 0, 0, 0, 0, 0, 0)
Run the code above in your browser using DataLab