Java 类ims.core.vo.PatientDocumentSearchFilterVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocStatus().setValue(searchFilter.getStatus());
    form.cmbDocType().setValue(searchFilter.getCategory());
}
项目:AvoinApotti    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocType().setValue(searchFilter.getCategory());
    form.ccResponsibleHcp().setValue(searchFilter.getResponsibleHcp());

    if(searchFilter.getUseGeneratedInsteadOfEventIsNotNull() && searchFilter.getUseGeneratedInsteadOfEvent().booleanValue())
    {
        form.GroupDate().setValue(GroupDateEnumeration.rdoGenerated);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocStatus().setValue(searchFilter.getStatus());
    form.cmbDocType().setValue(searchFilter.getCategory());
}
项目:openMAXIMS    文件:Logic.java   
private void open()
{
    form.setMode(FormMode.VIEW);
    clearSearchScreen();

    if (form.getGlobalContext().Core.getPatientDocumentSearchFilterIsNotNull())
    {
        populateSearchFilterScreenFromData(form.getGlobalContext().Core.getPatientDocumentSearchFilter());

    }

    if (validateSearchCriteria(false))
    {
        populatePatientDocumentsGrid(listPatientDocumentsAndDisplayNoResultError());

        PatientDocumentSearchFilterVo searchFilter = form.getGlobalContext().Core.getPatientDocumentSearchFilter();

        if (searchFilter != null && searchFilter.getColumnSortOrder() != null)
        {
            setSortOrderForColumn(searchFilter.getColumnSortOrder().getColumnId(), searchFilter.getColumnSortOrder().getSortOrder());
        }
    }

    updateControlState();
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocType().setValue(searchFilter.getCategory());
    form.ccResponsibleHcp().setValue(searchFilter.getResponsibleHcp());

    if(searchFilter.getUseGeneratedInsteadOfEventIsNotNull() && searchFilter.getUseGeneratedInsteadOfEvent().booleanValue())
    {
        form.GroupDate().setValue(GroupDateEnumeration.rdoGenerated);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void search() 
{
    form.grdDetails().getRows().clear();//  WDEV-13636

    if (validateSearchCriteria(true))
    {
        saveSearchFilter();
        populatePatientDocumentsGrid(listPatientDocumentsAndDisplayNoResultError());

        PatientDocumentSearchFilterVo searchFilter = form.getGlobalContext().Core.getPatientDocumentSearchFilter();

        if (searchFilter != null && searchFilter.getColumnSortOrder() != null)
        {
            setSortOrderForColumn(searchFilter.getColumnSortOrder().getColumnId(), searchFilter.getColumnSortOrder().getSortOrder());
        }

        updateLocalContext();
    }
}
项目:openMAXIMS    文件:Logic.java   
private void addColumnSortToSearchCriteriaGC(int identifierColumnId, SortOrder sortOrder)
{
    if (form.getGlobalContext().Core.getPatientDocumentSearchFilter() == null)
        form.getGlobalContext().Core.setPatientDocumentSearchFilter(new PatientDocumentSearchFilterVo());

    ColumnSortOrderVo columnSortOrder = new ColumnSortOrderVo();

    columnSortOrder.setColumnId(identifierColumnId);

    if (SortOrder.ASCENDING.equals(sortOrder))
        columnSortOrder.setSortOrder(1);
    else
        columnSortOrder.setSortOrder(-1);

    form.getGlobalContext().Core.getPatientDocumentSearchFilter().setColumnSortOrder(columnSortOrder);

}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocStatus().setValue(searchFilter.getStatus());
    form.cmbDocType().setValue(searchFilter.getCategory());
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocType().setValue(searchFilter.getCategory());
    form.ccResponsibleHcp().setValue(searchFilter.getResponsibleHcp());

    if(searchFilter.getUseGeneratedInsteadOfEventIsNotNull() && searchFilter.getUseGeneratedInsteadOfEvent().booleanValue())
    {
        form.GroupDate().setValue(GroupDateEnumeration.rdoGenerated);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocStatus().setValue(searchFilter.getStatus());
    form.cmbDocType().setValue(searchFilter.getCategory());
}
项目:openmaxims-linux    文件:Logic.java   
private void populateSearchFilterScreenFromData(PatientDocumentSearchFilterVo searchFilter)
{
    clearSearchScreen();

    if (searchFilter == null)
        return;

    if (searchFilter.getEpisodeOfCareIsNotNull())
    {
        form.cmbEpisodes().setValue(searchFilter.getEpisodeOfCare());
    }

    form.cmbSpecialty().setValue(searchFilter.getSpeciality());
    form.ccMos().setValue(searchFilter.getAuthoringHCP());
    form.dteFrom().setValue(searchFilter.getDateFrom());
    form.dteTo().setValue(searchFilter.getDateTo());
    form.cmbDocType().setValue(searchFilter.getCategory());
    form.ccResponsibleHcp().setValue(searchFilter.getResponsibleHcp());

    if(searchFilter.getUseGeneratedInsteadOfEventIsNotNull() && searchFilter.getUseGeneratedInsteadOfEvent().booleanValue())
    {
        form.GroupDate().setValue(GroupDateEnumeration.rdoGenerated);
    }
}
项目:AvoinApotti    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setStatus(form.cmbDocStatus().getValue());

    return searchFilter;
}
项目:AvoinApotti    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setPatient(form.getGlobalContext().Core.getPatientShort());                // WDEV-13492
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setResponsibleHcp(form.ccResponsibleHcp().getValue());
    searchFilter.setUseGeneratedInsteadOfEvent(GroupDateEnumeration.rdoGenerated.equals(form.GroupDate().getValue())?true:null);

    return searchFilter;
}
项目:openMAXIMS    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setStatus(form.cmbDocStatus().getValue());

    return searchFilter;
}
项目:openMAXIMS    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setStatus(form.cmbDocStatus().getValue());

    return searchFilter;
}
项目:openMAXIMS    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setPatient(form.getGlobalContext().Core.getPatientShort());                // WDEV-13492
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setResponsibleHcp(form.ccResponsibleHcp().getValue());
    searchFilter.setUseGeneratedInsteadOfEvent(GroupDateEnumeration.rdoGenerated.equals(form.GroupDate().getValue())?true:null);

    return searchFilter;
}
项目:openmaxims-linux    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setStatus(form.cmbDocStatus().getValue());

    return searchFilter;
}
项目:openmaxims-linux    文件:Logic.java   
private PatientDocumentSearchFilterVo populateSearchFilterDataFromScreen()
{
    PatientDocumentSearchFilterVo searchFilter = new PatientDocumentSearchFilterVo();
    searchFilter.setPatient(form.getGlobalContext().Core.getPatientShort());                // WDEV-13492
    searchFilter.setEpisodeOfCare(form.cmbEpisodes().getValue());
    searchFilter.setSpeciality(form.cmbSpecialty().getValue());
    searchFilter.setAuthoringHCP(form.ccMos().getValue());
    searchFilter.setDateFrom(form.dteFrom().getValue());
    searchFilter.setDateTo(form.dteTo().getValue());
    searchFilter.setCategory(form.cmbDocType().getValue());
    searchFilter.setResponsibleHcp(form.ccResponsibleHcp().getValue());
    searchFilter.setUseGeneratedInsteadOfEvent(GroupDateEnumeration.rdoGenerated.equals(form.GroupDate().getValue())?true:null);

    return searchFilter;
}