Steve Nyemba 5 years ago
parent
commit
dd1a0741db
1 changed files with 6 additions and 1 deletions
  1. 6 1
      healthcareio/parser.py

+ 6 - 1
healthcareio/parser.py

@@ -153,8 +153,13 @@ def get_map(row,config,version):
         object_value = []
         
         for row_item in row :
-            value = get_map(row_item,config,version)
+            value = get_map(row_item,config,version)            
+            value['_index'] = len(object_value) 
             object_value.append(value)
+            #
+            # We need to add the index of the object it matters in determining the claim types
+            #
+            
             # object_value.append( list(get_map(row_item,config,version)))
         # object_value = {label:object_value}
     return object_value