The sonogram for the gall bladder is to see if it is bad because they will take it out when they do your surgery. If it’s ok then they won’t, but it’s better to have one surgery than 2. And the endoscopy is pretty routine with pre-op testing so the doctor can see if you have hiatal hernias, reflux damage, etc.