public ims.core.vo.PatientAlertEDischargeVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.core.vo.PatientAlertEDischargeVo vo = null;
   if (map != null) vo = (ims.core.vo.PatientAlertEDischargeVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.core.vo.PatientAlertEDischargeVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }
 public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.PatientAlertEDischargeVo vo) {
   this.id = vo.getBoId();
   this.version = vo.getBoVersion();
   this.alerttype =
       vo.getAlertType() == null ? null : (ims.vo.LookupInstanceBean) vo.getAlertType().getBean();
   this.iscurrentlyactivealert = vo.getIsCurrentlyActiveAlert();
   this.comments = vo.getComments();
   this.sourceofinformation =
       vo.getSourceofInformation() == null
           ? null
           : (ims.vo.LookupInstanceBean) vo.getSourceofInformation().getBean();
   this.dateidentified =
       vo.getDateIdentified() == null
           ? null
           : (ims.framework.utils.beans.PartialDateBean) vo.getDateIdentified().getBean();
   this.authoringinformation =
       vo.getAuthoringInformation() == null
           ? null
           : (ims.core.vo.beans.AuthoringInformationVoBean)
               vo.getAuthoringInformation().getBean(map);
   this.patient =
       vo.getPatient() == null
           ? null
           : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion());
   this.includealertindischargereports =
       vo.getIncludeAlertInDischargeReports() == null
           ? null
           : vo.getIncludeAlertInDischargeReports().getBeanCollection();
   this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean) vo.getSysInfo().getBean();
   this.inactivationcomments = vo.getInactivationComments();
   this.inactivationauthoringinfo =
       vo.getInactivationAuthoringInfo() == null
           ? null
           : (ims.core.vo.beans.AuthoringInformationVoBean)
               vo.getInactivationAuthoringInfo().getBean(map);
 }