bsdisaster / MintsicleHealthECache

Mintsicle HealthECach
1 stars 0 forks source link

Add and enforce minimum search criteria #17

Open bsdisaster opened 1 year ago

bsdisaster commented 1 year ago
  1. Register a click event to the search button in the search area. This should be done in the new search.js file.
  2. See How we did the login event in index html. Search for onClick and you should find something like this onClick="login()"
  3. 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().
  4. 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