My neighbours had this problem some years ago and had arrangements in hand to have the baby made a Ward of Court to protect her but their daughter was coming from abroad and I don't know if this step is appropriate in your case. I do hope things work out well for you all.
Do you think you know when you are going to die?
for you and her and baby of course!