# Example 1: Unfavorable Cervix
# Closed, 30% effaced, -3 station, Firm, Posterior
# Score = 0
bishop_score_induction(0, 30, -3, "firm", "posterior")
# Example 2: Favorable Cervix
# 4cm dilated (2), 60% effaced (2), -1 station (2), Soft (2), Anterior (2)
# Score = 10
bishop_score_induction(4, 60, -1, "soft", "anterior")
Run the code above in your browser using DataLab