public ims.hl7.vo.HL7OutboundVo buildVo(ims.vo.ValueObjectBeanMap map) {
   ims.hl7.vo.HL7OutboundVo vo = null;
   if (map != null) vo = (ims.hl7.vo.HL7OutboundVo) map.getValueObject(this);
   if (vo == null) {
     vo = new ims.hl7.vo.HL7OutboundVo();
     map.addValueObject(this, vo);
     vo.populate(map, this);
   }
   return vo;
 }
 public void populate(ims.vo.ValueObjectBeanMap map, ims.hl7.vo.HL7OutboundVo vo) {
   this.id = vo.getBoId();
   this.version = vo.getBoVersion();
   this.patient =
       vo.getPatient() == null
           ? null
           : (ims.core.vo.beans.PatientLiteVoBean) vo.getPatient().getBean(map);
   this.providersystem =
       vo.getProviderSystem() == null
           ? null
           : (ims.ocrr.vo.beans.ProviderSystemVoBean) vo.getProviderSystem().getBean(map);
   this.hl7message = vo.getHL7Message();
   this.messagetype =
       vo.getMessageType() == null
           ? null
           : (ims.vo.LookupInstanceBean) vo.getMessageType().getBean();
   this.messagecategory =
       vo.getMessageCategory() == null
           ? null
           : (ims.vo.LookupInstanceBean) vo.getMessageCategory().getBean();
   this.failuremessage = vo.getFailureMessage();
   this.messagesentdatetime =
       vo.getMessageSentDateTime() == null
           ? null
           : (ims.framework.utils.beans.DateTimeBean) vo.getMessageSentDateTime().getBean();
   this.successfuloutcome = vo.getSuccessfulOutcome();
 }