Steve Nyemba 5 năm trước cách đây
mục cha
commit
dd1a0741db
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  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