Tests and procedures used to diagnose gallstones and complications of gallstones include: Abdominal ultrasound. This test is the one most commonly used to look for signs of gallstones.
https://www.mayoclinic.org/diseases-conditions/gallstones/diagnosis-treatment/drc-20354220