A qualitative study of the problem-solving process in obstetric complications: the gap between home and hospital