Hypertension is an indication for surgery in children with ureteropelvic junction obstruction.