Suppose a pregnant woman dies*, and it's too early in the pregnancy for the baby inside her to have any chance of viability if delivered now, but if the woman's body is kept connected to life-support equipment for a few weeks, there may be a chance of keeping the baby alive inside long enough for it to be delivered as a viable.
(* For the purpose of this question, assume that either a) she has experienced brain-death but not heart-death, and the question is according to those who hold that brain-death is death; or b) she is considered dead according to all opinions, and the technology exists to make her body start working again shortly after death, sufficiently to give the fetus a chance. In other words, assume that there is no question at all of killing or saving the woman; this is just about the baby.)
Are new interventions to get/keep the body going (e.g. hooking up life support equipment):
required,
permitted, or
forbidden?
Is maintaining the body on life support (e.g. keeping it in the hospital and hooked up to life support equipment):
required,
permitted, or
forbidden?
The two main values I see in conflict here are the potential life of the unborn baby and the tampering with and delayed burial of the body. Of course, answers are welcome to address any other relevant Halachic issues.
This question was inspired by the current controversy surrounding the case of Marlise Munoz, but note that I am seeking answers to the question as stated, not analysis of that case in particular.