Some students have encountered difficulties receiving care at schools, such as insulin shots or blood sugar monitoring. Children have been barred from attending their zoned schools or have been transferred after diagnosis to schools with nurses, previous reporting by The Times has found.

Others are not allowed to participate in sports or extracurricular activities.

“He’s a normal boy who needs to stop and test his blood sugar and inject insulin so he can continue to do what he loves!” Ms. Watkins said.

The Salt Lake Tribune wrote about the family in an article on Wednesday.

Under Utah law, a public school is required to allow a student to self-administer diabetes medication with permission from the child’s parents and doctors. Nurses or trained school staff members can administer the medication if they follow the child’s preauthorized health plan.

It also allows students to carry the medicine and to administer it to themselves.

But Jordan School District policy allows medication delivered by syringe only if it has been prefilled by the drug manufacturer or by a registered pharmacist. This was a factor in the disagreement between the district and the Watkins family, who wanted to be responsible for filling the syringes themselves.

The school district and Joan M. Andrews, a lawyer for the district, referred questions about the case to the Utah attorney general’s office, which declined to comment on Friday. An email that Ms. Andrews wrote in December to the Watkinses’ lawyer, attached to the lawsuit as evidence, showed that the district had made attempts to resolve the issue.

The complications arose after the 2016-17 school year, when the boy was in kindergarten and his 10-year-old sister would check on him in class to make sure his insulin pump was working properly, Ms. Watkins said.

The next school year, when he was in first grade, school nurses injected him with medicine they had drawn out of a vial.