OCR Programming
335
Health Industry - HIBCC43
This is the health industry module 43 check digit standard. The check digit is the modulus 43 sum of all the
character values in a given message, and is printed as the last character in a given message.
Example:
Supplier Labeling Data Structure: + A 1 2 3 B J C 5 D 6 E 7 1
Sum of values: 41+10+1+2+3+11+19+12+5+13+6+14+7+1 = 145
Divide 145 by 43. The quotient is 3 with a remainder of 16. The check digit is the character corresponding to the
value of the remainder (see Table 25), which in this example is 16, or G. The complete Supplier Labeling Data
Structure, including the check digit, therefore is:
A 1 2 3 B J C 5 D 6 E 7 1 G
Table 25 Table of Numeric Value Assignments for Computing HIBC LIC Data Format Check Digit
0 = 0 9 = 9 I = 18 R = 27 - = 36
1 = 1 A = 10 J = 19 S = 28 . = 37
2 = 2 B = 11 K = 20 T = 29 Space = 38
3 = 3 C = 12 L = 21 U =30 $ = 39
4 = 4 D = 13 M = 22 V = 31 / = 40
5 = 5 E = 14 N = 23 W = 32 + = 41
6 = 6 F = 15 O = 24 X = 33 % = 42
7 = 7 G = 16 P = 25 Y = 34
8 = 8 H = 17 Q = 26 Z = 35
Health Industry - HIBCC43
(9)