If you think about it, parents who look after a child in the home need information in the same way as a nurse who looks after them in hospital.
I don't need to know everything dd has said in confidence to her therapist.
But I do need to know that she is taking medication that may alter her moods and make her a potential suicide risk. I need to know because I am responsible for keeping her safe and I am responsible for the emotional wellbeing of her younger sibling.
I would need to know if she had an infectious disease because I am responsible not only for her health but for that of her sibling.
I would need to know if she had any other health problem that would affect my care of her or the way we ran this family.
It would be totally unfair on me to expect me to do my caring job without vital information of this kind. Can you imagine a nurse in hospital being expected to do her job without being told that one patient is diabetic and another one has had a stroke? Do you think any nurse would put up with that responsiblity?
As I am the person who would be taken to court if a child of mine truanted I would also need enough information to know if a genuine illness was preventing dc from attending school or not.
The school needs to know that my ds has asthma and may need a ventilator. They have a right to know this because they will have to deal with the fallout if he has an attack.
I am very much into respecting my children's privacy. But they are not islands.
Gillick competence as Birdsgottafly says is about limited situations.
Even for an adult, confidentiality comes at a price.
My students have a right not to disclose any learning difficulties or MH problems to me. But unless they do give me a chance to provide supportive measures they may well fail their exams and it won't be my fault.
I can refuse to give my employer medical information regarding my sudden non-appearance at work. But I won't get to keep the job.