
Hospitals aren't issuing documents themselves, they send notification of the birth to the local authorities who issue the documents. The problem is when the state tells the locality not to do that without checking the parents immigration status and the hospital notification means nothing.