Details
-
Story
-
Status: Approved
-
Should
-
Resolution: Fixed
-
None
-
None
-
Low
Description
At PIH we would like to include the relationships widget to the registrationSummary.page.
In order to accomplish this we need to configure the widget with the following parameters:
- patientPage - indicates which patient dashboard to navigate to when clicking on the persons listed as related to the patient. By default the patient page is the Clinician Facing Dashboard
e.g.
"config": { "widget": "relationships", "icon": "icon-group", "label": "Family", "maxRecords": "3", "patientPage": "/coreapps/patientdashboard/patientDashboard.page?patientId={{patient.uuid}}5&visitId={{visit.uuid}}" }
The param needs to be used for the link at https://github.com/openmrs/openmrs-module-coreapps/blob/master/omod/src/main/webapp/resources/scripts/fragments/dashboardwidgets/relationships/relationships.html#L3