def new_child(self, term, value, **kwargs):
tc = self.doc.get_term_class(term.lower())<EOL>c = tc(term, str(value) if value is not None else None,<EOL>parent=self, doc=self.doc, section=self.section).new_children(**kwargs)<EOL>c.term_value_name = self.doc.decl_terms.get(c.join, {}).get('<STR_LIT>', c.term_value_name)<EOL>assert not c.term_is("<STR_LIT>")<EOL>self.children.append(c)<EOL>return c<EOL>
Create a new term and add it to this term as a child. Creates grandchildren from the kwargs.

        :param term: term name. Just the record term
        :param term: Value to assign to the term
        :param term: Term properties, which create children of the child term.