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

Barcodes in Print

Steps to generate Barcode in the Print

Download JsBarcode.all.min.js and include in the html script tag

<script src="{{path}}/JsBarcode.all.min.js"></script>

Create an image tag with parameter jsbarcode-value which holds the value that can be used to generate the barcode.

<img id="barcode"
  jsbarcode-value="{{patient.primaryIdentifier.identifier}}"
</img>

Initialize the barcode generation by adding below mentioned script tag

<script>
  (function() {  
     JsBarcode("#barcode").init();    
  })();
</script>
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗