A hepatobiliary scan captures images of the liver, gallbladder and bile ducts to help diagnose medical conditions.