The hospital will give you a list of PD accepting patents if you don't have one. The resident PD will also do checkup for your baby.
However, if your baby doesn't have a PD and there's some concern with his health, the hospital may refuse to release your baby to go home.