what if my I-94 expires and visa is denied , how can i stay in USA and apply for extension on medical grounds?

My husband is on H1 Visa, employer had filled for the extension ( in premium) don’t know the decision yet , his I-94 is expiring as on 4th oct.I am expecting and already in 33week of pregnancy, on what ground we can stay in USA so that i don’t have to travel in this situation and get the time till delivery and baby passport is issued.

Try to get a ‘unfit to travel’ certificate from local healthcare provider and use it to extend I-94 at local CBP office at airport.