public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.clinicaladmin.vo.beans.InternalReferralSettingsVoBean bean = null;
   if (map != null)
     bean =
         (ims.clinicaladmin.vo.beans.InternalReferralSettingsVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.clinicaladmin.vo.beans.InternalReferralSettingsVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
 public InternalReferralSettingsVo(
     ims.clinicaladmin.vo.beans.InternalReferralSettingsVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.newconditionreferralbacktogp =
       bean.getNewConditionReferralBackToGP() == null
           ? null
           : ims.clinical.vo.lookups.InternalReferralConditionalReferralToGP.buildLookup(
               bean.getNewConditionReferralBackToGP());
   this.referralbacktogpoptionalmessage = bean.getReferralBackToGPOptionalMessage();
   this.referralbacktogpmandatorymessage = bean.getReferralBackToGPMandatoryMessage();
   this.urgentreferralbackgroundcolour =
       bean.getUrgentReferralBackgroundColour() == null
           ? null
           : bean.getUrgentReferralBackgroundColour().buildColor();
   this.allowscanimport = bean.getAllowScanImport();
   this.searchnumberofdays = bean.getSearchNumberOfDays();
 }