Pregnant women released as medical condition a danger to her and unborn child