Students may be permitted to take prescription or nonprescription medication, and/or self-medicate at school, at school sponsored activities, under the supervision of trained school personnel, and in transit to or from school or school-sponsored activities.