The primary aim when educating pupils with medical needs is to minimise, as far as possible, the disruption this may cause to everyday schooling.
All schools have to have policies on managing pupils' medicines and on supporting pupils with medical needs.
Such policies are based on best practice as explained at GOV.UK
This explains the roles and responsibilities of employers, parents and carers, governing bodies, head teachers, teachers and other staff and of local health services.