BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Configure Patient Card Prints

Purpose and Benefits

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 :

Screen Shot 2015-11-18 at 12.09.47 PM.png

To configure the Registration print refer to https://github.com/Bahmni/default-config/blob/master/openmrs/apps/registration/app.json

The app.json contains the following snippet which can be changed to fit the implementation :

"printOptions": [
            {
				"translationKey": "REG_CARD_PRINT",
				"templateUrl": "/bahmni_config/openmrs/apps/registration/registrationCardLayout/print.html",
				"shortcutKey": "p"
			},
            {
				"label": "P<u>r</u>int Supplemental Paper",
				"templateUrl": "/bahmni_config/openmrs/apps/registration/supplementalPaperLayout/print.html",
				"shortcutKey": "r"
			}

printOptions is an array that defines the print buttons.

KeyValueMandatory
translationKeyIf 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
labelIf 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: &nbsp;'Print Reg Card'N
templateUrlThis will define the path for the URL that has the data that is to be printed.Y
shortcutKeyThis can be used to provide a keyboard shortcut for the Print button.N

Default Config is located in /var/www/bahmni_config

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗