Diagnosing illness in livestock is by no means a ‘perfect science‘; as many illnesses have similar or even overlapping symptoms.
You can only be completely certain of a viral or bacterial problem if you have taken an animal that recently died to a vet for a necropsy; the earlier you take such a dead animal for a post-mortum, the better.
Generally, a necropsy is pretty good at helping to decipher