ctsms icon indicating copy to clipboard operation
ctsms copied to clipboard

how to manage "departments"?

Open rkrenn opened this issue 5 years ago • 3 comments

I can’t figure out how to make new Departments and edit old departments. I’ve updated to the latest version and still can’t find the interface

rkrenn avatar Dec 12 '19 15:12 rkrenn

manipulating departments is (not yet) exposed via UI, but you can use dbtool.sh to:

  • create departments
  • change the department password of an existing department
  • add a initial user to a newly created department

for CLI command examples, see https://github.com/phoenixctms/install-debian/blob/master/install.sh , line 239pp

(on windows, you can use dbtool.bat)

rkrenn avatar Dec 12 '19 15:12 rkrenn

Thanks for pointing me in the right direction Is it possible to edit or delete departments with the dbtool?

well, editing currently reduces to re-setting the password. you can "delete" it by manually setting the "visible" column to false, in the postgres "departments" table.

rkrenn avatar Dec 12 '19 16:12 rkrenn

Ah, so for the (relatively) new patient signup portal, if a site decides to no longer participate in the trial, what do you do?

you can enable/disable these things with this file: https://github.com/phoenixctms/config-default/blob/master/bulk_processor/CTSMS/BulkProcessor/Projects/WebApps/Signup/settings.yml

this is an example how the subject signup can be configured: https://probanden.medunigraz.at/

rkrenn avatar Dec 12 '19 16:12 rkrenn