Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty population #2

Open
ir4y opened this issue Sep 21, 2020 · 0 comments
Open

Empty population #2

ir4y opened this issue Sep 21, 2020 · 0 comments

Comments

@ir4y
Copy link
Member

ir4y commented Sep 21, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant