Browse Source

bug fix: toprows as default values

Steve Nyemba 4 years ago
parent
commit
b4a5c6d2a5
2 changed files with 5 additions and 1 deletions
  1. 4 0
      healthcareio/x12/__init__.py
  2. 1 1
      setup.py

+ 4 - 0
healthcareio/x12/__init__.py

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

+ 1 - 1
setup.py

@@ -8,7 +8,7 @@ import sys
 def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read() 
 args = {
-    "name":"healthcareio","version":"1.6.2.4",
+    "name":"healthcareio","version":"1.6.2.6",
     "author":"Vanderbilt University Medical Center",
     "author_email":"steve.l.nyemba@vumc.org",
     "include_package_data":True,