A consent given under this Part has the same effect as if it were given by the patient and the patient had the capacity to consent or, in the case of a child under the age of 14 years or a person under guardianship, by the person having capacity to consent on the child's or person's behalf.