Does your uterus shed before your period starts which causes small traces of blood in urine on a UA test?

Yes. Menstrual blood can contaminate your urine sample just before your period. If you have blood in your urine, you should repeat the test midcycle to make sure the blood is gone. Best wishes!