How does an GP assess capacity of a patient?

I suggest you have a look at this resource about the Mental Capacity Act.