What types of barcodes does DHIS2 support

Does the DHIS2 documentation provide a complete list of all barcode types which are supported by the scanner?

I am aware of QR-codes and GS1-DataMatrix codes but would like to know other types such as EAN, Code 128, ITF, UPC-A etc.

Thanks for your help.

My tentative research:

GS1 standard barcodes: UPC A, EAN 13 (GTIN-13), GS1-128, UPC-E, ITF-14, QR Code, Data Matrix Barcode, GS1 DataMatrix Barcode

Other supported barcodes: Aztec, Aztec Code, Code 93, Codabar, Micro-Data Matrix, PDF417, EAN-8, Qode, SPARQCode, GTIN-12, Code 39, Code 128, PZN (Pharmazentralnummer) Barcode, NTIN, PPN

Hi @George_McGuire !

The android app barcode scanner is built on top of zxing. You can find there all supported types.

1 Like

Dear Pablo
Thanks for the super fast reply, really extremely helpful.

Can I suggest, Gassim (?) to add this table to the DHIS2 documentation. Practically very useful and the impressive scope of supported barcode formats demonstrates the versatility of DHIS2.

1 Like

Hi @George_McGuire

Well, thanks to you and @Pablo , we now have a ‘documented’ solution in the CoP, so yes, it’s a good idea to include a reference in the documentation. I’m not sure where exactly, maybe in Visual configurations - DHIS2 Documentation

Do you have a suggestion to where you’d expected to see this info?

Thanks!

:slight_smile:

Hi Gassim

Good question, I have no really good suggestion but perhaps:

  1. “Mobile render type”
    Programs - DHIS2 Documentation

under “Mobile render type” because I believe selecting “Bar code” or “Qr code” here is the setting that prompts opening the barcode scanner.

  1. Value type of TEA
    Not great as for a barcode field the “Value type” is “image” but this is one of the required configurations to make a barcode work and there is a long table with detailed explanations.

“Create or edit a tracked entity attribute”
“Value type”

  1. Visual configuration (Android)

QR and Barcodes

If barcodes are to be used, the settings need to be configured before and mentioning in the configuration makes more sense. On the other hand barcodes can only be used on a mobile device and this section is the only one with a header indicating barcodes.

1 Like