/** * getSystemReview for a clinical contact. */ public ims.clinical.vo.SystemReviewVo getSystemReview(ims.core.vo.ClinicalContactShortVo voClinicalContactShort) { if(voClinicalContactShort == null || voClinicalContactShort.getID_ClinicalContact() == null) throw new DomainRuntimeException("Contact not provided for get call. "); DomainFactory factory = getDomainFactory(); List sysReviewList = factory.find(" from SystemReview sr where sr.clinicalContact.id = :idCC )", new String[]{"idCC" }, new Object[]{ voClinicalContactShort.getID_ClinicalContact()}); SystemReviewVoCollection voColl = SystemReviewVoAssembler.createSystemReviewVoCollectionFromSystemReview(sysReviewList); if(voColl.size()>0) return voColl.get(0); else return null; }