From dd1a0741db36eb03b6b47789f7d3e97c36ddd688 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Wed, 16 Sep 2020 11:08:12 -0500 Subject: [PATCH] bug fix --- healthcareio/parser.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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