Repository navigation
HIBC Data Structures
The HIBC symbologies, HIBC Code 39, HIBC Code 128, HIBC PDF417, HIBC MicroPDF417, HIBC QR Code, HIBC Data Matrix, HIBC Codablock F and HIBC Aztec Code, carry data in the data structures of the HIBC Supplier Labeling Standard (SLS), which identifies products by the Labeler Identification Code (LIC) of their supplier, or of the HIBC Provider Applications Standard (PAS), which identifies patients, records and items within healthcare provider facilities.
The data is given without the leading + and the check character, which the encoders add. They are shown in the examples below.
Primary data identifies the product. It consists of a four-character LIC beginning with a letter, a product or catalogue number of 1 to 18 digits or capital letters, and a unit of measure digit:
+A999123457
Secondary data carries the expiry date and the lot or serial number. It begins with one of:
- A five-digit Julian date, YYJJJ, optionally followed by a lot number of up to 13 characters.
-
$followed by a lot number. -
$+followed by a serial number. -
$$, for a lot number, or$$+, for a serial number, followed by a format digit:- 0 or 1 is the first digit of the date MMYY.
- 2, 3, 4, 5 and 6 are followed by the date MMDDYY, YYMMDD, YYMMDDHH, YYJJJ and YYJJJHH respectively.
- 7 indicates no date.
- 8 and 9 are followed by a quantity of two and five digits respectively, and then optionally by one of the date formats.
A lot or serial number of up to 18 digits, capital letters, - and . follows. Secondary data in a symbol of its own ends with a link character, the check character of the primary data:
+$$3270630LOT427C
Primary and secondary data combined in one symbol are separated by /, without the + of the secondary data or the link character:
+A99912345/$$3270630LOT42B
Supplemental data fields follow the secondary data, each introduced by / and a Data Identifier:
- 16D is the date of manufacture, YYYYMMDD.
- 14D is the expiry date, YYYYMMDD.
- S is a serial number of up to 18 characters.
- Q is a quantity of up to five digits, and must be the last field.
+A99912345/$$7LOT42/16D20260115/SSN1001N
PAS data begins with / and a flag indicating where the data is located, A to L, or Z for a data structure that does not conform to the PAS. One or more fields follow, separated by /, each a flag indicating what the data is, A to V, X or Z, followed by 1 to 15 digits or capital letters. Fields with flag A are an LIC, fields with flag M are a date and time, YYYJJJ optionally followed by HHMM and then G for GMT, fields with flag U are a nine-character Health Industry Number, and the data of fields with flag Z is user defined:
+/AC4417PQ/V202601150
The input is checked against the data structures of the SLS and the PAS, including the validity of dates and times, unless the dontlint option is given. Reserved flags, unknown Data Identifiers and the split data structures of the PAS are refused. The standards are provided by the Health Industry Business Communications Council.
Home | Download | Documentation (PDF) | Source | Support | Issues | Online Barcode Generator
Point of Sale
GS1 DataBar
- GS1 DataBar Omnidirectional
- GS1 DataBar Stacked Omnidirectional
- GS1 DataBar Expanded
- GS1 DataBar Expanded Stacked
- GS1 DataBar Truncated
- GS1 DataBar Stacked
- GS1 DataBar Limited
- GS1 North American Coupon Code
Supply Chain
- EAN-14
- ITF-14
- SSCC-18
- GS1-128
- GS1 DataMatrix
- GS1 DataMatrix Rectangular
- GS1 QR Code
- GS1 Digital Link Data Matrix
- GS1 Digital Link QR Code
- GS1 DotCode
Two-dimensional Symbols
- Aztec Code
- Compact Aztec Code
- Aztec Runes
- Data Matrix
- Data Matrix Rectangular
- Data Matrix Rectangular Extension
- DotCode
- Han Xin Code
- PDF417
- Compact PDF417
- MicroPDF417
- QR Code
- Micro QR Code
- Rectangular Micro QR Code
- Swiss QR Code
- EPC QR Code
- EMV QR Code
One-dimensional Symbols
Postal Symbols
- Australia Post
- Canada Post PostBar
- CEPNet
- DPD Parcel Label
- Deutsche Post Identcode
- Deutsche Post Leitcode
- Japan Post
- Korea Post
- MaxiCode
- UPS MaxiCode
- Royal Mail
- Royal Mail Mailmark
- Royal Mail Mailmark 4-state
- Royal TNT Post
- UPU S10
- USPS Intelligent Mail
- USPS POSTNET
- USPS PLANET
- USPS FIM symbols
Pharmaceutical Symbols
- Italian Pharmacode
- Pharmacode
- Two-track Pharmacode
- PZN
- PPN-Code
- HIBC Code 39
- HIBC Code 128
- HIBC PDF417
- HIBC MicroPDF417
- HIBC QR Code
- HIBC Data Matrix
- HIBC Data Matrix Rectangular
- HIBC Codablock F
- HIBC Aztec Code
Less-used Symbols
- BC412
- Channel Code
- Codabar
- Codablock F
- Codablock A
- Code 11
- Code 16K
- Code 25
- Ultracode
- IATA 2 of 5
- Marks & Spencer
- Matrix 2 of 5
- Datalogic 2 of 5
- COOP 2 of 5
- Code 49
- Code One
- Grid Matrix
- Datastrip 2D
- MSI Plessey
- Plessey
- Anker Code
- PosiCode
- Telepen
- Telepen Numeric
- Kodak Patch Codes
- VIN
- LOGMARS
- DX Film Edge
GS1 Composite Symbols
- EAN-13 Composite
- EAN-8 Composite
- UPC-A Composite
- UPC-E Composite
- GS1 DataBar Omnidirectional Composite
- GS1 DataBar Stacked Omnidirectional Composite
- GS1 DataBar Expanded Composite
- GS1 DataBar Expanded Stacked Composite
- GS1 DataBar Truncated Composite
- GS1 DataBar Stacked Composite
- GS1 DataBar Limited Composite
- GS1-128 Composite
Raw Symbols
Partial Symbols