Navigation Links Control

Navigation Links Control can be configured to list the links of required pages. Clicking on the link will help navigate to that particular page. One can use the default links that are provided or can also configure custom links.


Add to clinical/dashboard.json for it to appear on the patient dashboard
"navigationLinksControl": {
                "title":"Navigation Links Control",
                "translationKey": "DASHBOARD_TITLE_NAVIGATION_LINKS_CONTROL_KEY",
                "type": "navigationLinksControl",
                "displayOrder": 10,
                "showLinks" : ["home", "visit", "registration"],
                "customLinks": [
                    {
                        "translationKey": "CONSULTATION_PAGE_KEY",
                        "url": "../clinical/#/default/patient/{{patientUuid}}/concept-set-group/observations"
                    },
                    {
                        "translationKey": "OpenELIS",
                        "url": "/openelis"
                    }
                ]
            },
KeyInfoMandatory
type

Name of the display control  

Y
translationKeyInternationalizes and displays the title.Y
titleThe label that will be displayed on the display control (If translationKey is present no need to give it)N
displayOrderThe order in which the display control will be displayed. if not specified the display is shown after the displays which have an order specifiedN
showLinks

List of links user would like to inherit from default links provided by the Bahmni.

Please refer to this file to see the Key Names for Internationalization.

N

 "home" (Enables link to navigate to Home Page/Dashboard)

"visit"     (Enables link to navigate to current patient's Active Visit Page)

"registration"     (Enables link to navigate to current patient's Registration Page)

"inpatient"     (Enables link to navigate to current patient's Inpatient/ADT Page/Dashboard)

"enrolment"     (Enables link to navigate to current patient's Program Page/Dashboard)

"visitAttribute"     (Enables link to navigate to current patient's Visit Attributes Page (second page of registration or visit page of registration))


customLinksList of links that the user would like to add which are not provided by product. If specified, then below attributes are mandatory.N

translationKey : Internationalizes and displays the Text in the linkY

url: Url to navigate (on click of the link)

Y

On this Page

Related Display Controls

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)