public ims.oncology.vo.WaitingTimeFailuresVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.oncology.vo.WaitingTimeFailuresVo vo = null;
   if (map != null) vo = (ims.oncology.vo.WaitingTimeFailuresVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.oncology.vo.WaitingTimeFailuresVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }
 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();
 }