The number of veterinarians who work with farm animals is on the decline as many retire and fewer students choose large-animal practice. Officials are worried about the impact on food safety, because large-animal veterinarians serve as inspectors at ranches and slaughterhouses.