Java 类ims.ocrr.vo.NewResultsListVoCollection 实例源码

项目:AvoinApotti    文件:NewResultsImpl.java   
private NewResultsListVoCollection processResults(List<?> results)
{
    HashMap map = new HashMap();
    ClinicalImagingResults impl = (ClinicalImagingResults) getDomainImpl(ClinicalImagingResultsImpl.class);
    map = impl.getListXoHistory(map, results);

    NewResultsListVoCollection voCollResults = NewResultsListVoAssembler.createNewResultsListVoCollectionFromOrderInvestigation(results);

    if(voCollResults != null)
    {
        for(NewResultsListVo voResult : voCollResults)
        {
            if(map.containsKey(voResult.getID_OrderInvestigation()))
            {
                voResult.setOrdInvXOStatusHistory((OrdInvXOStatusHistoryLiteVoCollection) map.get(voResult.getID_OrderInvestigation()));
            }
        }
    }
    return voCollResults;
}
项目:openMAXIMS    文件:NewResultsImpl.java   
private NewResultsListVoCollection processResults(List<?> results)
{
    HashMap map = new HashMap();
    ClinicalImagingResults impl = (ClinicalImagingResults) getDomainImpl(ClinicalImagingResultsImpl.class);
    map = impl.getListXoHistory(map, results);

    NewResultsListVoCollection voCollResults = NewResultsListVoAssembler.createNewResultsListVoCollectionFromOrderInvestigation(results);

    if(voCollResults != null)
    {
        for(NewResultsListVo voResult : voCollResults)
        {
            if(map.containsKey(voResult.getID_OrderInvestigation()))
            {
                voResult.setOrdInvXOStatusHistory((OrdInvXOStatusHistoryLiteVoCollection) map.get(voResult.getID_OrderInvestigation()));
            }
        }
    }
    return voCollResults;
}
项目:openMAXIMS    文件:NewResultsImpl.java   
private NewResultsListVoCollection processResults(List<?> results)
{
    HashMap map = new HashMap();
    ClinicalImagingResults impl = (ClinicalImagingResults) getDomainImpl(ClinicalImagingResultsImpl.class);
    map = impl.getListXoHistory(map, results);

    NewResultsListVoCollection voCollResults = NewResultsListVoAssembler.createNewResultsListVoCollectionFromOrderInvestigation(results);

    if(voCollResults != null)
    {
        for(NewResultsListVo voResult : voCollResults)
        {
            if(map.containsKey(voResult.getID_OrderInvestigation()))
            {
                voResult.setOrdInvXOStatusHistory((OrdInvXOStatusHistoryLiteVoCollection) map.get(voResult.getID_OrderInvestigation()));
            }
        }
    }
    return voCollResults;
}
项目:openmaxims-linux    文件:NewResultsImpl.java   
private NewResultsListVoCollection processResults(List<?> results)
{
    HashMap map = new HashMap();
    ClinicalImagingResults impl = (ClinicalImagingResults) getDomainImpl(ClinicalImagingResultsImpl.class);
    map = impl.getListXoHistory(map, results);

    NewResultsListVoCollection voCollResults = NewResultsListVoAssembler.createNewResultsListVoCollectionFromOrderInvestigation(results);

    if(voCollResults != null)
    {
        for(NewResultsListVo voResult : voCollResults)
        {
            if(map.containsKey(voResult.getID_OrderInvestigation()))
            {
                voResult.setOrdInvXOStatusHistory((OrdInvXOStatusHistoryLiteVoCollection) map.get(voResult.getID_OrderInvestigation()));
            }
        }
    }
    return voCollResults;
}
项目:AvoinApotti    文件:Logic.java   
private void search()
    {

        resetResults();

        OrderInvStatusCollection stColl = getRequiredInvStatuses();

        int nOrderingHCPId = -1;
        if(form.ccOrderingHCP().getValue()!=null)
            nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

//      public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty) {
        NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), null, null, stColl, false, false, nOrderingHCPId, null, (form.chkSpecialty().getValue() ? form.cmbSpecialty().getValue() : null), form.qmbInitiallySeenBy().getValue());

        //WDEV-13869
        if (newResults == null || newResults.size()==0)
        {
            engine.showMessage("No records match your search criteria.", "No data found", MessageButtons.OK, MessageIcon.WARNING);
            return;
        }


        Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
        Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

        for (int x = 0; x < newResults.size(); x++)
        {
            NewResultsListVo newResult = newResults.get(x);
            addNewResult(newResult, dateUnseen);
        }

        updateSearchTotal(form.grdResults().getRows().size());//WDEV-11170


    }
项目:openMAXIMS    文件:Logic.java   
private void search()
    {

        resetResults();

        OrderInvStatusCollection stColl = getRequiredInvStatuses();

        int nOrderingHCPId = -1;
        if(form.ccOrderingHCP().getValue()!=null)
            nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

//      public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty) {
        NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), null, null, stColl, false, false, nOrderingHCPId, null, (form.chkSpecialty().getValue() ? form.cmbSpecialty().getValue() : null), form.qmbInitiallySeenBy().getValue());

        //WDEV-13869
        if (newResults == null || newResults.size()==0)
        {
            engine.showMessage("No records match your search criteria.", "No data found", MessageButtons.OK, MessageIcon.WARNING);
            return;
        }


        Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
        Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

        for (int x = 0; x < newResults.size(); x++)
        {
            NewResultsListVo newResult = newResults.get(x);
            addNewResult(newResult, dateUnseen);
        }

        updateSearchTotal(form.grdResults().getRows().size());//WDEV-11170


    }
项目:openmaxims-linux    文件:Logic.java   
private void search()
    {

        resetResults();

        OrderInvStatusCollection stColl = getRequiredInvStatuses();

        int nOrderingHCPId = -1;
        if(form.ccOrderingHCP().getValue()!=null)
            nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

//      public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty) {
        NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), null, null, stColl, false, false, nOrderingHCPId, null, (form.chkSpecialty().getValue() ? form.cmbSpecialty().getValue() : null), form.qmbInitiallySeenBy().getValue());

        //WDEV-13869
        if (newResults == null || newResults.size()==0)
        {
            engine.showMessage("No records match your search criteria.", "No data found", MessageButtons.OK, MessageIcon.WARNING);
            return;
        }


        Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
        Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

        for (int x = 0; x < newResults.size(); x++)
        {
            NewResultsListVo newResult = newResults.get(x);
            addNewResult(newResult, dateUnseen);
        }

        updateSearchTotal(form.grdResults().getRows().size());//WDEV-11170


    }
项目:AvoinApotti    文件:Logic.java   
private void search()
{
    resetResults();

    OrderInvStatusCollection stColl = getRequiredInvStatuses();

    if (ConfigFlag.GEN.RELEASE_MODE.getValue())
    {
        if (form.qmbOrderingLocation().getValue() == null)
        {
            form.cmbHospital().setValue(null);
            form.OrdLocGrp().setEnabled(false);
            form.OrdLocGrp().setValue(null);
            form.qmbOrderingLocation().setEnabled(false);
        }
    }

    int nOrderingHCPId = -1;
    if (form.ccOrderingHCP().getValue() != null)
        nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

    NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), form.qmbOrderingLocation().getValue(), form.qmbOrderingClinician().getValue(), stColl, form.chkInpatientOrders().getValue(), form.chkOutpatientOrders().getValue(), form.chkExcludeInpatients().getValue(), nOrderingHCPId, (HcpLiteVo) form.ccCurrentRespClin().getValue(), form.qmbReviewingHCP().getValue(), form.cmbDiscipline().getValue());
    if (newResults == null)
        return;

    // Sort the results collection
    newResults.sort(new NewResultsDateComparator(SortOrder.DESCENDING));

    Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
    Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

    for (int x = 0; x < newResults.size(); x++)
    {
        NewResultsListVo newResult = newResults.get(x);
        addNewResult(newResult, dateUnseen);
    }

    // WDEV-9454
    if (newResults.size() == 0)
    {
        engine.showMessage("No results found.", "Message");
        form.getGlobalContext().OCRR.setNewResultsSearchCriteria(null);
    }
    else
        storeSearchCriteria();

    updateSearchTotal(form.grdResults().getRows().size());
}
项目:AvoinApotti    文件:NewResultsImpl.java   
public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty)
{
    return listNewResultsByDateRange(dateFrom, dateTo, location, clinician, statuses, includeCurrentInpatients, excludeInpatients,orderingHCPId,discipline,specialty, null);
}
项目:openMAXIMS    文件:Logic.java   
private void search()
{
    resetResults();

    OrderInvStatusCollection stColl = getRequiredInvStatuses();

    if (ConfigFlag.GEN.RELEASE_MODE.getValue())
    {
        if (form.qmbOrderingLocation().getValue() == null)
        {
            form.cmbHospital().setValue(null);
            form.OrdLocGrp().setEnabled(false);
            form.OrdLocGrp().setValue(null);
            form.qmbOrderingLocation().setEnabled(false);
        }
    }

    int nOrderingHCPId = -1;
    if (form.ccOrderingHCP().getValue() != null)
        nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

    NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), form.qmbOrderingLocation().getValue(), form.qmbOrderingClinician().getValue(), stColl, form.chkInpatientOrders().getValue(), form.chkOutpatientOrders().getValue(), form.chkExcludeInpatients().getValue(), nOrderingHCPId, (HcpLiteVo) form.ccCurrentRespClin().getValue(), form.qmbReviewingHCP().getValue(), form.cmbDiscipline().getValue());
    if (newResults == null)
        return;

    // Sort the results collection
    newResults.sort(new NewResultsDateComparator(SortOrder.DESCENDING));

    Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
    Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

    for (int x = 0; x < newResults.size(); x++)
    {
        NewResultsListVo newResult = newResults.get(x);
        addNewResult(newResult, dateUnseen);
    }

    // WDEV-9454
    if (newResults.size() == 0)
    {
        engine.showMessage("No results found.", "Message");
        form.getGlobalContext().OCRR.setNewResultsSearchCriteria(null);
    }
    else
        storeSearchCriteria();

    updateSearchTotal(form.grdResults().getRows().size());
}
项目:openMAXIMS    文件:NewResultsImpl.java   
public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty)
{
    return listNewResultsByDateRange(dateFrom, dateTo, location, clinician, statuses, includeCurrentInpatients, excludeInpatients,orderingHCPId,discipline,specialty, null);
}
项目:openMAXIMS    文件:Logic.java   
private void search()
{
    resetResults();

    OrderInvStatusCollection stColl = getRequiredInvStatuses();

    if (ConfigFlag.GEN.RELEASE_MODE.getValue())
    {
        if (form.qmbOrderingLocation().getValue() == null)
        {
            form.cmbHospital().setValue(null);
            form.OrdLocGrp().setEnabled(false);
            form.OrdLocGrp().setValue(null);
            form.qmbOrderingLocation().setEnabled(false);
        }
    }

    int nOrderingHCPId = -1;
    if (form.ccOrderingHCP().getValue() != null)
        nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

    NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), form.qmbOrderingLocation().getValue(), form.qmbOrderingClinician().getValue(), stColl, form.chkInpatientOrders().getValue(), form.chkOutpatientOrders().getValue(), form.chkExcludeInpatients().getValue(), nOrderingHCPId, (HcpLiteVo) form.ccCurrentRespClin().getValue(), form.qmbReviewingHCP().getValue(), form.cmbDiscipline().getValue());
    if (newResults == null)
        return;

    // Sort the results collection
    newResults.sort(new NewResultsDateComparator(SortOrder.DESCENDING));

    Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
    Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

    for (int x = 0; x < newResults.size(); x++)
    {
        NewResultsListVo newResult = newResults.get(x);
        addNewResult(newResult, dateUnseen);
    }

    // WDEV-9454
    if (newResults.size() == 0)
    {
        engine.showMessage("No results found.", "Message");
        form.getGlobalContext().OCRR.setNewResultsSearchCriteria(null);
    }
    else
        storeSearchCriteria();

    updateSearchTotal(form.grdResults().getRows().size());
}
项目:openMAXIMS    文件:NewResultsImpl.java   
public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty)
{
    return listNewResultsByDateRange(dateFrom, dateTo, location, clinician, statuses, includeCurrentInpatients, excludeInpatients,orderingHCPId,discipline,specialty, null);
}
项目:openmaxims-linux    文件:Logic.java   
private void search()
{
    resetResults();

    OrderInvStatusCollection stColl = getRequiredInvStatuses();

    if (ConfigFlag.GEN.RELEASE_MODE.getValue())
    {
        if (form.qmbOrderingLocation().getValue() == null)
        {
            form.cmbHospital().setValue(null);
            form.OrdLocGrp().setEnabled(false);
            form.OrdLocGrp().setValue(null);
            form.qmbOrderingLocation().setEnabled(false);
        }
    }

    int nOrderingHCPId = -1;
    if (form.ccOrderingHCP().getValue() != null)
        nOrderingHCPId = form.ccOrderingHCP().getValue().getIMosId(); //WDEV-9946

    NewResultsListVoCollection newResults = domain.listNewResultsByDateRange(form.dteFrom().getValue(), form.dteTo().getValue(), form.qmbOrderingLocation().getValue(), form.qmbOrderingClinician().getValue(), stColl, form.chkInpatientOrders().getValue(), form.chkOutpatientOrders().getValue(), form.chkExcludeInpatients().getValue(), nOrderingHCPId, (HcpLiteVo) form.ccCurrentRespClin().getValue(), form.qmbReviewingHCP().getValue(), form.cmbDiscipline().getValue());
    if (newResults == null)
        return;

    // Sort the results collection
    newResults.sort(new NewResultsDateComparator(SortOrder.DESCENDING));

    Integer nNewResUnseenDays = new Integer(ConfigFlag.DOM.OCS_NEWRES_UNSEEN_CUTOFF.getValue());
    Date dateUnseen = new Date().addDay(-1 * nNewResUnseenDays.intValue());

    for (int x = 0; x < newResults.size(); x++)
    {
        NewResultsListVo newResult = newResults.get(x);
        addNewResult(newResult, dateUnseen);
    }

    // WDEV-9454
    if (newResults.size() == 0)
    {
        engine.showMessage("No results found.", "Message");
        form.getGlobalContext().OCRR.setNewResultsSearchCriteria(null);
    }
    else
        storeSearchCriteria();

    updateSearchTotal(form.grdResults().getRows().size());
}
项目:openmaxims-linux    文件:NewResultsImpl.java   
public NewResultsListVoCollection listNewResultsByDateRange(Date dateFrom, Date dateTo, ValueObject location, ValueObject clinician, OrderInvStatusCollection statuses, Boolean includeCurrentInpatients, Boolean excludeInpatients, Integer orderingHCPId, ServiceRefVo discipline,Specialty specialty)
{
    return listNewResultsByDateRange(dateFrom, dateTo, location, clinician, statuses, includeCurrentInpatients, excludeInpatients,orderingHCPId,discipline,specialty, null);
}