public void populate(
     ims.vo.ValueObjectBeanMap map,
     ims.RefMan.vo.beans.SearchCriteriaForElectiveListManagementVoBean bean) {
   this.type =
       ims.RefMan.vo.lookups.ElectiveAdmissionTypeCollection.buildFromBeanCollection(
           bean.getType());
   this.admissiontype =
       bean.getAdmissionType() == null
           ? null
           : ims.RefMan.vo.lookups.WaitingCardAdmissionType.buildLookup(bean.getAdmissionType());
   this.urgency =
       bean.getUrgency() == null
           ? null
           : ims.RefMan.vo.lookups.ReferralUrgency.buildLookup(bean.getUrgency());
   this.onlycancerreferrals = bean.getOnlyCancerReferrals();
   this.service = bean.getService() == null ? null : bean.getService().buildVo(map);
   this.consultant = bean.getConsultant() == null ? null : bean.getConsultant().buildVo(map);
   this.procedure = bean.getProcedure() == null ? null : bean.getProcedure().buildVo(map);
   this.electivelistname =
       bean.getElectiveListName() == null ? null : bean.getElectiveListName().buildVo(map);
   this.theatretype =
       bean.getTheatreType() == null
           ? null
           : ims.scheduling.vo.lookups.TheatreType.buildLookup(bean.getTheatreType());
   this.anaesthetictype =
       bean.getAnaestheticType() == null
           ? null
           : ims.clinical.vo.lookups.AnaestheticType.buildLookup(bean.getAnaestheticType());
   this.electiveliststatus = bean.getElectiveListStatus();
   this.electiveliststatusrequirestcisuboption = bean.getElectiveListStatusRequiresTCISubOption();
   this.shortnotice = bean.getShortNotice();
   this.daysnoticerequired = bean.getDaysNoticeRequired();
   this.rttbreachin = bean.getRTTBreachIn();
   this.rttbreachinperiod =
       bean.getRTTBreachInPeriod() == null
           ? null
           : ims.core.vo.lookups.TimeUnitsSecondsToMonths.buildLookup(bean.getRTTBreachInPeriod());
   this.includepatientsrttbreached = bean.getIncludePatientsRTTBreached();
   this.planneddatein = bean.getPlannedDateIn();
   this.planneddateinperiod =
       bean.getPlannedDateInPeriod() == null
           ? null
           : ims.core.vo.lookups.TimeUnitsSecondsToMonths.buildLookup(
               bean.getPlannedDateInPeriod());
   this.includepatientspastplanneddates = bean.getIncludePatientsPastPlannedDates();
   this.hospital = bean.getHospital() == null ? null : bean.getHospital().buildVo(map);
 }