...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Introduction
OpenSpecimen allows to configure graphical dashboards with various counters and graphs. This helps users to get a summary view of the data collected for the protocol. A default dashboard is shipped with OpenSpecimen which is set for all protocols. But users can change this to update the dashlets as per requirement. Dashboard feature is available as an enterprise plugin.
Default dashboard
When OpenSpecimen is deployed with dashboard plugin, all protocols are set with a default dashboard with below elements:
- Metrics(Counts)
- Total participants
- Total primary specimens
- Total available specimens
- Total distributed specimens
- Graphs
- Specimens by type
- Specimens by anatomic site
- Specimens collected vs distributed in previous quarter
- Specimens stored by freezer
Creating dashlets
Each of the above elements - metrics and graphs are considered as dashlets. These dashlets can either be created using query interface or REST API. . For details on creating using query interface, refer to Dashboard changes using query.
Create dashlet via API
URL: http[s]:<host>:<port>/openspecimen/rest/ng/dashlet-configs
URL | http://<host>:<port>/ openspecimen/rest/ng/dashlet-configs | |||||
Method | POST | |||||
Request | application/json | |||||
Example json for Metric | Dashlet to include metric : Count of completed visits
| |||||
Example json for graph | Dashlet to include graph : Available aliquots by type
|
Configuring dashboards to CP
Different dashboards can be set per CP. To change settings per CP, go to individual protocol settings and edit the dashlets to be included or excluded.
...
URL | http://<host>:<port>/ openspecimen/rest/ng/dashboards/{dashboardId} | |||||
Method | PUT | |||||
Request | application/json | |||||
Example json |
|
Configuring dashboards to SpecimenCatalog
Query existing dashboard set for public SpecimenCatalog:
...