Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Questionnaire list

...

Add Questionnaire

...

Rocket Chat Configuration for OpenRehab

Installation

It is already setup through docker-compose.yml of the project distribution package, the service named rocketchat and its dependencies mongo and mongo-init-replica.

After you start your docker containers, you should be able to access rocket chat through this URL: http://localhost:3000/

Admin registration / first startup

  • Open this URL: http://localhost:3000/ in your browser, you will see the form step wizard with 4 steps

  • In step #1: please make sure to use the real email account for Organization Email because Rocket Chat will do background verification. If you use fake email, your registration will failed. This email can be changed afterward.

Image Added

  • In step #3: please select "No" for Auto opt in new users for Two Factor via email. This option can be changed afterwards as well.

...

Configuration for OpenRehab

...

  1. Allow user to have edit messages and delete private chat room. Search for edit-message and delete-p make sure its check under group: user

    Image Added
  2. Enable Rest API security CORS. Go to General (search in Settings) → expand accordion REST Api → Enable CORS

...

Admin personal access token for Therapist and Patient service

You can find sample environment variables for both Therapist and Patient service from file .env.example. To generate access token click on admin profile thumbnail → My Account → Personal Access tokens

  • Fill in the name of your access token for example: Admin Access Tokens for OpenRehab → click Add

  • You might need to enter admin password for security verification

  • There will be a popup with userId and token, please copy those values for ROCKET_CHAT_ADMIN_USER_ID and ROCKET_CHAT_ADMIN_AUTH_TOKEN of your .env file

Code Block
ROCKET_CHAT_URL=http://rocketchat:3000
ROCKET_CHAT_ADMIN_USER_ID=
ROCKET_CHAT_ADMIN_AUTH_TOKEN=
ROCKET_CHAT_ADMIN_PASSWORD=H1V-CHAT@ADM1N

Admin Permission to Delete ChatRooms

You can find the screenshot below of how to configure the permission

...

Translation Module

Use Cases

...