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

项目:AvoinApotti    文件:Logic.java   
private void displaySearchCriteria() {

    NewResultsSearchCriteriaVo newResultsSearchCriteria = form.getGlobalContext().OCRR.getRefManNewResultsSearchCriteria();

    form.ccOrderingHCP().setValue(newResultsSearchCriteria.getOrderingHCP());
    if(newResultsSearchCriteria.getInitiallySeenByHCPIsNotNull()){
        form.qmbInitiallySeenBy().newRow(newResultsSearchCriteria.getInitiallySeenByHCP(), newResultsSearchCriteria.getInitiallySeenByHCP().toString());
        form.qmbInitiallySeenBy().setValue(newResultsSearchCriteria.getInitiallySeenByHCP());
    }

    if(newResultsSearchCriteria.getNewUpdated() != null && newResultsSearchCriteria.getNewUpdated())
        form.chkNew().setValue(true);
    else
        form.chkNew().setValue(false);
    if(newResultsSearchCriteria.getSeenChecked() != null && newResultsSearchCriteria.getSeenChecked())
        form.chkSeen().setValue(true);
    else
        form.chkSeen().setValue(false);
    if(newResultsSearchCriteria.getForReview() != null && newResultsSearchCriteria.getForReview())
        form.chkReview().setValue(true);
    else
        form.chkReview().setValue(false);

    if(newResultsSearchCriteria.getSpecialty() != null && newResultsSearchCriteria.getSpecialty()){
        form.chkSpecialty().setValue(true);
        form.cmbSpecialty().setVisible(true);
    }
    else
        form.chkSpecialty().setValue(false);

    if(newResultsSearchCriteria.getSpecialtyInstanceIsNotNull())
        form.cmbSpecialty().setValue((Specialty) newResultsSearchCriteria.getSpecialtyInstance());

    form.dteFrom().setValue(newResultsSearchCriteria.getFromDate());
    form.dteFrom().setValue(newResultsSearchCriteria.getToDate());  

    form.cmbDays().setValue(newResultsSearchCriteria.getDays());
}
项目:AvoinApotti    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setInitiallySeenByHCP(form.qmbInitiallySeenBy().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);
    if(form.chkSeen().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);
    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    newResultsSearchCriteria.setSpecialty(form.chkSpecialty().getValue());

    newResultsSearchCriteria.setSpecialtyInstance(form.cmbSpecialty().getValue());

    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteFrom().getValue());  

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setRefManNewResultsSearchCriteria(newResultsSearchCriteria);

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

    NewResultsSearchCriteriaVo newResultsSearchCriteria = form.getGlobalContext().OCRR.getRefManNewResultsSearchCriteria();

    form.ccOrderingHCP().setValue(newResultsSearchCriteria.getOrderingHCP());
    if(newResultsSearchCriteria.getInitiallySeenByHCPIsNotNull()){
        form.qmbInitiallySeenBy().newRow(newResultsSearchCriteria.getInitiallySeenByHCP(), newResultsSearchCriteria.getInitiallySeenByHCP().toString());
        form.qmbInitiallySeenBy().setValue(newResultsSearchCriteria.getInitiallySeenByHCP());
    }

    if(newResultsSearchCriteria.getNewUpdated() != null && newResultsSearchCriteria.getNewUpdated())
        form.chkNew().setValue(true);
    else
        form.chkNew().setValue(false);
    if(newResultsSearchCriteria.getSeenChecked() != null && newResultsSearchCriteria.getSeenChecked())
        form.chkSeen().setValue(true);
    else
        form.chkSeen().setValue(false);
    if(newResultsSearchCriteria.getForReview() != null && newResultsSearchCriteria.getForReview())
        form.chkReview().setValue(true);
    else
        form.chkReview().setValue(false);

    if(newResultsSearchCriteria.getSpecialty() != null && newResultsSearchCriteria.getSpecialty()){
        form.chkSpecialty().setValue(true);
        form.cmbSpecialty().setVisible(true);
    }
    else
        form.chkSpecialty().setValue(false);

    if(newResultsSearchCriteria.getSpecialtyInstanceIsNotNull())
        form.cmbSpecialty().setValue((Specialty) newResultsSearchCriteria.getSpecialtyInstance());

    form.dteFrom().setValue(newResultsSearchCriteria.getFromDate());
    form.dteFrom().setValue(newResultsSearchCriteria.getToDate());  

    form.cmbDays().setValue(newResultsSearchCriteria.getDays());
}
项目:openMAXIMS    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setInitiallySeenByHCP(form.qmbInitiallySeenBy().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);
    if(form.chkSeen().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);
    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    newResultsSearchCriteria.setSpecialty(form.chkSpecialty().getValue());

    newResultsSearchCriteria.setSpecialtyInstance(form.cmbSpecialty().getValue());

    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteFrom().getValue());  

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setRefManNewResultsSearchCriteria(newResultsSearchCriteria);

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

    NewResultsSearchCriteriaVo newResultsSearchCriteria = form.getGlobalContext().OCRR.getCareUkNewResultsSearchCriteria();

    form.ccOrderingHCP().setValue(newResultsSearchCriteria.getOrderingHCP());
    if(newResultsSearchCriteria.getInitiallySeenByHCPIsNotNull()){
        form.qmbInitiallySeenBy().newRow(newResultsSearchCriteria.getInitiallySeenByHCP(), newResultsSearchCriteria.getInitiallySeenByHCP().toString());
        form.qmbInitiallySeenBy().setValue(newResultsSearchCriteria.getInitiallySeenByHCP());
    }

    if(newResultsSearchCriteria.getNewUpdated() != null && newResultsSearchCriteria.getNewUpdated())
        form.chkNew().setValue(true);
    else
        form.chkNew().setValue(false);
    if(newResultsSearchCriteria.getSeenChecked() != null && newResultsSearchCriteria.getSeenChecked())
        form.chkSeen().setValue(true);
    else
        form.chkSeen().setValue(false);
    if(newResultsSearchCriteria.getForReview() != null && newResultsSearchCriteria.getForReview())
        form.chkReview().setValue(true);
    else
        form.chkReview().setValue(false);

    if(newResultsSearchCriteria.getSpecialty() != null && newResultsSearchCriteria.getSpecialty()){
        form.chkSpecialty().setValue(true);
        form.cmbSpecialty().setVisible(true);
    }
    else
        form.chkSpecialty().setValue(false);

    if(newResultsSearchCriteria.getSpecialtyInstanceIsNotNull())
        form.cmbSpecialty().setValue((Specialty) newResultsSearchCriteria.getSpecialtyInstance());

    form.dteFrom().setValue(newResultsSearchCriteria.getFromDate());
    form.dteFrom().setValue(newResultsSearchCriteria.getToDate());  

    form.cmbDays().setValue(newResultsSearchCriteria.getDays());
}
项目:openmaxims-linux    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setInitiallySeenByHCP(form.qmbInitiallySeenBy().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);
    if(form.chkSeen().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);
    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    newResultsSearchCriteria.setSpecialty(form.chkSpecialty().getValue());

    newResultsSearchCriteria.setSpecialtyInstance(form.cmbSpecialty().getValue());

    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteFrom().getValue());  

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setCareUkNewResultsSearchCriteria(newResultsSearchCriteria);

}
项目:AvoinApotti    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setHospital(form.cmbHospital().getValue());

    if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard))
        newResultsSearchCriteria.setOrderingLocationType(1);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoAne))
        newResultsSearchCriteria.setOrderingLocationType(2);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoClinic))
        newResultsSearchCriteria.setOrderingLocationType(3);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoOther))
        newResultsSearchCriteria.setOrderingLocationType(4);

    newResultsSearchCriteria.setOrderingLocation(form.qmbOrderingLocation().getValue());
    newResultsSearchCriteria.setOrderingClinician(form.qmbOrderingClinician().getValue());
    newResultsSearchCriteria.setReviewingHCP(form.qmbReviewingHCP().getValue());
    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setResponsibleClinician((HcpLiteVo) form.ccCurrentRespClin().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);

    if(form.chkSeenChecked().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);

    if (form.chkChecked().getValue())
        newResultsSearchCriteria.setChecked(true);
    else
        newResultsSearchCriteria.setChecked(false);

    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    if(form.chkCompleted().getValue())
        newResultsSearchCriteria.setCompleted(true);
    else
        newResultsSearchCriteria.setCompleted(false);

    if(form.chkInpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(1);
    }
    else if(form.chkOutpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(2);
    }
    else
    {
        newResultsSearchCriteria.setInpatients(0);
    }

    if(form.chkExcludeInpatients().getValue())
        newResultsSearchCriteria.setExcludeInpatients(true);
    else
        newResultsSearchCriteria.setExcludeInpatients(false);

    newResultsSearchCriteria.setDiscipline(form.cmbDiscipline().getValue());
    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteTo().getValue());//WDEV-16310    

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setNewResultsSearchCriteria(newResultsSearchCriteria);

}
项目:openMAXIMS    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setHospital(form.cmbHospital().getValue());

    if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard))
        newResultsSearchCriteria.setOrderingLocationType(1);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoAne))
        newResultsSearchCriteria.setOrderingLocationType(2);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoClinic))
        newResultsSearchCriteria.setOrderingLocationType(3);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoOther))
        newResultsSearchCriteria.setOrderingLocationType(4);

    newResultsSearchCriteria.setOrderingLocation(form.qmbOrderingLocation().getValue());
    newResultsSearchCriteria.setOrderingClinician(form.qmbOrderingClinician().getValue());
    newResultsSearchCriteria.setReviewingHCP(form.qmbReviewingHCP().getValue());
    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setResponsibleClinician((HcpLiteVo) form.ccCurrentRespClin().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);

    if(form.chkSeenChecked().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);

    if (form.chkChecked().getValue())
        newResultsSearchCriteria.setChecked(true);
    else
        newResultsSearchCriteria.setChecked(false);

    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    if(form.chkCompleted().getValue())
        newResultsSearchCriteria.setCompleted(true);
    else
        newResultsSearchCriteria.setCompleted(false);

    if(form.chkInpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(1);
    }
    else if(form.chkOutpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(2);
    }
    else
    {
        newResultsSearchCriteria.setInpatients(0);
    }

    if(form.chkExcludeInpatients().getValue())
        newResultsSearchCriteria.setExcludeInpatients(true);
    else
        newResultsSearchCriteria.setExcludeInpatients(false);

    newResultsSearchCriteria.setDiscipline(form.cmbDiscipline().getValue());
    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteTo().getValue());//WDEV-16310    

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setNewResultsSearchCriteria(newResultsSearchCriteria);

}
项目:openMAXIMS    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setHospital(form.cmbHospital().getValue());

    if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard))
        newResultsSearchCriteria.setOrderingLocationType(1);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoAne))
        newResultsSearchCriteria.setOrderingLocationType(2);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoClinic))
        newResultsSearchCriteria.setOrderingLocationType(3);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoOther))
        newResultsSearchCriteria.setOrderingLocationType(4);

    newResultsSearchCriteria.setOrderingLocation(form.qmbOrderingLocation().getValue());
    newResultsSearchCriteria.setOrderingClinician(form.qmbOrderingClinician().getValue());
    newResultsSearchCriteria.setReviewingHCP(form.qmbReviewingHCP().getValue());
    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setResponsibleClinician((HcpLiteVo) form.ccCurrentRespClin().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);

    if(form.chkSeenChecked().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);

    if (form.chkChecked().getValue())
        newResultsSearchCriteria.setChecked(true);
    else
        newResultsSearchCriteria.setChecked(false);

    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    if(form.chkCompleted().getValue())
        newResultsSearchCriteria.setCompleted(true);
    else
        newResultsSearchCriteria.setCompleted(false);

    if(form.chkInpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(1);
    }
    else if(form.chkOutpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(2);
    }
    else
    {
        newResultsSearchCriteria.setInpatients(0);
    }

    if(form.chkExcludeInpatients().getValue())
        newResultsSearchCriteria.setExcludeInpatients(true);
    else
        newResultsSearchCriteria.setExcludeInpatients(false);

    newResultsSearchCriteria.setDiscipline(form.cmbDiscipline().getValue());
    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteTo().getValue());//WDEV-16310    

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setNewResultsSearchCriteria(newResultsSearchCriteria);

}
项目:openmaxims-linux    文件:Logic.java   
private void storeSearchCriteria() {
    NewResultsSearchCriteriaVo newResultsSearchCriteria = new NewResultsSearchCriteriaVo();

    newResultsSearchCriteria.setHospital(form.cmbHospital().getValue());

    if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard))
        newResultsSearchCriteria.setOrderingLocationType(1);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoAne))
        newResultsSearchCriteria.setOrderingLocationType(2);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoClinic))
        newResultsSearchCriteria.setOrderingLocationType(3);
    else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoOther))
        newResultsSearchCriteria.setOrderingLocationType(4);

    newResultsSearchCriteria.setOrderingLocation(form.qmbOrderingLocation().getValue());
    newResultsSearchCriteria.setOrderingClinician(form.qmbOrderingClinician().getValue());
    newResultsSearchCriteria.setReviewingHCP(form.qmbReviewingHCP().getValue());
    newResultsSearchCriteria.setOrderingHCP((HcpLiteVo) form.ccOrderingHCP().getValue());
    newResultsSearchCriteria.setResponsibleClinician((HcpLiteVo) form.ccCurrentRespClin().getValue());

    if(form.chkNew().getValue())
        newResultsSearchCriteria.setNewUpdated(true);
    else
        newResultsSearchCriteria.setNewUpdated(false);

    if(form.chkSeenChecked().getValue())
        newResultsSearchCriteria.setSeenChecked(true);
    else
        newResultsSearchCriteria.setSeenChecked(false);

    if (form.chkChecked().getValue())
        newResultsSearchCriteria.setChecked(true);
    else
        newResultsSearchCriteria.setChecked(false);

    if(form.chkReview().getValue())
        newResultsSearchCriteria.setForReview(true);
    else
        newResultsSearchCriteria.setForReview(false);

    if(form.chkCompleted().getValue())
        newResultsSearchCriteria.setCompleted(true);
    else
        newResultsSearchCriteria.setCompleted(false);

    if(form.chkInpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(1);
    }
    else if(form.chkOutpatientOrders().getValue())
    {
        newResultsSearchCriteria.setInpatients(2);
    }
    else
    {
        newResultsSearchCriteria.setInpatients(0);
    }

    if(form.chkExcludeInpatients().getValue())
        newResultsSearchCriteria.setExcludeInpatients(true);
    else
        newResultsSearchCriteria.setExcludeInpatients(false);

    newResultsSearchCriteria.setDiscipline(form.cmbDiscipline().getValue());
    newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
    newResultsSearchCriteria.setToDate(form.dteTo().getValue());//WDEV-16310    

    newResultsSearchCriteria.setDays(form.cmbDays().getValue());

    form.getGlobalContext().OCRR.setNewResultsSearchCriteria(newResultsSearchCriteria);

}