Java 类ims.clinical.vo.DementiaWorklistSearchCriteriaVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private DementiaWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DementiaWorklistSearchCriteriaVo criteria = new DementiaWorklistSearchCriteriaVo();

    criteria.setHospital(form.cmbHospital().getValue());
    criteria.setWard(form.qmbWard().getValue());
    criteria.setAdmissionDateFrom(form.dteFrom().getValue()!=null?new DateTime(form.dteFrom().getValue(), new Time(0, 0, 0)):null);
    criteria.setAdmissionDateTo(form.dteTo().getValue()!=null?new DateTime(form.dteTo().getValue(),new Time(23, 59, 59)):null);
    criteria.setConsultant(form.ccConsultant().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDementiaStatus(form.cmbStatus().getValue());
    criteria.setSurname(form.txtSurname().getValue());
    criteria.setForename(form.txtForename().getValue());

    if (form.txtIDValue().getValue() != null)
    {
        criteria.setPatIdType(form.cmbIDType().getValue());
        criteria.setPatIdValue(form.txtIDValue().getValue());
    }

    criteria.setDOB(form.pdtDOB().getValue());
    criteria.setInpatientOnly(form.chkInpatientOnly().getValue());
    criteria.setExcludeRemoved(form.chkExclude().getValue());
    criteria.setDementiaConfirmed(form.chkDementiaConfirmed().getValue());
    criteria.setDeliriumConfirmed(form.chkDelirum().getValue());
    criteria.setWasTimerOn(form.getLocalContext().getWasTimerOn());

    return criteria;
}
项目:AvoinApotti    文件:Logic.java   
private void populateSearchCriteriaScreenFromData(DementiaWorklistSearchCriteriaVo criteria)
{
    clearScreen();

    if (criteria == null)
        return;

    form.cmbHospital().setValue(criteria.getHospital());

    if (criteria.getWardIsNotNull())
    {
        form.qmbWard().newRow(criteria.getWard(), criteria.getWard().getName());
    }

    form.qmbWard().setValue(criteria.getWard());

    form.dteFrom().setValue(criteria.getAdmissionDateFromIsNotNull()? criteria.getAdmissionDateFrom().getDate():null);
    form.dteTo().setValue(criteria.getAdmissionDateToIsNotNull()? criteria.getAdmissionDateTo().getDate():null);
    form.ccConsultant().setValue(criteria.getConsultant());
    form.cmbSpecialty().setValue(criteria.getSpecialty());
    form.cmbStatus().setValue(criteria.getDementiaStatus());
    form.txtSurname().setValue(criteria.getSurname());
    form.txtForename().setValue(criteria.getForename());
    form.cmbIDType().setValue(criteria.getPatIdType() != null ? criteria.getPatIdType() : PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue()));
    form.txtIDValue().setValue(criteria.getPatIdValue());
    form.pdtDOB().setValue(criteria.getDOB());

    form.chkExclude().setValue(criteria.getExcludeRemoved());
    form.chkDelirum().setValue(criteria.getDeliriumConfirmed());
    form.chkDementiaConfirmed().setValue(criteria.getDementiaConfirmed());
    form.chkInpatientOnly().setValue(criteria.getInpatientOnly());

    form.dyngrdPatients().getRows().clear();

}
项目:openMAXIMS    文件:Logic.java   
private DementiaWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DementiaWorklistSearchCriteriaVo criteria = new DementiaWorklistSearchCriteriaVo();

    criteria.setHospital(form.cmbHospital().getValue());
    criteria.setWard(form.qmbWard().getValue());
    criteria.setAdmissionDateFrom(form.dteFrom().getValue()!=null?new DateTime(form.dteFrom().getValue(), new Time(0, 0, 0)):null);
    criteria.setAdmissionDateTo(form.dteTo().getValue()!=null?new DateTime(form.dteTo().getValue(),new Time(23, 59, 59)):null);
    criteria.setConsultant(form.ccConsultant().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDementiaStatus(form.cmbStatus().getValue());
    criteria.setSurname(form.txtSurname().getValue());
    criteria.setForename(form.txtForename().getValue());

    if (form.txtIDValue().getValue() != null)
    {
        criteria.setPatIdType(form.cmbIDType().getValue());
        criteria.setPatIdValue(form.txtIDValue().getValue());
    }

    criteria.setDOB(form.pdtDOB().getValue());
    criteria.setInpatientOnly(form.chkInpatientOnly().getValue());
    criteria.setExcludeRemoved(form.chkExclude().getValue());
    criteria.setDementiaConfirmed(form.chkDementiaConfirmed().getValue());
    criteria.setDeliriumConfirmed(form.chkDelirum().getValue());
    criteria.setWasTimerOn(form.getLocalContext().getWasTimerOn());

    return criteria;
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchCriteriaScreenFromData(DementiaWorklistSearchCriteriaVo criteria)
{
    clearScreen();

    if (criteria == null)
        return;

    form.cmbHospital().setValue(criteria.getHospital());

    if (criteria.getWardIsNotNull())
    {
        form.qmbWard().newRow(criteria.getWard(), criteria.getWard().getName());
    }

    form.qmbWard().setValue(criteria.getWard());

    form.dteFrom().setValue(criteria.getAdmissionDateFromIsNotNull()? criteria.getAdmissionDateFrom().getDate():null);
    form.dteTo().setValue(criteria.getAdmissionDateToIsNotNull()? criteria.getAdmissionDateTo().getDate():null);
    form.ccConsultant().setValue(criteria.getConsultant());
    form.cmbSpecialty().setValue(criteria.getSpecialty());
    form.cmbStatus().setValue(criteria.getDementiaStatus());
    form.txtSurname().setValue(criteria.getSurname());
    form.txtForename().setValue(criteria.getForename());
    form.cmbIDType().setValue(criteria.getPatIdType() != null ? criteria.getPatIdType() : PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue()));
    form.txtIDValue().setValue(criteria.getPatIdValue());
    form.pdtDOB().setValue(criteria.getDOB());

    form.chkExclude().setValue(criteria.getExcludeRemoved());
    form.chkDelirum().setValue(criteria.getDeliriumConfirmed());
    form.chkDementiaConfirmed().setValue(criteria.getDementiaConfirmed());
    form.chkInpatientOnly().setValue(criteria.getInpatientOnly());

    form.dyngrdPatients().getRows().clear();

}
项目:openMAXIMS    文件:Logic.java   
private DementiaWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DementiaWorklistSearchCriteriaVo criteria = new DementiaWorklistSearchCriteriaVo();

    criteria.setHospital(form.cmbHospital().getValue());
    criteria.setWard(form.qmbWard().getValue());
    criteria.setAdmissionDateFrom(form.dteFrom().getValue()!=null?new DateTime(form.dteFrom().getValue(), new Time(0, 0, 0)):null);
    criteria.setAdmissionDateTo(form.dteTo().getValue()!=null?new DateTime(form.dteTo().getValue(),new Time(23, 59, 59)):null);
    criteria.setConsultant(form.ccConsultant().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDementiaStatus(form.cmbStatus().getValue());
    criteria.setSurname(form.txtSurname().getValue());
    criteria.setForename(form.txtForename().getValue());

    if (form.txtIDValue().getValue() != null)
    {
        criteria.setPatIdType(form.cmbIDType().getValue());
        criteria.setPatIdValue(form.txtIDValue().getValue());
    }

    criteria.setDOB(form.pdtDOB().getValue());
    criteria.setInpatientOnly(form.chkInpatientOnly().getValue());
    criteria.setExcludeRemoved(form.chkExclude().getValue());
    criteria.setDementiaConfirmed(form.chkDementiaConfirmed().getValue());
    criteria.setDeliriumConfirmed(form.chkDelirum().getValue());
    criteria.setWasTimerOn(form.getLocalContext().getWasTimerOn());

    return criteria;
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchCriteriaScreenFromData(DementiaWorklistSearchCriteriaVo criteria)
{
    clearScreen();

    if (criteria == null)
        return;

    form.cmbHospital().setValue(criteria.getHospital());

    if (criteria.getWardIsNotNull())
    {
        form.qmbWard().newRow(criteria.getWard(), criteria.getWard().getName());
    }

    form.qmbWard().setValue(criteria.getWard());

    form.dteFrom().setValue(criteria.getAdmissionDateFromIsNotNull()? criteria.getAdmissionDateFrom().getDate():null);
    form.dteTo().setValue(criteria.getAdmissionDateToIsNotNull()? criteria.getAdmissionDateTo().getDate():null);
    form.ccConsultant().setValue(criteria.getConsultant());
    form.cmbSpecialty().setValue(criteria.getSpecialty());
    form.cmbStatus().setValue(criteria.getDementiaStatus());
    form.txtSurname().setValue(criteria.getSurname());
    form.txtForename().setValue(criteria.getForename());
    form.cmbIDType().setValue(criteria.getPatIdType() != null ? criteria.getPatIdType() : PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue()));
    form.txtIDValue().setValue(criteria.getPatIdValue());
    form.pdtDOB().setValue(criteria.getDOB());

    form.chkExclude().setValue(criteria.getExcludeRemoved());
    form.chkDelirum().setValue(criteria.getDeliriumConfirmed());
    form.chkDementiaConfirmed().setValue(criteria.getDementiaConfirmed());
    form.chkInpatientOnly().setValue(criteria.getInpatientOnly());

    form.dyngrdPatients().getRows().clear();

}
项目:openmaxims-linux    文件:Logic.java   
private DementiaWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DementiaWorklistSearchCriteriaVo criteria = new DementiaWorklistSearchCriteriaVo();

    criteria.setHospital(form.cmbHospital().getValue());
    criteria.setWard(form.qmbWard().getValue());
    criteria.setAdmissionDateFrom(form.dteFrom().getValue()!=null?new DateTime(form.dteFrom().getValue(), new Time(0, 0, 0)):null);
    criteria.setAdmissionDateTo(form.dteTo().getValue()!=null?new DateTime(form.dteTo().getValue(),new Time(23, 59, 59)):null);
    criteria.setConsultant(form.ccConsultant().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDementiaStatus(form.cmbStatus().getValue());
    criteria.setSurname(form.txtSurname().getValue());
    criteria.setForename(form.txtForename().getValue());

    if (form.txtIDValue().getValue() != null)
    {
        criteria.setPatIdType(form.cmbIDType().getValue());
        criteria.setPatIdValue(form.txtIDValue().getValue());
    }

    criteria.setDOB(form.pdtDOB().getValue());
    criteria.setInpatientOnly(form.chkInpatientOnly().getValue());
    criteria.setExcludeRemoved(form.chkExclude().getValue());
    criteria.setDementiaConfirmed(form.chkDementiaConfirmed().getValue());
    criteria.setDeliriumConfirmed(form.chkDelirum().getValue());
    criteria.setWasTimerOn(form.getLocalContext().getWasTimerOn());

    return criteria;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateSearchCriteriaScreenFromData(DementiaWorklistSearchCriteriaVo criteria)
{
    clearScreen();

    if (criteria == null)
        return;

    form.cmbHospital().setValue(criteria.getHospital());

    if (criteria.getWardIsNotNull())
    {
        form.qmbWard().newRow(criteria.getWard(), criteria.getWard().getName());
    }

    form.qmbWard().setValue(criteria.getWard());

    form.dteFrom().setValue(criteria.getAdmissionDateFromIsNotNull()? criteria.getAdmissionDateFrom().getDate():null);
    form.dteTo().setValue(criteria.getAdmissionDateToIsNotNull()? criteria.getAdmissionDateTo().getDate():null);
    form.ccConsultant().setValue(criteria.getConsultant());
    form.cmbSpecialty().setValue(criteria.getSpecialty());
    form.cmbStatus().setValue(criteria.getDementiaStatus());
    form.txtSurname().setValue(criteria.getSurname());
    form.txtForename().setValue(criteria.getForename());
    form.cmbIDType().setValue(criteria.getPatIdType() != null ? criteria.getPatIdType() : PatIdType.getNegativeInstance(ConfigFlag.UI.DISPLAY_PATID_TYPE.getValue()));
    form.txtIDValue().setValue(criteria.getPatIdValue());
    form.pdtDOB().setValue(criteria.getDOB());

    form.chkExclude().setValue(criteria.getExcludeRemoved());
    form.chkDelirum().setValue(criteria.getDeliriumConfirmed());
    form.chkDementiaConfirmed().setValue(criteria.getDementiaConfirmed());
    form.chkInpatientOnly().setValue(criteria.getInpatientOnly());

    form.dyngrdPatients().getRows().clear();

}