public void lastNameSearch() {
    if (searchLastNameTb.getValue().length() < 3) {
      errLbl.setValue("Please enter at least 3 characters when searching");

      searchResult.setVisible(false);
    } else {
      errLbl.setValue("");
      this.physicians = PhysicanManager.searchByLastName(searchLastNameTb.getValue());
      if (physicians != null && physicians.size() > 0) {
        List<Physician> physicianList = (List<Physician>) searchResultLb.getModel();
        physicianList.clear();
        physicianList.addAll(physicians);
        searchResult.setVisible(true);
      } else {
        errLbl.setValue("No treatment provider found for: " + searchLastNameTb.getValue());
        searchResult.setVisible(false);
      }
    }
  }
 public void onClick$searchLastNameBtn(MouseEvent event) {
   successLbl.setValue("");
   errLbl.setValue("");
   lastNameSearch();
 }