Register a click event to the search button in the search area. This should be done in the new search.js file.
See How we did the login event in index html. Search for onClick and you should find something like this onClick="login()"
Register a search event just like the login. Remember in the login method is something we created. This code onClick="login()" is saying when this button is clicked go to this method. So that method needs to exist. I would call the method search().
The first thing the search method should do is Check the minimum search criteria.
CRITERIA - One of these must be true
-First and Last Name Populated
OR
DOB must be populated
OR
-Visit# must be populated
Or
Medical Record Must Be Populated
Or
-AdmissionDate Must Be populated