# Example 1: Indicated (1 Major)
# Suspected Endocarditis
shapiro_rule_bacteremia(40, 0, 0, 38.0, 120, 10000, 1.0, 0, 200000, 1, 0)
# Example 2: Indicated (2 Minor)
# Age 70, Vomiting
shapiro_rule_bacteremia(70, 0, 1, 38.0, 120, 10000, 1.0, 0, 200000, 0, 0)
# Example 3: Not Indicated
# 40yo, Fever 38.5, no other signs
shapiro_rule_bacteremia(40, 0, 0, 38.5, 120, 10000, 1.0, 0, 200000, 0, 0)
Run the code above in your browser using DataLab