can a primary care doctor confirm pregnancy