In Bahmni, patient registration cards can be printed out to serve as a method of identification. This is particularly useful where the patient's records cannot be digitally accessed during the hospital workflow. The registration print functionality is completely configurable based on user requirements.
Steps
The Print functionality for registration appears in the Registration module as shown below :
printOptions is an array that defines the print buttons.
Key
Value
Mandatory
translationKey
If the label is to be internationalized, then a translationKey should be provided. The Key should be defined in locale.json.
Example: translationKey: "REG_CARD_PRINT"
REG_CARD_PRINT should be defined in locale.json in this manner - REG_CARD_PRINT: 'Print Reg Card'
Y
label
If Internationalization is not required, then use label instead of translationKey for showing the label on the print button. If translationKey and label both are provided then translationKey will take the precedence.
Example: label: 'Print Reg Card'
N
templateUrl
This will define the path for the URL that has the data that is to be printed.
Y
shortcutKey
This can be used to provide a keyboard shortcut for the Print button.
N
For more options on how to show various attribute, address or observation values in the print layouts see these examples: