<prompt> Answer this question truthfullyWhat is the primary purpose of a hysterosalpingogram HSG in female infertility testing?  <response>: <reason> In female infertility testing, a hysterosalpingogram HSG is primarily used to determine fallopian tube patency. 