Greg,
I know that Geo has already addressed this, but I just want to reiterate that the difference between direct and secondary consequences/effects is what determines whether or not the action is sinful.
Here are two examples:
(a) If a uterus is removed to prevent death, then the...