public ClinicalResultVo getClinicalResult(OrderInvestigationRefVo resultId) { if(resultId == null || resultId.getID_OrderInvestigation() == null) throw new DomainRuntimeException("Invalid OrderInvestigation id"); return ClinicalResultVoAssembler.create((OrderInvestigation)getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation())); }
public ClinicalResultVo getClinicalResult(OrderInvestigationRefVo resultId) { if (resultId == null || resultId.getID_OrderInvestigation() == null) throw new DomainRuntimeException("Invalid OrderInvestigation id"); return ClinicalResultVoAssembler.create((OrderInvestigation) getDomainFactory().getDomainObject(OrderInvestigation.class, resultId.getID_OrderInvestigation())); }