public void populate(ims.vo.ValueObjectBeanMap map, ims.oncology.vo.WaitingTimeFailuresVo 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.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion()); this.nhsnumber = vo.getNHSNumber(); this.reason = vo.getReason(); }