/** * get Bobath record for a clinical contact */ public BobathVo getBoBath(ims.core.vo.ClinicalContactShortVo voClinicalContact) { if(voClinicalContact == null) throw new CodingRuntimeException("Bobath Filter not provided for get call. "); String hql = new String("from Bobath b where b.clinicalContact.id = :CLINICAL_CONTACT_ID"); BobathVoCollection bobaths = BobathVoAssembler.createBobathVoCollectionFromBobath(getDomainFactory().find(hql, "CLINICAL_CONTACT_ID", voClinicalContact.getID_ClinicalContact())); if (bobaths.size() > 0) return bobaths.get(0); return null; }