A person undergoing evaluation or treatment has a right to refuse any and all medical treatment unless ordered by the court, except that when, in the written opinion of the attending physician, a true medical emergency exists and medical care and treatment including surgical procedures are necessary to save the life, physical health, eyesight, hearing or member of the person, the medical director of the agency may give consent to such medical care and treatment if time will not permit the obtaining of appropriate judicial authority. The patient's guardian, if one exists, shall be notified by the medical director of the giving of emergency medical care immediately.
A.R.S. § 36-512