Risk factors for cholangiocarcinoma include primary sclerosing cholangitis (an inflammatory disease of the bile ducts), ulcerative colitis, cirrhosis, hepatitis C, hepatitis B, infection with certain liver flukes, and some congenital liver malformations. However, most people have no identifiable risk factors. The diagnosis is suspected based on a combination of blood tests, medical imaging, endoscopy, and sometimes surgical exploration. The disease is confirmed by examination of cells from the tumor under a microscope. It is typically an adenocarcinoma (a cancer that forms glands or secretes mucin).