bug fix
This commit is contained in:
parent
22800d3bbc
commit
d890f0e6b2
|
@ -422,7 +422,7 @@ class Parser (Process):
|
||||||
# x12_file = open(filename.strip(),errors='ignore').read().split('\n')
|
# x12_file = open(filename.strip(),errors='ignore').read().split('\n')
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logs.append ({"parse":"claims" if _code == '837' else 'remits',"completed":False,"name":filename,"msg":e.args[0]})
|
logs.append ({"parse":"claims" if _code == '837' else 'remits',"completed":False,"name":filename,"msg":e.args[0]})
|
||||||
return [],logs
|
return [],logs,_code
|
||||||
|
|
||||||
rate = 0 if len(claims) == 0 else (1 + index)/len(claims)
|
rate = 0 if len(claims) == 0 else (1 + index)/len(claims)
|
||||||
logs.append ({"parse":"claims" if _code == '837' else 'remits',"completed":True,"name":filename,"rate":rate})
|
logs.append ({"parse":"claims" if _code == '837' else 'remits',"completed":True,"name":filename,"rate":rate})
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -8,7 +8,7 @@ import sys
|
||||||
def read(fname):
|
def read(fname):
|
||||||
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
||||||
args = {
|
args = {
|
||||||
"name":"healthcareio","version":"1.3.5",
|
"name":"healthcareio","version":"1.3.6",
|
||||||
"author":"Vanderbilt University Medical Center",
|
"author":"Vanderbilt University Medical Center",
|
||||||
"author_email":"steve.l.nyemba@vumc.org",
|
"author_email":"steve.l.nyemba@vumc.org",
|
||||||
"license":"MIT",
|
"license":"MIT",
|
||||||
|
|
Loading…
Reference in New Issue