Biliary bypass surgery
If the surgeon cannot completely remove bile duct cancer, he or she may do a bypass to lessen symptoms caused by the cancer. For example, if the cancer is blocking the bile ducts and bile builds up behind the blockage, surgery can help relieve the obstruction.
Bile is a fluid that helps with digestion that is made and released by the liver, and stores in the gallbladder.
During this operation, the doctor will connect the bile duct to a piece of the small intestine. This will create a new pathway around the blockage to allow the bile to flow to the intestine for normal digestion of fats. This surgery does not cure the cancer, but it can relieve jaundice (a yellowish staining of the skin and whites of the eyes that is caused by high levels of bilirubin in the blood) and other symptoms. It may precede other types of treatment.