Medical / UDI Label Tutorial
Create controlled UDI labels with GS1 DataMatrix, DI/PI data, HRI, scan evidence, template version control and archived production records.
Purpose
Medical device labels require controlled data, controlled templates and proof that the printed carrier can be decoded. Label Studio Creator can help structure the workflow, but it does not replace regulatory validation by the manufacturer or quality system owner.
This guide focuses on GS1-based UDI production: device identifier, production identifiers, GS1 DataMatrix, HRI, printed scan evidence, queue release and archive for reprint/audit.
1. Separate DI and PI data
UDI workflows normally combine a device identifier with production identifiers. Keep these fields separate in the data source so they can be validated, displayed and archived correctly.
| Data item | Typical GS1 AI | Production control |
|---|---|---|
| Device Identifier / GTIN | (01) | Controlled master data, fixed length, check digit validation. |
| Lot / batch | (10) | Comes from production batch record; do not type manually at print time. |
| Expiry date | (17) | YYMMDD encoding, visible date format approved by quality team. |
| Serial number | (21) | Unique per device when serialization applies; archive generated sequence. |
| Manufacture date | (11) | Use only when required by the approved labeling specification. |
2. Use controlled data sources
A UDI job should be generated from controlled production data, not from free typing by an operator.
- Use CSV/SQL/REST/validated job files from the quality or production system.
- Require template ID and template version in the job ticket.
- Block missing DI, lot, expiry or serial values that are required by the product specification.
- Preview first, last and longest records for serialized batches.
- Freeze the generated data snapshot at queue release.
3. Configure GS1 DataMatrix and HRI
The encoded carrier and human-readable text must be generated from the same data. HRI should support human verification, but the encoded data is what scanner systems will process.
| Element | Recommendation | Risk if wrong |
|---|---|---|
| GS1 DataMatrix | Use the Barcode Assistant to build the GS1 AI sequence with FNC1 handling. | Scanner may decode plain DataMatrix instead of GS1 structured data. |
| Module size | Use a conservative size validated on the final printer/media. | Small medical labels often fail because the code is too small. |
| Quiet zone | Keep the DataMatrix clear of text, borders, folds and rounded corners. | Scan reliability drops even when the screen preview looks correct. |
| HRI | Display AIs in parentheses, with approved date and lot presentation. | Manual HRI can disagree with the encoded carrier. |
4. Release gates
Template approval
Only release templates with approved version, product reference, label size, symbols and language content.
Data validation
Validate required AIs, check digits, date formats, serial uniqueness and product-to-template mapping.
Printed scan evidence
Print a sample on final media, scan it, and store decoded value, operator and device route with the job.
5. Production queue and reprint
Medical reprints must preserve the original approved data. Rebuilding a label manually from the template risks changing lot, serial, expiry, layout or template version.
| Queue action | UDI-specific rule |
|---|---|
| Hold | Use while waiting for quality approval, scan evidence or missing batch data. |
| Release | Release only after template, data, media and scan evidence are accepted. |
| Cancel | Record why a batch or serial range was cancelled. |
| Reprint | Reprint from archived job snapshot, not from newly entered data. |
| Archive | Store template version, data snapshot, barcode decoded value, operator, timestamp, printer/media route and approval state. |
6. Physical sample checks
| Check | What to inspect |
|---|---|
| DataMatrix scan | Decoded AI sequence matches the job ticket exactly. |
| Small text | Lot, expiry, reference and symbols remain readable at final label size. |
| Durability | Ink/toner adhesion and abrasion resistance match the product handling process. |
| Media compatibility | Adhesive, sterilization packaging, pouch or carton surface is approved for the product workflow. |
| Language/symbols | Required symbols and local language content match the approved labeling specification. |
7. Common errors and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| Scanner decodes plain text but not GS1 fields | Wrong DataMatrix mode or missing GS1/FNC1 handling. | Use GS1 DataMatrix mode in the Barcode Assistant and validate decoded AI structure. |
| HRI differs from barcode | HRI typed manually or formatted from different fields. | Generate HRI and encoded carrier from the same controlled variables. |
| Serial duplicated | Counter reset or job rebuilt manually. | Use serialized data source and archive released serial ranges. |
| Expiry rejected | Wrong date format or incorrect local display rules. | Validate encoded YYMMDD separately from human display format. |
| Reprint cannot be justified | No archived scan/data/template evidence. | Require queue archive before any production release. |