some refactoring for the trimming patient list when it exceeds the 255
length for: Patient Lookup widget should show recently-accessed patients
- RA-200