@dman12323 I have fought with my daughter's school so hard over absences.
Daughter had to be on chemo for a year when she was in (the second half of) kindergarten - (1st half of) 1st grade.
In kindergarten, she missed 50 days of school because of chemo. Her Dr gave us an open excuse so that we wouldn't need one for every day she missed. All was dandy. But now, 3 years later, we fight with them every year over missing school. We live in a rural area, the hospital that treated her is 2.5 hours away, so appointments take the whole day. She sees 5 specialists, one every month in a 5 month cycle.
I'm on good terms with her principle, I get a doctor's note for every appt. and once we reach the limit (8 days before needing a Dr note every time), he works with us because he knows the situation and sees what kind of student she is despite her absences (always straight A's, even on chemo).
The vice principle tried to be a jackass and marked her down as having 3 unexcused absences after we passed 8 days (all for appts, all had Dr notes) because she was sick twice and then had lice the 3rd day. I emailed him to try to clear things up and he basically told me that he was reporting us to the magistrate for truancy and to be prepared for a court summons. What he failed to notice was that I had CC'd the principle in the email. Within an hour I had a phone call from the principle apologizing for the vice, and told us that we were not being reported, that he was aware of our situation and that he would be marking those 3 unexcused as excused.
Give a weak man a position of power and it'll go to his head. Schools are sometimes ridiculous. I'm happy it worked out for you; I know how frustrating it can be.