http://revach.net/article.php?id=1525

Section: Halacha   Category: Tshuvos
The Pregnant Wife of a Kohen in a Cemetery

May the expectant wife of a Kohen enter a cemetery? She may be carrying a boy who is a Kohen and may become Tame'i to a Me'is! The Shach in Yoreh Deah says in the name of a Roke'ach that she may enter the cemetery because of the logic of Safek-Safeka (a double Safek). The child may be a girl and even if it is a boy, he might be a Nefel (a child who doesn't live thirty days.

Disclaimer: We try to convey the Tshuva to the best of our ability. We admit that our understanding may not be accurate. Please also understand that this Tshuva may not be the final word on this topic. One should consult a Rav before drawing any conclusions.