 A number of less common causes of cirrhosis include autoimmune hepatitis, primary biliary cholangitis, hemochromatosis, certain medications, and gallstones.Diagnosis is based on blood testing, medical imaging, and liver biopsy.Some causes of cirrhosis, such as hepatitis B, can be prevented by vaccination.