It is not against the law to verify that the note actually came from a doctor.  You are not asking anything about the kid's medical records.  You are merely verifying the legitimacy of a note which supposedly was signed by a doctor.  If you hadn't called the doctor's office, how else would you know whether the note was from a doctor or was something the kid had written.