diff --git a/healthcareio/parser.py b/healthcareio/parser.py index dfb2004..8b9d9bb 100644 --- a/healthcareio/parser.py +++ b/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