Steve Nyemba 5 yıl önce
ebeveyn
işleme
dd1a0741db
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  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