California Cancer Reporting System Standards, Volume III

 

APPENDIX 5  MODIFIED NYSIIS NAME CODING 

Note: Vowel = A, E, I, O, U, or Y

A.       Name Manipulation

1.       If the first letters of the name are:

MAC

change these letters to

MCC

KN

change these letters to

NN

K

change these letters to

C

PH

change these letters to

FF

PF

change these letters to

FF

SCH

change these letters to

SSS

WR

change these letters to

RR

RH

change these letters to

RR

DG

change these letters to

GG

Y#

change these letters to

A#

Z+

change these letters to

S+

A, E, I, O, U,

change these letters to

A

# non-vowell

 

 

+ vowel

 

 

 

2.       Drop terminal S or Z from all names.

3.       If the last letters of the names:

I

change these letters to

Y

EE. IE, YE

change these letters to

Yb

DT, RT, RD

change these letters to

Db

NT or ND

change these letters to

Nb

LE

change these letters to

EL

IX

change these letters to

ICK

EX

change these letters to

ECK

YX

change these letters to

YCK

bJR or bSR

change these letters to

b*

* b = blank

 

 

B.       Name Coding

In the following rules, a sequential left to right scan is performed on the letters of the surname.  This is described in terms of a program loop.

A pointer is used to indicate the current position.

1.       The first letter of the NYSIIS code is the first letter of the manipulated name.

2.       Set the pointer to the second letter of the name.

3.       Execute only one of the following statements:

a.       If blank, go to step 4.

b.       If the current position is 'E' and if the next letter is 'V', change 'EV' to 'AF'; if the next letter is not 'V', change current position to 'A'.

c.       If the current position is A, I, O or U, change to 'A'.

d.       If the current position is 'Y' and it is not the last letter of the name, change the current position to 'A'.

e.       If the current position is:

Q

change the letter to

G

Z

change the letter to

S

M

change the letter to

N

f.        If the current position is 'K' and if the next letter is 'N', change the current position to 'N';

if the next letter is not 'N', change the current position 'C'.

g.       If the current position is 'S' and the next letters are 'CH', change to 'SSA' if end of the name or change to 'SSS' if not the end of the name.

h.       If the current position is 'S' and the next letter is 'H', change to 'SA' if end of the name or change to 'SS' if not the end of the name.

I.        If the current position is 'P' and the next letter is 'H', change 'PH' to 'FF'.

j.        If the current position is 'G' and the next letters are 'HT', change 'GHT' to 'TTT'.

k.       If the current position is 'D' and the next letter is 'G', change 'DG' to 'GG'.

l.        If the current position is 'W' and the next letter is 'R', change 'WR' to 'RR'.

m.      If the current position is 'H' and either the preceding or following letter is not a vowel, replace the current position with the preceding letter.

n.       If the current position is 'W' and the preceding letter is a vowel, replace the current position with the preceding letter.

o.       If none of these rules apply, retain the current position letter value.

4.       If the end of the name has been reached, go to step 7.

5.       If the current position letter is equal to the last letter placed in the code, set the pointer to the next letter and go to step 3.

6.       The next character of the NYSIIS code is the current position letter.  Increment the pointer to point to the next letter and go to step 3.

7.       If the last letter of the NYSIIS code is 'S', remove it.

8.       If the last two letters of the NYSIIS code are 'AY', replace 'AY' with the single letter 'Y'.

9.       If the last letter of the NYSIIS code is 'A', remove it.

10.     If the first letter of the NYSIIS code is 'A', replace it with the first letter of the original name.