Prior to surgery a doctor will, when possible, seek informed consent from the patient. Informed consent means understanding the costs, benefits and possible adverse outcomes of surgery.
There are many tests done prior to surgery. Not all of them relate to the brain as the doctor will ensure your other organs are capable of surviving surgery.
Patients can be anxious the night prior to surgery and have trouble sleeping. Medication can be prescribed to ensure a good night’s sleep.