Immediately postoperatively to assess anastomoses for leak or obstruction or when perforation is suspected