How can I add print button to each encounter? The print button can have any to two states,
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.
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: