angshu|1325| updated code to reflect changed return visit json structure as result of changed query (url), clicking on tab retains searched name context. updated tests
angshu|1325| enhanced code. Tabs are shown dependent on visible types.
angshu|1325| fixed tests for activePatientListController.