Cholescintigraphy or HIDA scan is used to diagnose abnormal contraction of the gallbladder or obstruction. The patient is injected with a radioactive material that is taken up in the gallbladder, which is then stimulated to contract.