As nouns,
congenital defect is a hypernym of
congenital heart defect; that is, congenital defect is a
word with a broader meaning than congenital heart defect:
congenital heart defect: a birth defect involving the heart
congenital defect: a defect that is present at birth