...
When collecting specimens, the clinic staff should not see the container fields. Whereas the technician should be able to view and select the container field for storing the specimen, the temperature at which the specimen is frozen, etc.
Info |
---|
You can add rules to required fields in the dictionary section. |
Code Block | ||
---|---|---|
| ||
{ "name" : "specimen.storageLocation", "caption" : "Location", "type" : "storage-position", "cpId" : "cp.id", "entity" : "specimen", "showIf" : { "op" : "AND", "rules" : [ { "field" : "userRole", "op" : "!=", "value" : "'Coordinator'" } ] }, "showInOverviewIf" : "useShowIf" } |