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

项目:AvoinApotti    文件:Logic.java   
private DocumentWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DocumentWorklistSearchCriteriaVo criteria = new DocumentWorklistSearchCriteriaVo();
    criteria.setResponsible(form.ccResponsible().getValue() instanceof HcpLiteVo ? (HcpLiteVo) form.ccResponsible().getValue() : null);
    criteria.setAuthor(form.ccAuthor().getValue() instanceof HcpLiteVo ? (HcpLiteVo) form.ccAuthor().getValue() : null);
    criteria.setTypist(form.ccTypist().getValue() instanceof MemberOfStaffLiteVo ? (MemberOfStaffLiteVo) form.ccTypist().getValue() : null);
    criteria.setLocation(form.cmbLocation().getValue());
    criteria.setClinic(form.qmbClinic().getValue());
    criteria.setDocumentStatus(form.cmbDocStatus().getValue());
    criteria.setDocumentType(form.cmbDocType().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDateFrom(form.dteFrom().getValue());
    criteria.setDateTo(form.dteTo().getValue());
    criteria.setExcludeCompleted(form.chkExcludeCompleted().getValue());
    //WDEV-11810 criteria.setHospNo(form.txtHospNo().getValue());
    //WDEV-11810 Start
    criteria.setPatient(form.chkPatOnly().getValue()?form.getGlobalContext().Core.getPatientShort():null);

    if (form.txtPatId().getValue()!=null)
    {
        PatientIdListVo patId = new PatientIdListVo();
        patId.setType(form.cmbIdType().getValue());
        patId.setValue(form.txtPatId().getValue());
        criteria.setPatientId(patId);
    }
    //WDEV-11810 End
    return criteria;
}
项目:openMAXIMS    文件:Logic.java   
private DocumentWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DocumentWorklistSearchCriteriaVo criteria = new DocumentWorklistSearchCriteriaVo();
    criteria.setResponsible(form.ccResponsible().getValue() instanceof HcpLiteVo ? (HcpLiteVo) form.ccResponsible().getValue() : null);
    criteria.setAuthor(form.ccAuthor().getValue() instanceof HcpLiteVo ? (HcpLiteVo) form.ccAuthor().getValue() : null);
    criteria.setTypist(form.ccTypist().getValue() instanceof MemberOfStaffLiteVo ? (MemberOfStaffLiteVo) form.ccTypist().getValue() : null);
    criteria.setLocation(form.cmbLocation().getValue());
    criteria.setClinic(form.qmbClinic().getValue());
    criteria.setDocumentStatus(form.cmbDocStatus().getValue());
    criteria.setDocumentType(form.cmbDocType().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDateFrom(form.dteFrom().getValue());
    criteria.setDateTo(form.dteTo().getValue());
    criteria.setExcludeCompleted(form.chkExcludeCompleted().getValue());
    //WDEV-11810 criteria.setHospNo(form.txtHospNo().getValue());
    //WDEV-11810 Start
    criteria.setPatient(form.chkPatOnly().getValue()?form.getGlobalContext().Core.getPatientShort():null);

    if (form.txtPatId().getValue()!=null)
    {
        PatientIdListVo patId = new PatientIdListVo();
        patId.setType(form.cmbIdType().getValue());
        patId.setValue(form.txtPatId().getValue());
        criteria.setPatientId(patId);
    }
    //WDEV-11810 End
    return criteria;
}
项目:openmaxims-linux    文件:Logic.java   
private DocumentWorklistSearchCriteriaVo populateSearchCriteriaDataFromScreen()
{
    DocumentWorklistSearchCriteriaVo criteria = new DocumentWorklistSearchCriteriaVo();
    criteria.setResponsible(form.ccResponsible().getValue() instanceof HcpLiteVo ? (HcpLiteVo) form.ccResponsible().getValue() : null);
    criteria.setAuthor(form.ccAuthor().getValue() instanceof HcpLiteVo ? (HcpLiteVo) form.ccAuthor().getValue() : null);
    criteria.setTypist(form.ccTypist().getValue() instanceof MemberOfStaffLiteVo ? (MemberOfStaffLiteVo) form.ccTypist().getValue() : null);
    criteria.setLocation(form.cmbLocation().getValue());
    criteria.setClinic(form.qmbClinic().getValue());
    criteria.setDocumentStatus(form.cmbDocStatus().getValue());
    criteria.setDocumentType(form.cmbDocType().getValue());
    criteria.setSpecialty(form.cmbSpecialty().getValue());
    criteria.setDateFrom(form.dteFrom().getValue());
    criteria.setDateTo(form.dteTo().getValue());
    criteria.setExcludeCompleted(form.chkExcludeCompleted().getValue());
    //WDEV-11810 criteria.setHospNo(form.txtHospNo().getValue());
    //WDEV-11810 Start
    criteria.setPatient(form.chkPatOnly().getValue()?form.getGlobalContext().Core.getPatientShort():null);

    if (form.txtPatId().getValue()!=null)
    {
        PatientIdListVo patId = new PatientIdListVo();
        patId.setType(form.cmbIdType().getValue());
        patId.setValue(form.txtPatId().getValue());
        criteria.setPatientId(patId);
    }
    //WDEV-11810 End
    return criteria;
}