Navigation Links Control

Navigation Links Control

Purpose

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.

Screenshot

Configuration

Sample Config

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" } ] },

Key Field Table

Key

Info

Mandatory

Key

Info

Mandatory

type

Name of the display control  

Y

translationKey

Internationalizes and displays the title.

Y

title

The label that will be displayed on the display control (If translationKey is present no need to give it)

N

displayOrder

The order in which the display control will be displayed. if not specified the display is shown after the displays which have an order specified

N

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))

 

customLinks

List 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 link

Y

 

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

Y

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