Add print button to every encounter with custom URL/path - OpenMRS 2x and RefApp 2x

Hi, How can I add print button to each encounter? The print button can have any to two states,

  1. Default: When we do not set any custom settings then it should work as default. In default state, the HTML form have to be printed as it shown in view mode.

  2. Custom: We should be able to set custom path(href/URL) for print button. The path should access some parameters too. It gives good flexibility have our own designed report template (xreport) for each encounter. example of path:



Relevant Topics:

@dkayiwa, @zafar1234, @mseaton, @mogoodrich

I think the best place for print button is following file of Coreapps Module

Did you try make those changes and see what happens?

Coreapps Module is not listed in projects drop-down of issue creation in Jira. Can you please add Coreapps Module among projects list?

For coreapps we use the Reference Application (RA) project.

Here is the issue created for this task: