Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Table of Contents

Roles

Roles are a set of Permissions grouped together under a name. Each Organization defines its own roles and the permissions they contain. 

A User can only be associated with a single Role.

Permissions

 

IDOrganization-RelatedDescriptionUsed In
list_organizationsNoUsers with this permission can get a list of all organizations.
read_organizationYesUsers with this permission can request information of a specific organization.
list_facilitiesYesUsers with this permission can get a list of all facilities within an organization.
read_facilityYesUsers with this permission can request information of a specific facility of an organization.
list_workspacesYesUsers with this permission can get a list of all workspaces within an organization.
read_workspaceYesUsers with this permission can request information of a specific workspace of an organization.
list_roomsYesUsers with this permission can get a list of all the rooms of any workspace in the organization.
read_roomYesUsers with this permission can request information of a specific room of an organization.
list_rolesYesUsers with this permission can get a list of all the roles within a specific organization.
read_roleYesUsers with this permission can request information of a specific role in an organization.
  • Read Organization's Role
list_usersYesUsers with this permission can get a list of all the users within a specific organization.
list_users_from_all_organizationsNoUsers with this permission can get a list of all the users from all the organizations.
  • List Users (if 'location' is not specified, this permission is required)
read_userYesUsers with this permission can read information of users from the specified organization.
delete_userYesUsers with this permission can delete users from the specified organization.
modify_userYesUsers with this permission can modify information about users from the specified organization.
modify_own_userNoUsers with this permission can modify his/her own user. A user with this permission can't modify either his/her Facility nor Role.

modify_user_nfc_tag

YesUsers with this permission can modify users tag ids in the specified organization. A user can modify its own tag id even without having this permission: 'modify_own_user' is enough to do this (if the Facility allows this by having nfcSelfModificationEnabled = true).
list_patients_from_all_organizationsNo

Users with this permission can get a list of all the patients from all the organizations.

This permission is also used when a patient is assigned to a user. A user can only be assigned to a patient he/she could list. 

list_patients_from_current_organizationNo

Users with this permission can get a list of all the patients from the organizations where they belong.

This permission is also used when a patient is assigned to a user. A user can only be assigned to a patient he/she could list.

list_patients_from_current_facilityNo

Users with this permission can get a list of all the patients from the facility where they belong.

This permission is also used when a patient is assigned to a user. A user can only be assigned to a patient he/she could list.

modify_patients_from_all_organizationsNoUsers with this permission can modify patients (i.e. Admission Form) from all the organizations.
modify_patients_from_current_organizationNoUsers with this permission can modify patients (i.e. Admission Form) from the organization where he/she belongs.
modify_patients_from_current_organizationNoUsers with this permission can modify patients (i.e. Admission Form) from the facility where he/she belongs.
list_discharged_patientsYesUsers with this permission will get discharged patients in the list returned by List Patient operation.
discharge_patientsYesUsers with this permission can submit the special 'discharge patient' form.
final_discharge_patientsYesUsers with this permission can submit the special 'discharge final patient' form.
send_messagesNoUsers with this permission can make use of the communication API

read_alerts_only_from_associated_patients

NoUsers with this permission will only receive Alerts for the patients that he/she has currently assigned. Direct Alerts (sent to a specific user id) are still visible even without this permission.

read_alerts_from_entire_organization

NoUsers with this permission will receive alerts from patients in the entire organization (as long as the alert is configured to be sent to the user's role). Without this permission, only alerts related to the same facility where the user belongs are returned.

User Statuses

Each user has an associated Status in the System. User Statuses are defined at a system level: all organizations share the same set of possible statuses.  

The current supported statuses are:

StatusDescriptionUsed In
ACTIVEThis status is required for a User in order to log in into the application.
  • Login
PENDINGThe default status for newly created users.
  • User Registration
SUSPENDEDUsers may be suspended to avoid them to log in into the system for a period of time.
  • Update User Information
INACTIVEUsers are never deleted from the database. Instead, their status is changed to INACTIVE.
  • Delete User



Even if the API doesn't impose any limitation between the transition from one status to another, the UI implements the following state machine:

 








  • No labels