@utilities.arguments_not_none<EOL><INDENT>def create_grade_system(self, grade_system_form):<DEDENT>
<EOL>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>if not isinstance(grade_system_form, ABCGradeSystemForm):<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>if grade_system_form.is_for_update():<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>if self._forms[grade_system_form.get_id().get_identifier()] == CREATED:<EOL><INDENT>raise errors.IllegalState('<STR_LIT>')<EOL><DEDENT><DEDENT>except KeyError:<EOL><INDENT>raise errors.Unsupported('<STR_LIT>')<EOL><DEDENT>if not grade_system_form.is_valid():<EOL><INDENT>raise errors.InvalidArgument('<STR_LIT>')<EOL><DEDENT>insert_result = collection.insert_one(grade_system_form._my_map)<EOL>self._forms[grade_system_form.get_id().get_identifier()] = CREATED<EOL>result = objects.GradeSystem(<EOL>osid_object_map=collection.find_one({'<STR_LIT>': insert_result.inserted_id}),<EOL>runtime=self._runtime,<EOL>proxy=self._proxy)<EOL>return result<EOL>
Creates a new ``GradeSystem``.

        arg:    grade_system_form (osid.grading.GradeSystemForm): the
                form for this ``GradeSystem``
        return: (osid.grading.GradeSystem) - the new ``GradeSystem``
        raise:  IllegalState - ``grade_system_form`` already used in a
                create transaction
        raise:  InvalidArgument - one or more of the form elements is
                invalid
        raise:  NullArgument - ``grade_system_form`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        raise:  Unsupported - ``grade_system_form`` did not originate
                from ``get_grade_system_form_for_create()``
        *compliance: mandatory -- This method must be implemented.*