Browse Source

bug fix: copy/paste (don't do it)

Steve Nyemba 4 years ago
parent
commit
26f40107fc
2 changed files with 3 additions and 3 deletions
  1. 2 2
      healthcareio/x12/__init__.py
  2. 1 1
      setup.py

+ 2 - 2
healthcareio/x12/__init__.py

@@ -576,8 +576,8 @@ class Parser (Process):
                     # claim = merger.merge(claim,self.apply(_toprows,_code))
                     # claims.append(dict(DEFAULT_VALUE,**claim))
                     schema = {"properties":{}}
-                    for attr in _claim.keys() :
-                        schema['properties'][attr]  = {"mergeStrategy": "append" if type(_claim[attr]) == list else "overwrite" }                    
+                    for attr in claim.keys() :
+                        schema['properties'][attr]  = {"mergeStrategy": "append" if type(claim[attr]) == list else "overwrite" }                    
                     
                     _baseclaim = None
                     _baseclaim = merger.merge(_baseclaim,copy.deepcopy(DEFAULT_VALUE))

+ 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.22",
+    "name":"healthcareio","version":"1.6.2.24",
     "author":"Vanderbilt University Medical Center",
     "author_email":"steve.l.nyemba@vumc.org",
     "include_package_data":True,