Versions Compared

Key

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

Description

<Brief Description>

Steps

<4-5 granular steps to implementing it. Each step should be accompanied with details, a screenshot and code snippets as required. >The dashboard.json contains configurations that allows different display controls to be displayed on the patient dashboard. 

Steps

Every display control on the patient dashboard requires a particular configuration to be added to the dashboard.json which allows it to appear and also defines what values the display control will show.

 

  1. Configuring patient information section: 

      The following configuration, when added to the dashboard.json will enable the patient information display control. This will contain the following details :

  1. Patient information
  2. Address information

 

Code Block
"sections": {
            "<dashboardName>patientInformation": {
                "translationKeytitle": "<Title>Patient Information",
                "displayByDefaultname": true,"patientInformation",
                "maxRecentlyViewedPatientsdisplayOrder": 10, 0,
                "ageLimit":100,
                "sectionspatientAttributes": { //Sections that need to be listed on this dashboard. [ "Class",
                "education",
           }     },"occupation",
                },"secondaryContact"],
                "<anotherDashboardName>": {
		…addressFields": [
                    "address1",
                    "address2",
                    "cityVillage",
                    "countryDistrict"
                ]
           } }

Note : The patient attributes that will be displayed on the display control are mapped to the person attributes in OpenMRS and the address fields are mapped to address hierarchy in OpenMRS.

 

 

 

 

 

 

Tip
titleOn this Page

Table of Contents