# Example 1: High Risk
# 76yo Male (+2 Age, +1 Sex), Cr 1.5 (+1), BNP 400 (+1), No PCI (+1), SBP 90 (+1)
# Score = 7
readmits_score_ami(76, "male", 1.5, 400, 0, 0, 1, 90)
# Example 2: Low Risk
# 50yo Female, Normal labs, PCI done, Optimal meds, SBP 120
# Score = 0
readmits_score_ami(50, "female", 0.8, 50, 0, 1, 1, 120)
Run the code above in your browser using DataLab