Woman nearly dies after unexpected pregnancy