Just found out pregnant….Please help

Patient: I took a home pregnancy test which has resulted positive. My partner and i then went to the doctor where he asked if I had been pregnant before. I said no even though I have been (miscarried around 12 weeks). My current partner doesnt know about the miscarriage (previous partner) so I guess I just panicked and didn’t want him finding out in the doctors office. Will not telling the doctor affect the routine pregnancy/other blood tests I have been ordered to get? Is it vital the doctor knows this? Thanks for help.

Doctor: