# Example 1: Low Risk
# 45yo, No abx, WBC 10k, Alb 4.0, Cr 0.9
atlas_cdi_score(45, 0, 10000, 4.0, 0.9)
# Example 2: High Risk
# 85yo (+2), On Abx (+2), WBC 26k (+2), Alb 2.0 (+2), Cr 2.5 (+2)
# Score = 10
atlas_cdi_score(85, 1, 26000, 2.0, 2.5)
Run the code above in your browser using DataLab