A blood test can also help diagnose gastrointestinal bleeding. This can tell your health care provider the extent of the bleeding. It also shows if you are anemic due to bleeding.