In most cases, based on the results of the CT scan, ultrasound, and x-rays, the doctor will have enough information to recommend surgery to remove part or all of the kidney. A pathologist will make the final diagnosis by examining the tissue under a microscope.