public ims.clinical.vo.SurgicalOperationNotesShortVo buildVo(ims.vo.ValueObjectBeanMap map) { ims.clinical.vo.SurgicalOperationNotesShortVo vo = null; if (map != null) vo = (ims.clinical.vo.SurgicalOperationNotesShortVo) map.getValueObject(this); if (vo == null) { vo = new ims.clinical.vo.SurgicalOperationNotesShortVo(); map.addValueObject(this, vo); vo.populate(map, this); } return vo; }
public SurgicalOperationNotesShortVoBean(ims.clinical.vo.SurgicalOperationNotesShortVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean( vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion()); this.proceduresperformed = vo.getProceduresPerformed() == null ? null : vo.getProceduresPerformed().getBeanCollection(); this.mainprocedure = vo.getMainProcedure() == null ? null : (ims.core.vo.beans.PatientProcedureSurgicalOpVoBean) vo.getMainProcedure().getBean(); }