public void populate(
     ims.vo.ValueObjectBeanMap map, ims.core.vo.AppointmentHistoryForSummaryOverviewVo vo) {
   this.type = vo.getType();
   this.hcp =
       vo.getHcp() == null
           ? null
           : (ims.core.vo.beans.MemberOfStaffLiteVoBean) vo.getHcp().getBean(map);
   this.date =
       vo.getDate() == null ? null : (ims.framework.utils.beans.DateBean) vo.getDate().getBean();
 }
 public ims.core.vo.AppointmentHistoryForSummaryOverviewVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.AppointmentHistoryForSummaryOverviewVo vo = null;
   if (map != null)
     vo = (ims.core.vo.AppointmentHistoryForSummaryOverviewVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.core.vo.AppointmentHistoryForSummaryOverviewVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }