The doctor helped the girl to get pregnant as she was unable to conceive with her boyfriend