Nephrostomy is a surgery to make an opening from the outside of the body to the renal pelvis. The renal pelvis is the part of the kidney that collects urine.