Patients are listed in a patient register under a unique number, which makes up the master patient index.
Patient index number is making the billing and insurance system work more easily. It can also help to differentiate patient with a similar name.