bug fix: ... weird stuff

master
Steve L. Nyemba 4 years ago
parent b4a5c6d2a5
commit 53a7706671

@ -437,7 +437,7 @@ class Parser (Process):
# #
# Let's parse this for default values # Let's parse this for default values
return jsonmerge.merge(value,self.apply(content,_code)) return value # jsonmerge.merge(value,self.apply(content,_code))
def read(self,filename) : def read(self,filename) :
""" """
@ -490,7 +490,10 @@ class Parser (Process):
# Some information in the toprows can be available and applied to claims that do not have this # Some information in the toprows can be available and applied to claims that do not have this
# This holds true for dates, N1, NM1 segments # This holds true for dates, N1, NM1 segments
_default = (self.apply(_toprows,_code)) _default = (self.apply(_toprows,_code))
DEFAULT_VALUE = dict(DEFAULT_VALUE,**_default) # print (_default)
# print (DEFAULT_VALUE)
# print (jsonmerge.merge(DEFAULT_VALUE,_default))
DEFAULT_VALUE = jsonmerge.merge(DEFAULT_VALUE,_default)
segment.append(row) segment.append(row)

Loading…
Cancel
Save