Install
openclaw skills install @zhaoxinghua09-cell/udi-validatorValidate and parse medical device UDI (Unique Device Identification) strings: GS1 element strings (AI parser + GTIN mod-10 check digit + date fields), HIBCC format detection, and ICCBBA (ISBT 128) detection. Helps regulatory affairs and quality teams quickly spot malformed UDI-DI / UDI-PI data before database submission.
openclaw skills install @zhaoxinghua09-cell/udi-validator凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
| Agency | Typical prefix | Validation |
|---|---|---|
| GS1 | starts with 01 | full |
| HIBCC | starts with + | format detection only |
| ICCBBA (ISBT 128) | starts with = | detection only |
python scripts/udi_validate.py "0104006381333931"
python scripts/udi_validate.py --file barcode_dump.txt
python scripts/udi_validate.py --checkdigit 0400638133393
Exit 0 = all valid; 1 = any problem. Per input it reports: detected agency, parsed AI fields, check-digit verdict, date-field verdicts.
00 (GS1 "day unknown") is accepted and flagged.| 发码机构 | 典型前缀 | 校验程度 |
|---|---|---|
| GS1 | 以 01 开头 | 完整校验 |
| HIBCC | 以 + 开头 | 仅格式识别 |
| ICCBBA (ISBT 128) | 以 = 开头 | 仅识别 |
python scripts/udi_validate.py "0104006381333931"
python scripts/udi_validate.py --file barcode_dump.txt
python scripts/udi_validate.py --checkdigit 0400638133393
退出码 0 = 全部合法;1 = 有任意问题。每个输入报告:识别的发码机构、解析的 AI 字段、校验位结论、日期字段结论。
00(GS1 "日期未知")会被接受并标记。