Nothing in this chapter shall be construed to prohibit a physician or health care provider from doing any of the following:
(1) Participating in the execution of a person sentenced by a court to death by any means recognized by Alabama law.
(2) Following a patient's wishes or health care proxy's instructions to withhold or withdraw life-sustaining treatment or artificially provided nutritional hydration.
(3) Prescribing and administering palliative care or pain medication treatment options intended to relieve pain while the illness or condition of the patient follows its natural course.
(4) Following the wishes or instructions of an individual which are made in compliance with Chapter 8A.