Ouch! That's what I call a wreck on our place.
If you are operating a for-profit farm business, the veterinary cost is expensed under Common farming expenses,----Veterinary, Breeding, Medicine.
The calf is just a loss, one less calf to sell. Same with the cow if you raised her from birth. No write off.
If you purchased the cow, she should already be in your Asset Summary. You would Edit this asset to report the sale of the cow for $0.
If you itemize on schedule A and operate as a Hobby Farm, you can enter your income and expenses in the Hobby Income and Expense section. This way you would not have to upgrade to Self Employed version. See page snip below;