The procedure may also help your health care provider diagnose the cause of the blockage.