Role based access for observation forms in Clinical module

Tags: #<Tag:0x00007f076c47d6a8>

Hi @all,

The current functionality of Bahmni does not allow users to access forms based on their user roles as per the assigned privileges

Requirement:

Users should be able to access forms based on their user roles as per the assigned privileges

Flow:

Let us say there are 5 observation forms in the Clinical module and its forms are F1, F2, F3, F4, and F5 and there are 2 users A and B.

Our requirement is to have different access for different users for the Clinical module at the form level.

User A must have access to only F1, F2, and F3.

User B must have access to forms F3, F4 and F5.

Scenarios to consider:

  • To have the ability to add new forms having different user access for them in regards to future requirements.
  • To make this feature a configuration effort for easy maintenance of the product.

Proposed Solution:

Creating a feature - Role-based access for observation forms in Clinical module.

Feature:

  • While creating an observation form the implementers should be able to provide access of the observation form to selected roles.
  • There shall be three levels of access for the users to access the observation form: No access, Read-only, Write.
    • No access level does not allow the unauthorized users to read the information on the patient dashboard or view the observation form on the Consultation tab of the Clinical module.
    • Read-only level of access allows the user to see the observation form under the Forms section in the patient dashboard but the user shall not see the form in the Consultation tab of the Clinical module. The user should not have permission to make any changes in the form.
    • Write level of access allows the user to see the observation form in the patient dashboard as well as in the Consultation tab. The user can also make changes in the observation form.

Satvix is planning to partially develop this feature. The scope is mentioned below.

Scope

  • While creating an observation form the implementers should be able to provide access of the observation form to selected roles.

Out of Scope

  • There shall be three levels of access for the users to access the observation form: No access, Read-only, Write.
    • No access level does not allow the unauthorized users to read the information on the patient dashboard or view the observation form on the Consultation tab of the Clinical module.
    • Read-only level of access allows the user to see the observation form under the Forms section in the patient dashboard but the user shall not see the form in the Consultation tab of the Clinical module. The user should not have permission to make any changes in the form.
    • Write level of access allows the user to see the observation form in the patient dashboard as well as in the Consultation tab. The user can also make changes in the observation form.

Please bring this up in the next PAT call. FYI, this is slotted for 0.93. Check BAH-790

attn: @jinal @snehabagri

1 Like

Hello, this was a functionality that our clients are interested in as well. We can get on a call to discuss your plans further. Some of the items we would need to think about:

  1. Privileges to view and edit the form in the display controls
  2. Permission to view selective forms in consultation
  3. Permission to edit selective forms from consultation
  4. Permissions to “add new” forms
  5. Extending roles and permissions for Forms 2.0

Thanks for the update.

@sushmit I think this use case would apply to Data Filter module to use as the backend. @mksd, could you invite @sushmit to the demo tomorrow?

1 Like