PharmaLedger-IMI / epi-workspace

ePI use case main repository
MIT License
4 stars 0 forks source link

App Scan Serialized GS1-128 Code #113

Closed maherpa2 closed 2 years ago

maherpa2 commented 3 years ago

PL user story: #93 (see full overview for additional information)

Description: Changes to the App and decoding in order to be able to scan a GS1-128 1D code:

Acceptance criteria's: positive tests

negative tests / error path testing

Process scenario:

Additional information: The fact that the code is a 1D code or a Datamatrix code should not matter to the end user. Create a 1D code and a Datamatrix code with the same information and the end result must be the same i.e. the ePI is shown or the serial number etc. check passes/ fails.

UnHynek commented 3 years ago
andrejstas commented 3 years ago

Current open-source solution ZXing (https://github.com/zxing/zxing) is NOT capable of scanning this code.

mppub commented 3 years ago

Code to print: https://barcode.tec-it.com/en/Code128?data=(01)05290931025615(10)VM3306(17)260831

mppub commented 3 years ago

Testing node: in theory the ZXing library is able to scan GS1-128 and uploading an image works, the issues comes with the length of the code - in order to put the gtin batch and expiry date the code is quite long and the camera of the opensource does not catch it.

Scandit should work.

rite2bala commented 3 years ago

Yet to test - Dependency on Scandit and release of native apps