A patient who has been assessed as lacking mental capacity requires a medical procedure.Under the Mental Capacity Act 2005, on what basis should the decision be made?