本文整理汇总了Java中ims.ocrr.vo.domain.OrderInvestigationListVoAssembler类的典型用法代码示例。如果您正苦于以下问题:Java OrderInvestigationListVoAssembler类的具体用法?Java OrderInvestigationListVoAssembler怎么用?Java OrderInvestigationListVoAssembler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OrderInvestigationListVoAssembler类属于ims.ocrr.vo.domain包,在下文中一共展示了OrderInvestigationListVoAssembler类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getInvestigation
import ims.ocrr.vo.domain.OrderInvestigationListVoAssembler; //导入依赖的package包/类
/**
* WDEV-12345
* Retrieve completed OrderInvestigations for provided Cats Referral record
*/
public OrderInvestigationListVoCollection getInvestigation(CatsReferralRefVo referral)
{
if (referral == null || !referral.getID_CatsReferralIsNotNull())
return null;
String query = "select investig from CatsReferral as cats left join cats.investigationOrders as orders left join orders.investigations as investig left join investig.resultDetails as resDet left join resDet.pathologyResultDetails as pathRes where cats.id = :ID and (resDet.clinicalResultDetails is not null or pathRes.id is not null)";
ArrayList<String> paramNames = new ArrayList<String>();
ArrayList<Object> paramValues = new ArrayList<Object>();
paramNames.add("ID");
paramValues.add(referral.getID_CatsReferral());
return OrderInvestigationListVoAssembler.createOrderInvestigationListVoCollectionFromOrderInvestigation(getDomainFactory().find(query, paramNames, paramValues));
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:20,代码来源:ReferralOutcomeComponentImpl.java
示例2: getOrderSummary
import ims.ocrr.vo.domain.OrderInvestigationListVoAssembler; //导入依赖的package包/类
public OcsOrderSummaryVo getOrderSummary(OcsOrderSessionRefVo voOcsOrderRef) //WDEV-16232
{
if(voOcsOrderRef == null || voOcsOrderRef.getID_OcsOrderSession() == null)//WDEV-16232
throw new DomainRuntimeException("Order ref is null");
OcsOrderSession doOcsOrder = (OcsOrderSession) getDomainFactory().getDomainObject(voOcsOrderRef);//WDEV-16232
OcsOrderSummaryVo voOcsOrder = OcsOrderSummaryVoAssembler.create(doOcsOrder);
//WDEV-12054
HashMap map = new HashMap();
List results = new ArrayList(doOcsOrder.getInvestigations()); //convert set to list
ClinicalImagingResults impl = (ClinicalImagingResults) getDomainImpl(ClinicalImagingResultsImpl.class);
map = impl.getListXoHistory(map, results);
OrderInvestigationListVoCollection voCollInvs = OrderInvestigationListVoAssembler.createOrderInvestigationListVoCollectionFromOrderInvestigation(results);
if(voCollInvs != null)
{
for(OrderInvestigationListVo voResult : voCollInvs)
{
if(map.containsKey(voResult.getID_OrderInvestigation()))
{
voResult.setOrdInvXOStatusHistory((OrdInvXOStatusHistoryLiteVoCollection) map.get(voResult.getID_OrderInvestigation()));
}
}
}
voOcsOrder.setInvestigations(voCollInvs);
return voOcsOrder;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:31,代码来源:OrderSummaryImpl.java
注:本文中的ims.ocrr.vo.domain.OrderInvestigationListVoAssembler类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论