public void populate(
     ims.vo.ValueObjectBeanMap map, ims.emergency.vo.beans.CareContextForEDDischargeVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.startdatetime =
       bean.getStartDateTime() == null ? null : bean.getStartDateTime().buildDateTime();
 }
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.emergency.vo.beans.CareContextForEDDischargeVoBean bean = null;
   if (map != null)
     bean = (ims.emergency.vo.beans.CareContextForEDDischargeVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.emergency.vo.beans.CareContextForEDDischargeVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
 public CareContextForEDDischargeVo(ims.emergency.vo.beans.CareContextForEDDischargeVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.startdatetime =
       bean.getStartDateTime() == null ? null : bean.getStartDateTime().buildDateTime();
 }