Issue 21: search for a client
Project Member Reported by bkmackellar, Apr 19, 2014

Search for a client, by name, SSN or status. Remember that searching by name or status may return more than one client. Clicking on a client in a list of clients should take you to the client edit script

We need to determine the criteria to search on. Right now, for example, there is a general field "name". I think it should be two fields - one for first name and one for last name. I also think we need to search for clients by ssn and status.

I added a routine in dbClients, getonlythose_dbClients($status, $fname, $lname)
This is similar to the getonlythose_dbPersons function used in the original personSearch.php script from RMHHomebase. It is now tested in the testdbClients test script, and seems to work. It is also called in clientSearch.php - HOWEVER, that call will not work right now. That is because the fields displayed by clientSearch.php need to be cleaned up and aligned to getonlythose_dbClients. We can add parameters to getonlythose_dbClients if needed.
May 2, 2014
Project Member #1 bkmackellar
I think we are going to also need to search for clients who have not been seen in the clinic for over 6 months. This might be tricky because of issues with appointments, but at least there should be a slot for specifying this search