You can't and shouldn't blame yourself Bob. You have clearly done the best for her by listening to the Doctors advice to let her go.
It's going to be tough for a long time but you need to focus on all the good times and stay focused on them. Keep maintaining your property, your animals and your friends as she has done in the past. They need you as much as you need them
Very sorry for your loss mate
Ian