20 Pa.C.S. § 5432
(a) Criminal homicide.— A person shall be subject to prosecution for criminal homicide as provided in 18 Pa.C.S. Ch. 25 (relating to criminal homicide) if the person intends to cause the withholding or withdrawal of life-sustaining treatment contrary to the wishes of the principal or patient and, because of that action, directly causes life-sustaining treatment to be withheld or withdrawn and death to be hastened and:
(b) Interference with health care directive.— A person commits a felony of the third degree if that person willfully: