Risk for acute kidney injury (AKI) after any major abdominal surgery depends upon underlying kidney function prior to the surgery, risk being greater if one already has underlying chronic kidney disease. One having a solitary kidney or 2 kidneys does not alter the risk. Irrespective of underlying kidney function, surgeons would always be cautious of risk factors towards increased risk for AKI including avoidance of potential kidney toxic medications including some antibiotics while proceeding with the surgery. Most pain medications are safe as long as you have well preserved kidney function during post-operative period.