A hepatobiliary (HIDA) scan is an imaging procedure used to diagnose problems in the liver, gallbladder and bile ducts.