Blood work and urine samples may be needed. These can help your health care provider check for infection, blood in the urine and high levels of chemicals that may cause kidney stones.