The court ruled that the lower court made a mistake in ruling that the woman, Kate Cox, who is more than 20 weeks pregnant, was entitled to a medical exception.

Ms. Cox asked the lower court for approval after she learned that her fetus had a fatal condition, and after several trips to the emergency room.