State law allows PE exemptions for medical illness.
Minnesota Statutes 120B.026 Physical Education; Exclusion from Class; Recess.
A student may be excused from a physical education class if the student submits written information signed by a physician stating that physical activity will jeopardize the student's health. A student may be excused from a physical education class if being excused meets the child's unique and individualized needs according to the child's individualized education program, federal 504 plan, or individualized health plan. A student may be excused if a parent or guardian requests an exemption on religious grounds. A student with a disability must be provided with modifications or adaptations that allow physical education class to meet their needs.