#1220 | Chethan, Sravanthi | Added auto focus for patient search field and extracted focusOn from directives.js to new directive