For those who decide to use a doggy door, please make sure it leads to a covered enclosure where birds of prey, coyotes, raccoons and other wildlife cannot harm your yorkie.
I don't have a dooy door but when I am home and the weather is nice I leave the door open to a small, completely enclosed covered loggia where the port-a-potty is kept. Mine never go outside in the yard without being on a leash and completely supervised.
Coyotes jump fences rather easily.
Mine are also pee pad trained which is wonderful for traveling.