I don't think background checks include medical history.  However, if the company does not offer you the job after finding out your're pregnant, then you can file a complaint for discrimination.  That's based on you having evidence of them telling you that they'll offer you the job after your background check clears. So don't worry too much. Congratulations on the pregnancy. =)