bugfix: date pasing
This commit is contained in:
parent
36311e9482
commit
4019158769
|
@ -208,8 +208,8 @@ class Formatters :
|
|||
|
||||
xchar = '>' if '>' in value else ':'
|
||||
x = value.split(xchar)
|
||||
x = {"code":x[0],"indicator":x[1],"frequency":x[2]} if len(x) == 3 else {"code":x[0],"indicator":None,"frequency":None}
|
||||
return x['code']
|
||||
x = {"place_of_service":x[0],"indicator":x[1],"frequency":x[2]} if len(x) == 3 else {"place_of_service":x[0],"indicator":None,"frequency":None}
|
||||
return x
|
||||
class Parser (Process):
|
||||
def __init__(self,path):
|
||||
"""
|
||||
|
@ -511,9 +511,9 @@ class Parser (Process):
|
|||
|
||||
if len(file) == 1 :
|
||||
|
||||
file = file[0].split('HL')
|
||||
file = file[0].split('CLM') #.split('HL')
|
||||
_code = '837'
|
||||
section = 'HL'
|
||||
section = 'CLM' #'HL'
|
||||
|
||||
INITIAL_ROWS = file[0].split(section)[0].split('\n')
|
||||
|
||||
|
|
Loading…
Reference in New Issue