Stream: questionnaire
Topic: Remove data for disabled fields?
Paul Lynch (Jun 28 2019 at 22:03):
If a user fills out some fields controlled by "enableWhen", and then due to a further edit those fields are disabled, what should happen to the values in those fields when a QuestionnaireResponse is generated?
Lloyd McKenzie (Jun 29 2019 at 02:06):
We've approved a change request to add clarification that, once the QuestionnaireResponse is transitioned to completed, data should be removed for any questions that aren't enabled.
Brian Postlethwaite (Jun 30 2019 at 06:47):
Would that also apply to fields that are read only or hidden that were filled through pre population?
We have stuff like that for capturing server versions and system versions.
Lloyd McKenzie (Jun 30 2019 at 13:48):
No. Only disabled fields. Read only and hidden are distinct from disabled
Brian Postlethwaite (Jul 01 2019 at 00:26):
Might be an idea to re-enforce that while clarifying, just to ensure folks don't put in a hard rule to whip any data that isn't visible or editable.
Last updated: Apr 12 2022 at 19:14 UTC