Perform a patient search with the current search text after connecting to the database or after adding a new patient.