...
Both the pages are divided into multiple tabs. Number of tabs and what widget goes in each tab is configurable.
...
Dashboard page
Filename: dashboard.json
...
{
"general":{
"dashboardName": "General",
"displayByDefault": true,
"maxRecentlyViewedPatients": 10,
"sections": {
"diagnosis": {
"title": "Diagnosis",
"name": "diagnosis",
"showCertainty": true,
"showOrder": true
}
}
}
}
...
Field Name | Description |
---|---|
dashboardName | Name of the dashboard tab. This will be displayed as the tab label |
displayByDefault | Will always show this tab by default on load of the dashboard |
maxRecentlyViewedPatients | Number of patients to show in the "Recent Patients" dropdown |
sections | An array that lists all the widgets (and its configs) to be displayed in this tab |
...
Visit Page
Filename: visit.json
...
{
"general": {
"title": "General",
"displayByDefault": true,
"printing": {
"title": "Jan Swasthya Sahyog Community Health Centre",
"header": "Visit",
"logo": "../images/jss-icon.png"
},
"defaultSections": true,
"sections": {
"pivotTable": {
"type": "pivotTable",
"title": "Pivot table",
"config": {
"groupBy": "encounters",
"obsConcepts": [
"Vitals",
"Height",
"WEIGHT",
"M/C Days"
],
"drugConcepts": ["Gamma Benzene Hexachloride"],
"labConcepts": ""
}
}
}
}
}
Field Name | Description |
---|---|
title | Name of the visit tab. This will be displayed as the tab label |
displayByDefault | Will always show this tab by default on load |
printing | Header information when printing a visit tab |
defaultSections | When set to truefalse, will include exclude the default pre-configured patient visit widgets, and only show the ones you configure in this tab. Note: At least one dashboard/tab should have this as true. See this discussion. |
sections | An array that lists all the widgets (and its configs) to be displayed in this tab. When 'defaultSections' is set to true, these sections will be append at the end of the default sections |
...