What are the requirements in law for a valid consent to, or refusal of, medical treatment?

Medicine, Ethics and The Law Assessment. What are the requirements in law for a valid consent to, or refusal of, medical treatment? Should it be possible for a doctor to override a competent patient’s refusal of life-sustaining medical treatment if the doctor considers it to be in the patients best interests?