Rarely, part or all of a damaged kidney is removed during surgery for ureterocele.