A HIDA scan is an imaging test. It can be used to check for problems in the liver, gallbladder, and bile ducts.