The example I'm thinking of is if you go to the doc for something you'd rather not have bruited about, the HR department processes your pharmacy coverage claim and proceeds to tell everyone you're taking Valtrex for herpes.
So unless she signed off on publication of her condition, the school is in the wrong to even announce she's pregnant or had a baby. For all the world is allowed to know, she may have had a cyst or something.