The doctor helped the patient to get pregnant because of her boyfriend's infertility