bug fix: toprows as default values

master
Steve L. Nyemba 4 years ago
parent 0f4cce2b22
commit b4a5c6d2a5

@ -485,6 +485,10 @@ class Parser (Process):
elif segment and not row.startswith(section): elif segment and not row.startswith(section):
if not _default : if not _default :
#
# NOTE:
# 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
_default = (self.apply(_toprows,_code)) _default = (self.apply(_toprows,_code))
DEFAULT_VALUE = dict(DEFAULT_VALUE,**_default) DEFAULT_VALUE = dict(DEFAULT_VALUE,**_default)
segment.append(row) segment.append(row)

@ -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.6.2.4", "name":"healthcareio","version":"1.6.2.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",
"include_package_data":True, "include_package_data":True,

Loading…
Cancel
Save