# Example 1: Low Risk
# Slight suspicion (0), Normal ECG (0), 40yo (0), 1 Risk Factor (1), Normal Trop (0.5x)
# Score = 1
heart_score_mace(0, 0, 40, 1, 0, 0.5)
# Example 2: High Risk
# Highly suspicious (2), ST depression (2), 70yo (2), 3 Risk Factors (2), Trop 3x (2)
# Score = 10
heart_score_mace(2, 2, 70, 3, 0, 3.0)
Run the code above in your browser using DataLab