Is hirschprungs genetic?

my first son was diagnoised with hd on 3rd day...will this disease also influence my second pregnancy?