# Example 1: High Risk (Surgical Candidate)
# Migratory pain, Nausea, RLQ Tenderness (2), Rebound, Fever, Leukocytosis (2)
# Score = 1 + 1 + 2 + 1 + 1 + 2 = 8
alvarado_appendicitis(1, 0, 1, 1, 1, 1, 1, 0)
# Example 2: Low Risk
# Nausea only
# Score = 1
alvarado_appendicitis(0, 0, 1, 0, 0, 0, 0, 0)
Run the code above in your browser using DataLab