# Example 1: Good Candidate
# 50yo (+6), No Renal, Day Arrest (+2), VF (+2), Cardiac Cause (+4)
# Score = 14
rescue_ihca_score(50, 0, 1, 1, 1)
# Example 2: Poor Candidate
# 78yo (0), Renal Hx (-2), Night Arrest (0), PEA (0), Non-Cardiac (0)
# Score = -2
rescue_ihca_score(78, 1, 0, 0, 0)
Run the code above in your browser using DataLab