You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently, don't check the status of a QuestionnaireResponse before we trigger extraction of any kind.
We should only trigger extraction of schedules or to different resources when the Questionnaire is completely filled and the QuestionnaireResponse status is marked as completed.
Implementation
Add the complete status on the QuestionnaireResponse when the SAVE is clicked on the questionnaire. This status should only be added when the QR is not marked as draft.
Attach the QR subject before the extraction bit. This should be added immediately after the QR is created and not during the extraction period.
Check the QuestionnaireResponse status before passing it through the extraction method.
The QuestionnaireResponse status should be set to Completed for the extraction to be triggered.
If the QuestionnaireResponse status is not completed we save the resource as is to the resources table on SQLite.
Acceptance Criteria
Extraction of any kind should only happen when the QuestionnaireResponse status is set to Completed
The text was updated successfully, but these errors were encountered:
Enhancement context
Implementation
SAVE
is clicked on the questionnaire. This status should only be added when the QR is not marked as draft.extraction
method.Completed
for the extraction to be triggered.completed
we save the resource as is to the resources table on SQLite.Acceptance Criteria
Completed
The text was updated successfully, but these errors were encountered: