FMLA denied by doctor

My doctor won’t allow me to go off work at 35 weeks. Is there a certain time other than birth the doctor has to allow me leave? He said I don’t have a medical reason to be wrote off.