The doctor helped his patient to get pregnant as her boyfriend could not