Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 NameDescription
dashboardNameName of the dashboard tab. This will be displayed as the tab label
displayByDefaultWill always show this tab by default on load of the dashboard

maxRecentlyViewedPatients

Number of patients to show in the "Recent Patients" dropdown
sectionsAn 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 NameDescription
titleName of the visit tab. This will be displayed as the tab label
displayByDefaultWill always show this tab by default on load
printingHeader information when printing a visit tab
defaultSectionsWhen 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.
sectionsAn 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 

...