/
Role-Based Display of Fields
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Role-Based Display of Fields

Introduction

The clinic staff collects samples and records participant details and specimen information at the collection site. The specimens are then sent to the laboratory for processing after being divided into aliquots and stored in the freezer by the biobank technician. During collection, clinic staff do not access container fields, while the technician can select container fields, freezing temperature, and other details. Version 8.1 allows configuring add/edit screens based on user roles to streamline this process.

You can add rules to required fields in the dictionary section.

{ "name" : "specimen.storageLocation", "caption" : "Location", "type" : "storage-position", "cpId" : "cp.id", "entity" : "specimen", "showIf" : { "op" : "AND", "rules" : [ { "field" : "userRole", "op" : "!=", "value" : "'Coordinator'" } ] }, "showInOverviewIf" : "useShowIf" }

User with a role other than Coordinator

image-20241003-110449.png

 

User with the role of Coordinator

The location field is hidden for users with the role of Coordinator.

image-20241003-110735.png

 

Example JSON

Download

Related content

Display container site details on the specimen overview page
Display container site details on the specimen overview page
Read with this
Configure Role-Based Workflows (v8.1)
Configure Role-Based Workflows (v8.1)
More like this
Configure Fields in Visit Table on Participant Overview Page
Configure Fields in Visit Table on Participant Overview Page
Read with this
Configuring Specimen Collection Table (v8.1)
Configuring Specimen Collection Table (v8.1)
More like this
Configure Anticipated/Pending Visits based on Participant Field
Configure Anticipated/Pending Visits based on Participant Field
Read with this
Hide/Set default value to specimen fields
Hide/Set default value to specimen fields
More like this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com