Questionnaire/study to be chosen by operator

Bug #1494528 reported by Adam Zammit
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
queXS
In Progress
Wishlist
Alex

Bug Description

Is there any possibility, that operators can choose and switch studys (questionnaires) they're assigned for during their shifts?
If not, that would be a very helpful feature for 1.14.

My suggested implementation would be:

- add a new column to the operator table something like "allow_questionnaire_choice" boolean
- add this as a checkbox in the operator editing page for enabling / disabling

- add a new table something like "operator_questionnaire_choice" with columns "operator_id","questionnaire_id"
- if the option "allow_questionnaire_choice" is enabled, when the operator starts work, check if there are records in the operator_questionnaire_choice table for that operator, if not, give them the choice to select all questionnaires assigned to them in the operator_questionnaire table - and when set - add these records to the operator_questionnaire_choice table
- when work finishes, ("end work" selected) delete records from the operator_questionnaire_choice table for that operator

-update the functions.operator.php file get_case_id statement to take into account records in the operator_questionnaire_choice table when set
- update the admin/systemsortprocess.php file to do the same

Tags: priorities

Related branches

Adam Zammit (adamzammit)
Changed in quexs:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Alex (ddrmoscow) wrote :

Good point, Adam

That might be a usefull featue.

Was thinkinig of it too, but in combination with questionnareis and sample priorities (Bug lp:1477650 )

I'd expect following behaivoir: if no questionnaire /sample priorities defined by admins -> operator can chose quesionnaire (and possibly sample too) or maybe just let operator define his own questionnaire /sample priorities?

Alex

Revision history for this message
Christian Loeper (christianloeper) wrote :

Hey guys,

after discussions with my workmates it turned out that noone around here has enough php-skills to do this implemantation.
Still we'd be very tahnkful, if you'd take care of it.

"I'd expect following behaivoir: if no questionnaire /sample priorities defined by admins -> operator can chose quesionnaire (and possibly sample too) or maybe just let operator define his own questionnaire /sample priorities?"

This could be a useful funktion too, but so powerful, that I'd recommend to enable/disable it seperated from operators questionnaire choice.

Chris

Adam Zammit (adamzammit)
Changed in quexs:
assignee: nobody → Christian Loeper (christianloeper)
Alex (ddrmoscow)
tags: added: priorities
Alex (ddrmoscow)
Changed in quexs:
assignee: Christian Loeper (christianloeper) → Alex (ddrmoscow)
Alex (ddrmoscow)
Changed in quexs:
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.