/** * saveSurgeryDetails */ public ims.clinical.vo.SurgeryDetailsVo saveSurgeryDetails(ims.clinical.vo.SurgeryDetailsVo surgVo) throws ims.domain.exceptions.StaleObjectException { DomainFactory factory = getDomainFactory(); SurgeryDetails doSD = SurgeryDetailsVoAssembler.extractSurgeryDetails(factory, surgVo); factory.save(doSD); return SurgeryDetailsVoAssembler.create(doSD); }
/** * getSurgeryDetails */ public ims.clinical.vo.SurgeryDetailsVo getSurgeryDetails(ims.clinical.vo.SurgeryDetailsRefVo sdRefVo) { return SurgeryDetailsVoAssembler.create((SurgeryDetails)getDomainFactory().getDomainObject(SurgeryDetails.class, sdRefVo.getID_SurgeryDetails())); }