Son hasn't peed in first 24 hrs

At the hospital with my fresh baby boy he has pooped 4 times but no pee. After 24 hours they take him to test his penis to make sure everythings ok. any other ladies been through this?