Gallbladder issues

Ti
So I went to the doctor today and she said I may be having issues with my gallbladder. I go in for a specific ultrasound on my gallbladder now in two weeks. She said i may have to have surgery to remove it...I'm 19 weeks pregnant now :/ anyone ever been through a surgery while pregnant??