(self, chapter_record, section_index)
It processes a ``sectionIndex`` XML node
It processes a ``sectionIndex`` XML node
It processes a sectionIndex XML node
def _icd10_process_section_index(self, chapter_record, section_index):
        """ It processes a ``sectionIndex`` XML node """
        self.ensure_one()
        for section_ref in section_index.iterfind('sectionRef'):
            self._upsert_pathology_category(
                name=section_ref.text.strip(),
                code_type=self.code_type_id,
                ref=section_ref.get('id'),
                parent=chapter_record,
                id_pref=self.ICD10_XML_PREFIX,
            )
def _icd10_process_section_index ( self , chapter_record , section_index ) : self . ensure_one ( ) for section_ref in section_index . iterfind ( 'sectionRef' ) : self . _upsert_pathology_category ( name = section_ref . text . strip ( ) , code_type = self . code_type_id , ref = section_ref . get ( 'id' ) , parent = chapter_record , id_pref = self . ICD10_XML_PREFIX , )