If the child is 14 years of age or older, the legal guardian may consent to surgery but the child must also consent unless the legal guardian determines in good faith, based on medical advice, that the case is an emergency in which the child faces loss of life or serious bodily injury if the surgery is not performed.