# Example 1: Contraindicated (Time window)
# 5 hours duration, otherwise normal
check_tpa_contraindications(5, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 250000, 1.0, 30, 12, 100)
# Example 2: Contraindicated (History of ICH)
# 2 hours, Hx ICH
check_tpa_contraindications(2, 70, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 200000, 1.0, 30, 12, 90)
# Example 3: Indicated
# 2 hours, No contraindications
check_tpa_contraindications(2, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 200000, 1.0, 30, 12, 100)
Run the code above in your browser using DataLab