Hello and welcome to JustAnswer. Please note: This is general information for educational purposes only and is not legal advice. No specific course of action is proposed herein, and no attorney-client relationship or privilege is formed by speaking to an expert on this site. By continuing, you confirm that you understand and agree to these terms.
It is not possible to have a guardianship order, custody order, or power of attorney for a child who has not yet been born.
However, the pregnant woman can give a power of attorney for her medical decisions to someone else, possibly the grandmother. This is possibly what happened. ONCE the child is born, the mother OR the father can give a power of attorney for the child to someone else (grandmother) as well.
If the mother and the father are going to disagree on medical treatment and/or custody of the child, then yes an attorney is recommended because this can end up in family court. There is no doubt about the fact that having an attorney will help him. While he does not need an attorney to fight for custody/medical decision-making, one is recommended.
I hope this helps and clarifies. Please use the SEND or REPLY button to keep chatting, or please RATE when finished. You may always ask follow ups at no charge after rating. Kindly rate my answer as one of TOP THREE FACES/STARS and then SUBMIT, as this is how experts get credit for our time. Rating my answer the bottom two faces/stars (or failing to submit the rating) does not give me credit and reflects poorly on me, even if my answer is correct. I work very hard to formulate an informative and honest answer for you; please reciprocate my good faith with a positive rating.