The 11-year-old became unwell at around 11.40am on Sunday and was taken to the Royal Hospital for Children in Glasgow.
Education secretary Jenny Gilruth has insisted the Scottish Government can cut the amount of time teachers spend in the classroom at the same time as delivering “better outcomes” for pupils.