本文整理汇总了Java中ims.ocrr.vo.NewResultsCriteriaVo.setOrderingLocationType方法的典型用法代码示例。如果您正苦于以下问题:Java NewResultsCriteriaVo.setOrderingLocationType方法的具体用法?Java NewResultsCriteriaVo.setOrderingLocationType怎么用?Java NewResultsCriteriaVo.setOrderingLocationType使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ims.ocrr.vo.NewResultsCriteriaVo
的用法示例。
在下文中一共展示了NewResultsCriteriaVo.setOrderingLocationType方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getValue
import ims.ocrr.vo.NewResultsCriteriaVo; //导入方法依赖的package包/类
public NewResultsCriteriaVo getValue()
{
NewResultsCriteriaVo newResultsSearchCriteria = new NewResultsCriteriaVo();
newResultsSearchCriteria.setSelectedTab(MYRESULTS);
newResultsSearchCriteria.setHospital(form.cmbHospital().getValue());
if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_WARD);
else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoED))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_ED);
else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoClinic))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_CLINIC);
else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoOther))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_OTHER);
newResultsSearchCriteria.setOrderingLocation(form.qmbOrderingLocation().getValue());
if(getIsOutpatientDepartment() && form.qmbOrderingLocation().getValue() instanceof LocationLiteVo)
{
newResultsSearchCriteria.setOutpatientDepartment((LocationLiteVo) form.qmbOrderingLocation().getValue());
}
if(form.chkCurrentInpatientsOnly().getValue() || form.chkInpatientOrdersPatientDischarged().getValue())
{
newResultsSearchCriteria.setInpatientHospital(form.cmbHospital().getValue());
if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard) && form.qmbOrderingLocation().getValue() instanceof LocationLiteVo)
{
newResultsSearchCriteria.setInpatientWard((LocationLiteVo) form.qmbOrderingLocation().getValue());
}
}
if(form.getLocalContext().getCurrentHCP() != null && Boolean.TRUE.equals(form.getLocalContext().getCurrentHCP().getIsHCPaResponsibleHCP()))
{
newResultsSearchCriteria.setResponsibleHCPForOrder(true);
newResultsSearchCriteria.setOrder(true);
newResultsSearchCriteria.setResponsibleHCPForCurrentIP(true);
newResultsSearchCriteria.setCurrenIP(true);
newResultsSearchCriteria.setHCP(form.getLocalContext().getCurrentHCP());
if(HcpDisType.MEDICAL.equals(form.getLocalContext().getCurrentHCP().getHcpType()))
{
newResultsSearchCriteria.setForReviewByMe(true);
newResultsSearchCriteria.setReviewingHCP(form.getLocalContext().getCurrentHCP());
}
}
newResultsSearchCriteria.setOrderByMe(true);
newResultsSearchCriteria.setOrderingHCP(form.getLocalContext().getCurrentHCP());
newResultsSearchCriteria.setInpatientOrders(form.chkInpatientOrders().getValue());
newResultsSearchCriteria.setOutpatientOrders(form.chkOutpatientOrders().getValue());
newResultsSearchCriteria.setCurrentInpatientsOnly(form.chkCurrentInpatientsOnly().getValue());
newResultsSearchCriteria.setInpatientOrdersPatientDischarged(form.chkInpatientOrdersPatientDischarged().getValue());
newResultsSearchCriteria.setNewUpdated(form.chkNew().getValue());
newResultsSearchCriteria.setSeenChecked(form.chkSeenChecked().getValue());
newResultsSearchCriteria.setChecked(form.chkChecked().getValue());
newResultsSearchCriteria.setForReview(form.chkReview().getValue());
newResultsSearchCriteria.setCompleted(form.chkCompleted().getValue());
newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
newResultsSearchCriteria.setToDate(form.dteTo().getValue());
newResultsSearchCriteria.setDays(form.cmbDays().getValue());
newResultsSearchCriteria.setNewestFirst(ListResultsByEnumeration.rdoNewestFirst.equals(form.ListResultsBy().getValue()) ? true : false);
newResultsSearchCriteria.setDiscipline(getDisciplines());
newResultsSearchCriteria.setAbnormalPathologyResultsOnly(form.chkAbnormalPathologyResultsOnly().getValue());
return newResultsSearchCriteria;
}
示例2: getValue
import ims.ocrr.vo.NewResultsCriteriaVo; //导入方法依赖的package包/类
public NewResultsCriteriaVo getValue()
{
NewResultsCriteriaVo newResultsSearchCriteria = new NewResultsCriteriaVo();
newResultsSearchCriteria.setSelectedTab(ALL);
newResultsSearchCriteria.setHospital(form.cmbHospital().getValue());
if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoWard))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_WARD);
else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoED))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_ED);
else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoClinic))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_CLINIC);
else if(form.OrdLocGrp().getValue().equals(OrdLocGrpEnumeration.rdoOther))
newResultsSearchCriteria.setOrderingLocationType(ORDERING_LOCATION_TYPE_OTHER);
newResultsSearchCriteria.setOrderingLocation(form.qmbOrderingLocation().getValue());
if(getIsOutpatientDepartment() && form.qmbOrderingLocation().getValue() instanceof LocationLiteVo)
{
newResultsSearchCriteria.setOutpatientDepartment((LocationLiteVo) form.qmbOrderingLocation().getValue());
}
newResultsSearchCriteria.setOrder(form.chkOrder().getValue());
newResultsSearchCriteria.setCurrenIP(form.chkCurrentIP().getValue());
newResultsSearchCriteria.setHCP(form.ccResponsibleHCP().getValue());
newResultsSearchCriteria.setReviewingHCP(form.qmbReviewingHCP().getValue());
newResultsSearchCriteria.setOrderingHCP(form.ccOrderingHCP().getValue());
newResultsSearchCriteria.setNewUpdated(form.chkNew().getValue());
newResultsSearchCriteria.setSeenChecked(form.chkSeenChecked().getValue());
newResultsSearchCriteria.setChecked(form.chkChecked().getValue());
newResultsSearchCriteria.setForReview(form.chkReview().getValue());
newResultsSearchCriteria.setCompleted(form.chkCompleted().getValue());
newResultsSearchCriteria.setFromDate(form.dteFrom().getValue());
newResultsSearchCriteria.setToDate(form.dteTo().getValue());
newResultsSearchCriteria.setDays(form.cmbDays().getValue());
newResultsSearchCriteria.setNewestFirst(ListResultsByEnumeration.rdoNewestFirst.equals(form.ListResultsBy().getValue()) ? true : false);
newResultsSearchCriteria.setDiscipline(getDisciplines());
newResultsSearchCriteria.setAbnormalPathologyResultsOnly(form.chkAbnormalPathologyResultsOnly().getValue());
return newResultsSearchCriteria;
}