Hello Team, I am facing an issue with Discharge Summary Print on dashboard in bahmni. I am trying to configure some prints under the Print button as a dropdown on the Patient Dashboard page. For that I have added configuration as “quickPrints”:true in the ‘config’ section of /clinical/app.json file and added printing capability to two tabs in /clinical/dashboard.json as:
"general":{
"translationKey":"DASHBOARD_TAB_GENERAL_KEY",
"displayByDefault":true,
"maxRecentlyViewedPatients":10,
"printing": {
"title": "Bahmni Hospital",
"header": "General Patient Summary",
"logo": "../images/jss_logo.png",
"showNameAndImage": true
},
"sections":{
"patientSummary":{
"translationKey":"DASHBOARD_TAB_PATIENT_SUMMARY_KEY",
"maxRecentlyViewedPatients":10,
"printing": {
"title": "ABC Hospital",
"header": "Summary Report",
"logo": "../images/bahmniLogo.png",
"showNameAndImage": false
},
"sections":{
In the dropdown, Visit and Discharge Summary options are coming by default. Also when we click on Visit option it opens Visit print preview correctly but when we are clicking on Discharge Summary print option then also it opens Visit print preview instead of Discharge Summary print preview.
Also attaching the videoLink
And when we tried to remove Visit and Discharge Summary print options from that dropdown by removing printing functionality from /clinical/visit.json file for Visit and Discharge Summary then it removes the Visit and Discharge Summary options from dropdown but then we are unable to print the Visit and Discharge Summary from Visit Dashboard since it removes print option from Visit Dashboard also which already exist. Have a look into the attached screenshots.
Print option removed from Visit dashboard for Visit
Discharge Summary option on Visit Dashboard
Print option removed from Visit dashboard for Discharge Summary.
I want to show Discharge Summary Print preview correctly after clicking on it otherwise I want that option to remove from only Patient Dashboards print dropdown not from Visit Dashboard. But for that there is no any configuration available.
Please provide any suggestions for this.