Steps to Reproduce:
Go to Bahmni Home → IPD Module → click on “Patient List” tab
click on “Admitted” queue (make sure we have a patient in the queue) and open a patient. This will open up a page which has patient details.
Now click on “Patient Id” under Patient Details section. This is a hyperlink. This will redirect you to IPD patient dashboard. This url is hardcoded in the code.
As part of this card we have made the link configurable so that clicking on “Patient Id” link would redirect to the url which will be configured in the configuration file.
If there is no value configured in the app.json file, then default value would be picked from bahmniapps. And the url takes visitUuid and patientUuid as path parameters.
Documentation: The below is the configuration variable that got added under “config” section to ipd/app.json file
"patientForwardUrl": "../clinical/index.html#/default/patient/{{patientUuid}}/dashboard?currentTab=DASHBOARD_TAB_GENERAL_KEY"
PR links. →
User can configure the link to which the user should be redirected when patient id is clicked on Bed Mgmt.
Closed the PR raised to default-config repo and this can be covered through documentation
Merged PR-
Raised PR to default-config. can you please check. Thanks
PR got merged by !