Despite the natural desire in obstetrics for a happy outcome, sometimes the common aggressive interventions will not help maintain a pregnancy until viability.
To participate in a lethal injection is to occupy the medical role and use medical training for a purpose that is not part of the goals of medicine and that harms the recipient of treatment.