the problem with that is, all they have to do to determine if it is detrimental to the womans health is say "she just can't mentally handle having a baby right now".
Then you put it into the law an exception for the "physical health" of the mother. And in any event, such legal minutae is for judges and juries to decide whether "depression" or "stress" is a legitimate defense.