DNA testing

Can DNA testing be done in the hospital before the BIrth Certificate is signed?