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.
Physicians are obligated in many jurisdictions to perform life-sustaining treatments on premature infants with serious developmental or physical impairments, even if it goes against the parents' wishes.