Below are the pages with lists like the view across the application. These list views can be configurable:
Participants
Specimens
Specimen cart
Reserved Specimens
Collection Protocol List
Order Specimen List
Container Specimen List
List view pages do not support the Custom Form fields. Eg: Forms attached at Registration Form Level, Specimen Form level etc.
What can be configured?
Columns
Sorting order
Filters (on the right-hand side)
Conditional data display: Fixed criteria can be set to display only specific participants and specimens. For example, display only aliquots.
How to configure the system-level list view?
A default view is shipped with the installation package and applies to all protocols. Super admins can change the default system-level list view configuration by uploading a new configuration file through 'Settings->Biospecimen→System Workflows'.
How to configure the CP level list view?
To configure the list view for a specific CP, go to the CP overview → More → Import Workflows.
JSON Examples
Participant and Specimen List View
For participants and specimens, this configuration can be done at two levels:
System-wide - applies to all protocols
Protocol-level - overrides the system setting for that protocol
There is a separate section for each list view in the JSON, as shown below.
These lists can be configured at the system level only via Settings → System Workflows:
Reserved Specimens
Cart
Collection Protocol
Order Specimen
Container Specimen
Reserved specimen list page
Configured under the 'reserved-specimens-list-view' section of the JSON
If there is no section for reserved specimens added, then the 'common-specimens-list-view' (if specified) else 'specimen-list-view' is used.
Specimen cart page
Configured under the 'cart-specimens-list-view' section of the JSON
The configuration for cart specimens list view is picked from system workflow in the following order of preference: cart-specimens-list-view -> common-specimens-list-view -> specimen-list-view.
The configuration detail is the same as that for specimen-list-view specifying the columns to display in the table, filters, ordering, additional restrictions, etc.
Order specimen list view page
Configured under the "order-specimens-list-view" section of the JSON
If the user is not configured any "order-specimens-list-view" in the system workflow, then OpenSpecimen uses the default configuration.
Added an option to hide the empty columns by specifying the property "hideEmptyColumns": true,
Order specimens add and edit page
Configured under "order-addedit-specimens" of the JSON
If the user has not configured any "order-addedit-specimens" in the system workflow, then OpenSpecimen uses the default configuration.
Collection protocol list page (Implemented from v6.3 onwards)
Configured under "cp-list-view" of the JSON
If the user is not configured any "cp-list-view" in the system workflow, then OpenSpecimen uses the default configuration.
Container Specimen List
Configured under the "container-specimens-list-view" section of the JSON
If the user has not configured any "container-specimens-list-view" in the system workflow, then OpenSpecimen uses the default configuration.
Screenshots
JSON Attributes and Uses
Expressions for other fields that can be added to the list view