How early can they catch heart defects?

I was born with a hole in my heart and my sister had a heart defect that caused her to actually need surgery as a baby. Can they see this early in pregnancy?