#700 - making tests go to patient page directly instead of using home page search
#700 - refactoring emergency check in test to use db setup and teardown created patient.
#700 - inlining the start visit method.
#700 - merging with new changes to create patient main identifier