(a) A physician employed or retained by the department may perform an orchiectomy on an inmate only if: (1) the inmate has been convicted of an offense under Section 21.02 , 21.11 , 22.011(a)(2) , or 22.021(a)(2)(B), Penal Code , and has previously been convicted under one or more of those sections; (2) the inmate is 21 years of age or older; (3) the inmate requests the procedure in writing; (4) the inmate signs a statement admitting the inmate committed the offense described by Subsection (a)(1) for which the inmate has been convicted; (5) a psychiatrist and a psychologist who are appointed by the department and have experience in the treatment of sex offenders: (A) evaluate the inmate and determine that the inmate is a suitable candidate for the procedure; and (B) counsel the inmate before the inmate undergoes the procedure; (6) the physician obtains the inmate's informed, written consent to undergo the procedure; (7) the inmate has not previously requested that the department perform the procedure and subsequently withdrawn the request; and (8) the inmate consults with a monitor as provided by Subsection (f).

(b) The inmate may change his decision to undergo an orchiectomy at any time before the physician performs the procedure. An inmate who withdraws his request to undergo an orchiectomy is ineligible to have the procedure performed by the department.

(c) Either the psychiatrist or psychologist appointed by the department under this section must be a member of the staff of a medical facility under contract with the department or the institutional division to treat inmates in the division.

(d) A physician who performs an orchiectomy on an inmate under this section is not liable for an act or omission relating to the procedure unless the act or omission constitutes negligence.

(e) The name of an inmate who requests an orchiectomy under this section is confidential, and the department may use the inmate's name only for purposes of notifying and providing information to the inmate's spouse if the inmate is married.

(f) The executive director of the Texas State Board of Medical Examiners shall appoint, in consultation with two or more executive directors of college or university institutes or centers for the study of medical ethics or medical humanities, a monitor to assist an inmate in his decision to have an orchiectomy. The monitor must have experience in the mental health field, in law, and in ethics. The monitor shall consult with the inmate to: (1) ensure adequate information regarding the orchiectomy has been provided to the inmate by medical professionals providing treatment or advice to the inmate; (2) provide information regarding the orchiectomy to the inmate if the monitor believes the inmate is not adequately informed about the orchiectomy; (3) determine whether the inmate is free from coercion in his decision regarding the orchiectomy; and (4) advise the inmate to withdraw his request for an orchiectomy if the monitor determines the inmate is being coerced to have an orchiectomy.