# Example 1: Low Risk
# Reaction >5 years ago (0), No anaphylaxis (0), Treatment required (1)
# Score = 1
pen_fast_score(0, 0, 1)
# Example 2: High Risk
# Reaction <5 years ago (2), Anaphylaxis (2), Treatment (1)
# Score = 5
pen_fast_score(1, 1, 1)
Run the code above in your browser using DataLab