Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Description

The dashboard.json contains configurations that allows different display controls to be displayed on the patient dashboard.

Sample dashboard config
{
  "general": {
    "translationKey": "DASHBOARD_TAB_GENERAL_KEY",
    "displayByDefault": true,
    "maxRecentlyViewedPatients": 10,
    "sections": {}
  },
  "trends": {
    "label": "Trends",
    "maxRecentlyViewedPatients": 10,
    "sections": {}
  },
  "patientSummary": {
    "translationKey": "DASHBOARD_TAB_PATIENT_SUMMARY_KEY",
    "maxRecentlyViewedPatients": 10,
    "sections": {}
  }
}

Key Fields

KeyInfoValue Type
translationKeyInternationalizes the dashboard title. You can provide the key or the title itself.Text
labelIf internationalisation is not required, then title of the dashboard can be directly given in label.
Either translationKey or label is mandatory. 
Text
displayByDefaulttrue/false. Opens the dashboard tab by default if given as true. Atleast one dashboard should mandatorily have this as true.True/false
maxRecentlyViewedPatientsConfigure the number of patients you want to see recently viewed patients under patient switch buttonNumber
sectionsAny display control can be configured in this sections. To configure display controls see
Display Controls 
{}

On this Page

 

  • No labels