One of the reasons that you have to strain your urine is so that the stone can be retrieved and taken to the lab for analysis. Once the composition of the stone is known avoiding certain things like diet drinks for example can reduce the likely hood of recurrence. When I was a very young Surgery Tech there was an ongoing unofficial study in our OR that found that drinkers of diet pop had a higher rate of stones, mind you it was anecdotal.
That is exactly how I got mine. I got laid off from an office job and picked up a more labor intensive job in the spring. I went all summer sweating bullets and drinking diet pepsi instead of water while at work. By September I was passing mine.
It's the only stone I've had so I'm not really prone to get them but that's the recipe for how I acquired mine. Towards the end I was also drinking a bit of tea in the evenings and I now avoid tea as well.