A health care professional may take a blood sample from you and send the sample to a lab to test. The blood test can show signs of infection or inflammation of the bile ducts, gallbladder, pancreas, or liver.