Update index pages to account for lowercase letters, numbers, etc.
Update index pages to account for lowercase letters, numbers, etc.

This was an issue for both ViViaN and ViViaN-R.

Refactored to remove copy + paste.

See VIVIAN-285

Change-Id: Ib5742c7759b3d177793c84792cdaf66453b35897

josephsnyder/VistA,josephsnyder/VistA,OSEHRA/VistA,OSEHRA/VistA,josephsnyder/VistA,OSEHRA/VistA,josephsnyder/VistA,OSEHRA/VistA,josephsnyder/VistA,OSEHRA/VistA,josephsnyder/VistA,OSEHRA/VistA