You know what, upon further review, I'm not sure there is. I saw a poll that showed doctors generally agreed that it was wrong for
them to be involved in executions, but I can't find one that says how they feel about it overall.
But there's no question that the consensus in the medical field is that capital punishment is counter to medical ethics.
Code of Ethics Opinions pages. As a member of a profession dedicated to preserving life when there is hope of doing so, a physician must not participate in a legally authorized execution.
code-medical-ethics.ama-assn.org
"Shall do no harm"
It took you this long, reading and investigating your claim to consider the Hippocratic Oath. "Shall do no harm" as the public often recite.
"By all that I hold highest, I promise my patients competence, integrity, candor, personal commitment to their best interest, compassion, and absolute discretion, and confidentiality within the law.
I shall do by my patients as I would be done by; shall obtain consultation whenever I or they desire; shall include them to the extent they wish in all important decisions; and shall minimize suffering whenever a cure cannot be obtained, understanding that a dignified death is an important goal in everyone’s life.
I shall try to establish a friendly relationship with my patients and shall accept each one in a nonjudgmental manner, appreciating the validity and worth of different value systems and according to each person a full measure of human dignity.
I shall charge only for my professional services and shall not profit financially in any other way as a result of the advice and care I render my patients.
I shall provide advice and encouragement for my patients in their efforts to sustain their own health.
I shall work with my profession to improve the quality of medical care and to improve the public health, but I shall not let any lesser public or professional consideration interfere with my primary commitment to provide the best and most appropriate care available to each of my patients.
To the extent that I live by these precepts, I shall be a worthy physician".
*
https://students.med.psu.edu/md-students/oath/