Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
OpenSpecimen allows Super Admins to configure graphical dashboards at multiple levels. Institute admins can configure dashboards at the CP level only.
Per Collection Protocol
Per Catalog
A Dashboard can be configured per local needs, and its context is used.
Export Dashboard (v6.3)
You can export the dashboard summary as a PDF file.
Navigate to 'Collection Protocols' → Select a CP.
From the participants-list-view page, click on 'More' → Dashboard.
Click on the 'Print' button.
When you click the print button, a PDF file with the CP name followed by the counters and dashlets is exported.
Create Dashlets
Dashlets can be created using the query module in OpenSpecimen. For more information, refer. Dashboard Changes Using Query.
Adding Dashlets
Navigate to the Catalog of your choice, Click on the Dashboard Icon → Add ‘Dashlet’ → Select the Dashlet → Click on 'Add'
Managing Dashlets (v6.3)
Super admins and Institute Admins can see the "Dashlets" card under "Extras".
Viewing Dashlets
It is possible to view all dashlets.
Navigate to 'Extras' → Dashlets
You can search for the dashlet you wish to view using filters.
Click on the title of the dashlet to view the graph/counter.
Clicking on 'Done' will lead you to the dashlet list page.
Editing Dashlets:
A dashlet can be edited to change the name, description or its graphical representation.
Editing Name and Description
Click on the 'Edit' icon beside the dashlet title.
Enter the new title and click on 'Update'.
Editing Dashlet Definition
In some cases, after you create a dashlet using a query, you would like to edit the dashlet for
Better graphical representation
Combine two dashlets, to show two different criteria in one bar graph
Move the dashlet from one OpenSpecimen instance to other
For such cases, you need to edit the dashlet definition, which is a JSON file. Below is an example of creating a dashlets for specimens collected and distributed in the last quarter.
Create a query with condition as mentioned below. For more details, refer to the wiki page
Create a bar type dashlet with cumulative count of specimen ID as the metrics (Y axis) and the collection date(X axis) as category. See the attached image below. For more details, refer to the wiki page.
Create a query with the below conditions.
Create a bar type dashlet with cumulative count of specimen ID as the metrics (Y axis) and the order execution date(X axis) as category. See the attached image below. For more details, refer to the wiki page.
Refer to the export section below and download both the dashlet definition files.
Combine the two definition files.
JSON File
Example 1: Specimen Collected and Distributed in last quarter
To customize the dashlet for specific collection protocols—ensuring it retrieves records from only one or two protocols—simply add the following syntax at the beginning of your criteria.
CollectionProtocol.shortTitle in (\"<CP_NAME_1>\",\"CP_NAME_2\") and
You can delete a dashlet that is not required any more.
Click on the 'Delete' icon.
Note:
It should not be attached at any protocol level or system level.
Check that the value under the 'Dashboards' column is 0. If not, you will have first to remove the dashlet from all the dashboards.
Exporting Dashlet Definition
Click on the 'Export' icon.
Import Dashlet Definition
You can modify the exported dashlet definitions and import the JSON back. Also, the dashlets can be exported from one instance and imported to another instance of OpenSpecimen.
Click on the 'Import' button.
Choose the updated JSON file → 'Import'.
Embed Dashlets
OpenSpecimen provides an embed option so that the dashlets can be embedded into other web pages, such as a university site, biobank site etc., using the HTML tag. Only the Super admins can see the embed option after they log in.
Log in as Super Admin
Click on the three dots in the corner of the dashlet → Embed.
A pop-up will open with the HTML tag that can be added to the web page.
Re-order Dashlets
The order of dashlets can be changed within a Catalog or CP. All admin's can re-arrange these dashboards.
Steps to Re-order System Catalog Dashboard
Users who have access to the catalog can add/remove/re-arrange the dashlets attached to it.
Go to the 'Catalogs' → System Catalog → Dashboard.
Drag the dashlets in the expected order.
Click on 'Save' at the bottom of the page.
Steps to Re-order CP Dashboard
Similar steps can be followed for a CP dashboard. Admins who have access to collection protocol can add/remove/re-arrange the dashlets attached to it.
Navigate to CP → Select a CP, and from the overview page, click on 'Settings' → Dashboard.