The GS1 UDI barcode combines the Device Identifier (DI), also known as the GTIN by GS1.org, which would be a static portion of the barcode, the Production Identifier (PI), which would be a dynamic portion of the barcode, including Application Identifiers such as Serial (AI-21), Lot Number (AI-10), and Expiration Dates (AI-17). GS1 UDI can be created as a GS1-128 or a GS1 DataMatrix, depending on the space allotted on the label.
NOTE: When generating UDI symbols, IDAutomation recommends testing the result with the Data Decoder App, which parses out GS1 data to verify proper encoding.
| Data Delimiters | Identifier | Data Type | HR Field Size | DB Field Size | Example Data |
| (01) | Device Identifier (DI) | Numeric | 16 | 14 | 51022222233336 |
| (11) | Manufacturing/Production Date | Numeric | 8 | 6 (YYMMDD) | 141231 |
| (17) | Expiration Date | Numeric | 8 | 6 (YYMMDD) | 150707 |
| (10) | Batch/Lot Number | Alphanumeric | 22 | 20 | A213B1 |
| (21) | Serial Number | Alphanumeric | 22 | 20 | 1234 |
The final human-readable string for this example is: (01)51022222233336(11)141231(17)150707(10)A213B1(21)1234




