Login to follow
Medicine Verification QR Code Parser

Medicine Verification QR Code Parser (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 02 August 2024 by INETUM
Medicine Verification QR Code Parser

Medicine Verification QR Code Parser (ODC)

Documentation
1.0.0

This component exposes both a Client and a Server Action, with the following signature :

QRCodeParser > Parse_MVQRCode

  • Input Parameters
    • MVQRCode - MV QR Code to Parse
  • Output Parameters
    • GTIN - GTIN Code (Global Trade Item Number)
    • LotNumber - Lot Number
    • ExpirationDate - Expiration Date (YYMMDD)
    • SerialNumber - Serial Number
    • NationalCode - National Code
    • Return - Return structure for the result of the operation

The QR Code rules are as follows:

  • Always starts with an asterisc (*)
  • Always ends with an asterisc (*)
  • GTIN - starts after the prefix 01 and has 14 digits
  • Lot Number - starts after the prefix 21 and has up to 20 characters, ending with an asterisc (*)
  • Expiration Date - starts after the prefix 17 and has 6 digits (format YYMMDD)
  • Serial Number - starts after the prefix 21 and has up to 20 characters, ending with an asterisc (*)
  • National Code - starts after the prefix 71 and has variable lengthm ending with an asterisc (*)

The parsing routine forces the day of the Expiration Date to be the last day of the month for the date, if it's parsed as 00.

An example of a QR Code:
*01098765432109822112345AZRQF1234567890*10A1C2E3G4I5*1718053171AAAAAAA*

For more information, please refer to the European Medicines Verification Organization website:

https://emvo-medicines.eu/