protected WebMarkupContainer initialiseSearchResults() {

    searchResultPanel =
        new SearchResultListPanel("searchResults", arkCrudContainerVO, containerForm);
    final List<BillableItemTypeStatus> billableItemTypeStatusses =
        iWorkTrackingService.getBillableItemTypeStatuses();
    iModel =
        new LoadableDetachableModel<Object>() {
          private static final long serialVersionUID = 1L;

          @Override
          protected Object load() {
            Long studyId =
                (Long)
                    SecurityUtils.getSubject()
                        .getSession()
                        .getAttribute(au.org.theark.core.Constants.STUDY_CONTEXT_ID);
            containerForm.getModelObject().getBillableItemType().setStudyId(studyId);
            for (BillableItemTypeStatus status : billableItemTypeStatusses) {
              if (Constants.BILLABLE_ITEM_TYPE_ACTIVE.equalsIgnoreCase(status.getName())) {
                containerForm
                    .getModelObject()
                    .getBillableItemType()
                    .setBillableItemTypeStatus(status);
                break;
              }
            }
            containerForm
                .getModelObject()
                .setBillableItemTypeList(
                    iWorkTrackingService.searchBillableItemType(
                        containerForm.getModelObject().getBillableItemType()));
            pageableListView.removeAll();
            return containerForm.getModelObject().getBillableItemTypeList();
          }
        };

    pageableListView = searchResultPanel.buildPageableListView(iModel);
    pageableListView.setReuseItems(true);
    AjaxPagingNavigator pageNavigator = new AjaxPagingNavigator("navigator", pageableListView);
    searchResultPanel.add(pageNavigator);
    searchResultPanel.add(pageableListView);
    arkCrudContainerVO.getSearchResultPanelContainer().add(searchResultPanel);
    return arkCrudContainerVO.getSearchResultPanelContainer();
  }
  @Override
  protected WebMarkupContainer initialiseSearchResults() {
    searchResultsPanel =
        new SearchResultListPanel(
            "searchResults", arkContextMarkup, containerForm, arkCrudContainerVO);
    searchResultsPanel.setOutputMarkupId(true);

    affectionProvider =
        new ArkDataProvider<AffectionVO, IArkDiseaseService>(iArkDiseaseService) {
          private static final long serialVersionUID = 1L;

          public int size() {
            int count = service.getAffectionCount(containerForm.getModelObject());
            return count;
          }

          public Iterator<? extends AffectionVO> iterator(int first, int count) {
            List<AffectionVO> affectionVOs =
                service.searchPageableAffections(containerForm.getModelObject(), first, count);
            return affectionVOs.iterator();
          }
        };
    affectionProvider.setModel(this.cpModel);

    dataView = searchResultsPanel.buildDataView(affectionProvider);
    dataView.setItemsPerPage(iArkCommonService.getRowsPerPage());

    AjaxPagingNavigator pageNavigator =
        new AjaxPagingNavigator("navigator", dataView) {
          private static final long serialVersionUID = 1L;

          @Override
          protected void onAjaxEvent(AjaxRequestTarget target) {
            target.add(searchResultsPanel);
          }
        };
    resultsWmc.add(pageNavigator);

    resultsWmc.add(dataView);
    searchResultsPanel.add(resultsWmc);
    arkCrudContainerVO.getSearchResultPanelContainer().add(searchResultsPanel);
    return arkCrudContainerVO.getSearchResultPanelContainer();
  }