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

项目:AvoinApotti    文件:Logic.java   
private void populateSearchFieldsFromData(PharmacyApprovalSearchCriteriaVo pharmacyApprovalSearchCriteria)
{
    // Populate dates
    form.dteFromDate().setValue(pharmacyApprovalSearchCriteria.getFromDate());
    form.dteDateTo().setValue(pharmacyApprovalSearchCriteria.getToDate());

    // Populate Location Ward
    form.qmbLocation().clear();
    if (pharmacyApprovalSearchCriteria.getLocationIsNotNull())
    {
        form.qmbLocation().newRow(pharmacyApprovalSearchCriteria.getLocation(), pharmacyApprovalSearchCriteria.getLocation().getName());
        form.qmbLocation().setValue(pharmacyApprovalSearchCriteria.getLocation());
    }

    // Populate responsible clinician
    form.qmbResponsibleClinician().clear();
    if (pharmacyApprovalSearchCriteria.getHCPIsNotNull())
    {
        form.qmbResponsibleClinician().newRow(pharmacyApprovalSearchCriteria.getHCP(), pharmacyApprovalSearchCriteria.getHCP().toString());
        form.qmbResponsibleClinician().setValue(pharmacyApprovalSearchCriteria.getHCP());
    }

    // Populate Hospital Number & populate pharmacy status
    form.txtHospitalNumber().setValue(pharmacyApprovalSearchCriteria.getHospitalNumber());
    form.cmbPharmacyStatus().setValue(pharmacyApprovalSearchCriteria.getStatus());
}
项目:AvoinApotti    文件:Logic.java   
private PharmacyApprovalSearchCriteriaVo populateSearchFilterFromScreen()
{
    // Create a new VO
    PharmacyApprovalSearchCriteriaVo criteria = new PharmacyApprovalSearchCriteriaVo();

    // Get dates
    criteria.setFromDate(form.dteFromDate().getValue());
    criteria.setToDate(form.dteDateTo().getValue());

    // Get location
    criteria.setLocation(form.qmbLocation().getValue());
    // Get responsible clinician
    criteria.setHCP(form.qmbResponsibleClinician().getValue());

    // Get Hospital number
    criteria.setHospitalNumber(form.txtHospitalNumber().getValue());
    // Get status
    criteria.setStatus(form.cmbPharmacyStatus().getValue());

    return criteria;
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchFieldsFromData(PharmacyApprovalSearchCriteriaVo pharmacyApprovalSearchCriteria)
{
    // Populate dates
    form.dteFromDate().setValue(pharmacyApprovalSearchCriteria.getFromDate());
    form.dteDateTo().setValue(pharmacyApprovalSearchCriteria.getToDate());

    // Populate Location Ward
    form.qmbLocation().clear();
    if (pharmacyApprovalSearchCriteria.getLocationIsNotNull())
    {
        form.qmbLocation().newRow(pharmacyApprovalSearchCriteria.getLocation(), pharmacyApprovalSearchCriteria.getLocation().getName());
        form.qmbLocation().setValue(pharmacyApprovalSearchCriteria.getLocation());
    }

    // Populate responsible clinician
    form.qmbResponsibleClinician().clear();
    if (pharmacyApprovalSearchCriteria.getHCPIsNotNull())
    {
        form.qmbResponsibleClinician().newRow(pharmacyApprovalSearchCriteria.getHCP(), pharmacyApprovalSearchCriteria.getHCP().toString());
        form.qmbResponsibleClinician().setValue(pharmacyApprovalSearchCriteria.getHCP());
    }

    // Populate Hospital Number & populate pharmacy status
    form.txtHospitalNumber().setValue(pharmacyApprovalSearchCriteria.getHospitalNumber());
    form.cmbPharmacyStatus().setValue(pharmacyApprovalSearchCriteria.getStatus());
}
项目:openMAXIMS    文件:Logic.java   
private PharmacyApprovalSearchCriteriaVo populateSearchFilterFromScreen()
{
    // Create a new VO
    PharmacyApprovalSearchCriteriaVo criteria = new PharmacyApprovalSearchCriteriaVo();

    // Get dates
    criteria.setFromDate(form.dteFromDate().getValue());
    criteria.setToDate(form.dteDateTo().getValue());

    // Get location
    criteria.setLocation(form.qmbLocation().getValue());
    // Get responsible clinician
    criteria.setHCP(form.qmbResponsibleClinician().getValue());

    // Get Hospital number
    criteria.setHospitalNumber(form.txtHospitalNumber().getValue());
    // Get status
    criteria.setStatus(form.cmbPharmacyStatus().getValue());

    return criteria;
}
项目:openMAXIMS    文件:Logic.java   
private void populateSearchFieldsFromData(PharmacyApprovalSearchCriteriaVo pharmacyApprovalSearchCriteria)
{
    // Populate dates
    form.dteFromDate().setValue(pharmacyApprovalSearchCriteria.getFromDate());
    form.dteDateTo().setValue(pharmacyApprovalSearchCriteria.getToDate());

    // Populate Location Ward
    form.qmbLocation().clear();
    if (pharmacyApprovalSearchCriteria.getLocationIsNotNull())
    {
        form.qmbLocation().newRow(pharmacyApprovalSearchCriteria.getLocation(), pharmacyApprovalSearchCriteria.getLocation().getName());
        form.qmbLocation().setValue(pharmacyApprovalSearchCriteria.getLocation());
    }

    // Populate responsible clinician
    form.qmbResponsibleClinician().clear();
    if (pharmacyApprovalSearchCriteria.getHCPIsNotNull())
    {
        form.qmbResponsibleClinician().newRow(pharmacyApprovalSearchCriteria.getHCP(), pharmacyApprovalSearchCriteria.getHCP().toString());
        form.qmbResponsibleClinician().setValue(pharmacyApprovalSearchCriteria.getHCP());
    }

    // Populate Hospital Number & populate pharmacy status
    form.txtHospitalNumber().setValue(pharmacyApprovalSearchCriteria.getHospitalNumber());
    form.cmbPharmacyStatus().setValue(pharmacyApprovalSearchCriteria.getStatus());
}
项目:openMAXIMS    文件:Logic.java   
private PharmacyApprovalSearchCriteriaVo populateSearchFilterFromScreen()
{
    // Create a new VO
    PharmacyApprovalSearchCriteriaVo criteria = new PharmacyApprovalSearchCriteriaVo();

    // Get dates
    criteria.setFromDate(form.dteFromDate().getValue());
    criteria.setToDate(form.dteDateTo().getValue());

    // Get location
    criteria.setLocation(form.qmbLocation().getValue());
    // Get responsible clinician
    criteria.setHCP(form.qmbResponsibleClinician().getValue());

    // Get Hospital number
    criteria.setHospitalNumber(form.txtHospitalNumber().getValue());
    // Get status
    criteria.setStatus(form.cmbPharmacyStatus().getValue());

    return criteria;
}
项目:openmaxims-linux    文件:Logic.java   
private void populateSearchFieldsFromData(PharmacyApprovalSearchCriteriaVo pharmacyApprovalSearchCriteria)
{
    // Populate dates
    form.dteFromDate().setValue(pharmacyApprovalSearchCriteria.getFromDate());
    form.dteDateTo().setValue(pharmacyApprovalSearchCriteria.getToDate());

    // Populate Location Ward
    form.qmbLocation().clear();
    if (pharmacyApprovalSearchCriteria.getLocationIsNotNull())
    {
        form.qmbLocation().newRow(pharmacyApprovalSearchCriteria.getLocation(), pharmacyApprovalSearchCriteria.getLocation().getName());
        form.qmbLocation().setValue(pharmacyApprovalSearchCriteria.getLocation());
    }

    // Populate responsible clinician
    form.qmbResponsibleClinician().clear();
    if (pharmacyApprovalSearchCriteria.getHCPIsNotNull())
    {
        form.qmbResponsibleClinician().newRow(pharmacyApprovalSearchCriteria.getHCP(), pharmacyApprovalSearchCriteria.getHCP().toString());
        form.qmbResponsibleClinician().setValue(pharmacyApprovalSearchCriteria.getHCP());
    }

    // Populate Hospital Number & populate pharmacy status
    form.txtHospitalNumber().setValue(pharmacyApprovalSearchCriteria.getHospitalNumber());
    form.cmbPharmacyStatus().setValue(pharmacyApprovalSearchCriteria.getStatus());
}
项目:openmaxims-linux    文件:Logic.java   
private PharmacyApprovalSearchCriteriaVo populateSearchFilterFromScreen()
{
    // Create a new VO
    PharmacyApprovalSearchCriteriaVo criteria = new PharmacyApprovalSearchCriteriaVo();

    // Get dates
    criteria.setFromDate(form.dteFromDate().getValue());
    criteria.setToDate(form.dteDateTo().getValue());

    // Get location
    criteria.setLocation(form.qmbLocation().getValue());
    // Get responsible clinician
    criteria.setHCP(form.qmbResponsibleClinician().getValue());

    // Get Hospital number
    criteria.setHospitalNumber(form.txtHospitalNumber().getValue());
    // Get status
    criteria.setStatus(form.cmbPharmacyStatus().getValue());

    return criteria;
}