Is this to do with this Pile Of Shite™️ going around Facebook today?
Because if it is then I suggest you don't listen to people who use the words "yous" or "wake up" they're usually huns and full of crap.
A teacher/school cannot two your child for a Corona test or refuse to hand them back over to you as a result of this. You have parental responsibility, some mysterious "they" is not attempting to steal it.
The part if the legislation the meme (and presumably your post) refers to is to cover eventualities where someone in authority may need to take a child for a test and then quarantine/isolate that child, for example children in the care system or residential schools or in young offender facilities.