# Example 1: High Risk Child
# 10yo (+1), Exudate (+1), Nodes (+1), No Fever (0), No Cough (+1)
# Score = 4
centor_score_modified(10, 1, 1, 0, 1)
# Example 2: Low Risk Adult
# 50yo (-1), No Exudate, No Nodes, Fever (+1), Cough present (0)
# Score = 0
centor_score_modified(50, 0, 0, 1, 0)
Run the code above in your browser using DataLab