Table of Contents |
---|
Adding custom fields in Distribution Protocol
In v5.0, you OpenSpecimen allows you to add additional custom fields at the DP level and order level. These custom fields can include Lab Number, Approval ID, etc.
At Distribution Protocol level
You can configure the custom fields on the distribution protocols ( DP ) page to record additional information such as - lab number, center, etc. Once added, the pages will look like this:
...
Note:
...
SBRC Approval No. of votes, Project Number, and Grant Code are custom fields.
...
Expand | ||
---|---|---|
| ||
Create DP level custom field To configure custom fields at any level, you have to first create a new custom form (using the forms tool), which contains the fields |
...
you want to |
...
display on the DP or DP requirements pages. Refer to ‘How to create a form?’ to create a new form. |
Create DP level custom field
Expand | ||
---|---|---|
| ||
Go to the forms list page Steps:
Create DP Requirement level custom field Similarly, you can also add custom fields at the DP requirements level. |
Expand | ||
---|---|---|
| ||
|
Adding custom fields to Order level
...
At Order level
Often, you need to collect additional data with each Order. E.g., shipping address, MTA document, etc.
In v5.0, you You can create a custom form with fields to be displayed on the 'create orders' page. This can be configured either at the system level or distribution protocol ( DP ) level.
Level | Description |
---|---|
System | Default custom fields for all the DPs. |
DP | This overrides the system configuration. This is useful when you want to collect different data per DP. |
...
Expand | ||
---|---|---|
| ||
Step-1: Create a custom form Refer to the wiki page on “How to create a form? |
...
” Save and note the form identifier (The numeric code at the end of the URL). |
Info |
---|
Note: Do not attach the form to any level as following the steps below will automatically attach it to ‘Order Custom Fields’ level Step-2.a: Configure at the System level |
...
Expand | ||
---|---|---|
Click here to expand |
Step-2.b: Configure at Distribution Protocol level | |
Expand | ||
| ||
Go to
Once configured, the Order page will look like this: |
...
Note: 'Shipping address' and ' Additional Data' are custom fields. |
Create a query for custom fields
Order level custom fields can be queried using the query interface and displayed on the query results page.
Info |
---|
Note: You will only be able to query the custom form fields attached at the system level. There is no option to create a query on the form attached at the DP level in the field 'Order Custom Fields' |
...
Download order report
If any custom fields have been configured, those fields will be displayed in the downloaded order reportNote: For a regular user to access the Super Admin created order level custom field form,
The regular user should have ‘Manage Form’ access.
The regular user should have privileges of Create/Update/Delete access to the Distribution Protocol and Order etc. in their role.
Super Admin should attach that form to the distribution protocol, which contains all the distribution sites accessible to the regular user.
The form should not be attached to any other distribution protocol, which contains any distribution sites that are not accessible to the regular user.