define custom list of outcomes for questionnaire
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
queXS |
Fix Released
|
Wishlist
|
Alex |
Bug Description
For most of our questionnaires full list of available outcomes is not required (for instance household-related or with self-completion). I've counted 12 (from our 37 total) outcome_id's never used over past year and noted a lot of case outcomes re-defined by administrators, caused by operators mistakes at most.
Would be great to set a selection of required outcomes as an optional parameter on a questionnaire basis.
For instance, in system general settings Administrator defines "default" list of outcomes (with some permanent /mandatory outcomes ), that could be customized for a questionnare.
Then we can display to operators and administrators only questionnaire-
Related branches
Changed in quexs: | |
assignee: | nobody → Adam Zammit (adamzammit) |
Changed in quexs: | |
assignee: | Adam Zammit (adamzammit) → Alex (ddrmoscow) |
status: | Confirmed → In Progress |
Changed in quexs: | |
status: | In Progress → Fix Committed |
Changed in quexs: | |
status: | Fix Committed → Fix Released |
This is a good idea.
I think the best way to implement this would be a page called "Questionnaire outcomes" and allows for the selection of outcomes from all possible from a list on a questionnaire by questionnaire basis.
We could create a new database table questionnaire_ outcomes and all it would need is questionnaire_ id,outcome_ id,exclude. Can do a left join when selecting outcomes and if exclude is set to 1 then exclude. If doesn't exist or exclude is set to 0 then won't be excluded.
Adam