Catch 22

Just found that there are calcium oxalates in my urine . Been drinking lots of water and also avoiding nuts spinach and high oxalates food . Got a a slight pain in my right lower abdomen .Plan to get an ultrasound of the abdomen done .Can stones be detected thus ?. Been type 2 for 28 years