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();
 }