assigning patients now updates missingGradeGroup and gradeGroup tables