09.04.2013 Views

SNOMED CT® Release Format 1 (RF1) Guide - ihtsdo

SNOMED CT® Release Format 1 (RF1) Guide - ihtsdo

SNOMED CT® Release Format 1 (RF1) Guide - ihtsdo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9<br />

0<br />

9<br />

Table 29: The full array for Function F<br />

0<br />

1<br />

2<br />

3<br />

4<br />

5<br />

6<br />

7<br />

0<br />

0<br />

1<br />

5<br />

8<br />

9<br />

4<br />

2<br />

7<br />

Table 30: The Inverse D5 array<br />

0<br />

0<br />

1<br />

4<br />

1<br />

8<br />

1<br />

1<br />

5<br />

8<br />

9<br />

4<br />

2<br />

7<br />

0<br />

2<br />

3<br />

2<br />

7<br />

2<br />

2<br />

7<br />

0<br />

1<br />

5<br />

8<br />

9<br />

4<br />

3<br />

2<br />

3<br />

6<br />

3<br />

3<br />

6<br />

3<br />

6<br />

3<br />

6<br />

3<br />

6<br />

4<br />

1<br />

4<br />

5<br />

4<br />

4<br />

2<br />

7<br />

0<br />

1<br />

5<br />

8<br />

9<br />

The Identifier is checked by starting at the rightmost digit of the Identifier (the check-digit itself) and proceeding<br />

to the left processing each digit as follows:<br />

• Check = ArrayDihedralD5 (Check, ArrayFunctionF((Position Modulus 8), Digit))<br />

Check = the running value of the check-sum (starts at zero and modified by each step).<br />

Position = the position of the digit (counted from the right starting at zero).<br />

Digit = the value of the digit.<br />

.<br />

The final value of Check should be zero. Otherwise the check has failed.<br />

When calculating the check-digit the same process is applied with a minor variation:<br />

• Position is the position that the digit will have when the check-digit has been appended.<br />

• The final value of Check is applied to the Inverse D5 array to find the correct check-digit.<br />

Check-digit = ArrayInverseD5 (Check).<br />

.<br />

5<br />

5<br />

5<br />

4<br />

5<br />

5<br />

8<br />

9<br />

4<br />

2<br />

7<br />

0<br />

1<br />

6<br />

6<br />

6<br />

3<br />

6<br />

6<br />

3<br />

6<br />

3<br />

6<br />

3<br />

6<br />

3<br />

Structure and Content <strong>Guide</strong> | 93<br />

© 2002-2012 International Health Terminology Standards Development Organisation CVR #: 30363434<br />

7<br />

7<br />

7<br />

2<br />

7<br />

7<br />

0<br />

1<br />

5<br />

8<br />

9<br />

4<br />

2<br />

8<br />

8<br />

8<br />

1<br />

8<br />

8<br />

9<br />

4<br />

2<br />

7<br />

0<br />

1<br />

5<br />

9<br />

0<br />

9<br />

9<br />

4<br />

2<br />

7<br />

0<br />

1<br />

5<br />

8<br />

9<br />

9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!