beda-software/fhir-sdc

Empty population

ir4y opened this issue · 0 comments

ir4y commented

Does it make any sense to keep empty data after the population?
Check https://github.com/beda-software/aidbox-sdc/blob/empty-populate/tests/realcases/test_empty_group_population.py for more details.

backend_1    | E         Common items:
backend_1    | E         {'questionnaire': 'generated', 'resourceType': 'QuestionnaireResponse'}
backend_1    | E         Left contains 1 more item:
backend_1    | E         {'item': [{'answer': [], 'linkId': 'group'}]}
backend_1    | E         Full diff:
backend_1    | E           {
backend_1    | E         -  'item': [{'answer': [],
backend_1    | E         -            'linkId': 'group'}],
backend_1    | E            'questionnaire': 'generated',
backend_1    | E            'resourceType': 'QuestionnaireResponse',
backend_1    | E           }

After populate {'item': [{'answer': [], 'linkId': 'group'}]} is added. I am not sure, is it ok or not?