|
|
|
@ -386,6 +386,7 @@ class Parser (Process):
|
|
|
|
|
_cinfo = util.get.config(self._custom_config[_code],row)
|
|
|
|
|
else:
|
|
|
|
|
_cinfo = {}
|
|
|
|
|
|
|
|
|
|
if _info or _cinfo:
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
@ -393,6 +394,8 @@ class Parser (Process):
|
|
|
|
|
|
|
|
|
|
_info = jsonmerge.merge(_info,_cinfo)
|
|
|
|
|
tmp = self.get.value(row,_info)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if not tmp :
|
|
|
|
|
continue
|
|
|
|
@ -501,7 +504,7 @@ class Parser (Process):
|
|
|
|
|
|
|
|
|
|
if len(file) == 1 :
|
|
|
|
|
|
|
|
|
|
file = file[0].split('CLM')
|
|
|
|
|
file = file[0].split('HL')
|
|
|
|
|
_code = '837'
|
|
|
|
|
section = 'HL'
|
|
|
|
|
|
|
|
|
@ -592,7 +595,7 @@ class Parser (Process):
|
|
|
|
|
|
|
|
|
|
if segment and segment[0].startswith(section) :
|
|
|
|
|
# default_claim = dict({"name":index},**DEFAULT_VALUE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
claim = self.apply(segment,_code)
|
|
|
|
|
if claim :
|
|
|
|
|
claim['index'] = len(claims)
|
|
|
|
|