public OcsOrderShortVo(ims.ocrr.vo.beans.OcsOrderShortVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.clinicalcontact =
       bean.getClinicalContact() == null
           ? null
           : new ims.core.admin.vo.ClinicalContactRefVo(
               new Integer(bean.getClinicalContact().getId()),
               bean.getClinicalContact().getVersion());
   this.patient = bean.getPatient() == null ? null : bean.getPatient().buildVo();
   this.orderedby = bean.getOrderedBy() == null ? null : bean.getOrderedBy().buildVo();
   this.responsibleclinician =
       bean.getResponsibleClinician() == null ? null : bean.getResponsibleClinician().buildVo();
   this.responsiblegp = bean.getResponsibleGp() == null ? null : bean.getResponsibleGp().buildVo();
   this.patientlocation =
       bean.getPatientLocation() == null ? null : bean.getPatientLocation().buildVo();
   this.patientclinic = bean.getPatientClinic() == null ? null : bean.getPatientClinic().buildVo();
   this.additclinnotes = bean.getAdditClinNotes();
   this.sysinfo = bean.getSysInfo() == null ? null : bean.getSysInfo().buildSystemInformation();
   this.carecontext = bean.getCareContext() == null ? null : bean.getCareContext().buildVo();
   this.orderinghospital =
       bean.getOrderingHospital() == null
           ? null
           : new ims.core.resource.place.vo.LocSiteRefVo(
               new Integer(bean.getOrderingHospital().getId()),
               bean.getOrderingHospital().getVersion());
   this.outpatientdept =
       bean.getOutpatientDept() == null ? null : bean.getOutpatientDept().buildVo();
   this.authorisationorderstatus =
       bean.getAuthorisationOrderStatus() == null
           ? null
           : ims.ocrr.vo.lookups.AuthorisationOrderStatus.buildLookup(
               bean.getAuthorisationOrderStatus());
 }
예제 #2
0
 public void populate(ims.vo.ValueObjectBeanMap map, ims.ocrr.vo.beans.OcsOrderVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.clinicalcontact =
       bean.getClinicalContact() == null
           ? null
           : new ims.core.admin.vo.ClinicalContactRefVo(
               new Integer(bean.getClinicalContact().getId()),
               bean.getClinicalContact().getVersion());
   this.patient = bean.getPatient() == null ? null : bean.getPatient().buildVo(map);
   this.orderedby = bean.getOrderedBy() == null ? null : bean.getOrderedBy().buildVo(map);
   this.responsibleclinician =
       bean.getResponsibleClinician() == null ? null : bean.getResponsibleClinician().buildVo(map);
   this.responsiblegp =
       bean.getResponsibleGp() == null ? null : bean.getResponsibleGp().buildVo(map);
   this.patientlocation =
       bean.getPatientLocation() == null ? null : bean.getPatientLocation().buildVo(map);
   this.patientclinic =
       bean.getPatientClinic() == null ? null : bean.getPatientClinic().buildVo(map);
   this.additclinnotes = bean.getAdditClinNotes();
   this.sysinfo = bean.getSysInfo() == null ? null : bean.getSysInfo().buildSystemInformation();
   this.carecontext = bean.getCareContext() == null ? null : bean.getCareContext().buildVo(map);
   this.orderinghospital =
       bean.getOrderingHospital() == null
           ? null
           : new ims.core.resource.place.vo.LocSiteRefVo(
               new Integer(bean.getOrderingHospital().getId()),
               bean.getOrderingHospital().getVersion());
   this.outpatientdept =
       bean.getOutpatientDept() == null ? null : bean.getOutpatientDept().buildVo(map);
   this.authorisationorderstatus =
       bean.getAuthorisationOrderStatus() == null
           ? null
           : ims.ocrr.vo.lookups.AuthorisationOrderStatus.buildLookup(
               bean.getAuthorisationOrderStatus());
   this.clinicaltrial = bean.getClinicalTrial();
   this.clinicaltrialtxt = bean.getClinicalTrialTxt();
   this.patmobility =
       bean.getPatMobility() == null
           ? null
           : ims.ocrr.vo.lookups.OrderPatMobility.buildLookup(bean.getPatMobility());
   this.ordercategory =
       bean.getOrderCategory() == null
           ? null
           : ims.ocrr.vo.lookups.OrderCategory.buildLookup(bean.getOrderCategory());
   this.specimens =
       ims.ocrr.vo.OrderSpecimenVoCollection.buildFromBeanCollection(bean.getSpecimens());
   this.investigations =
       ims.ocrr.vo.OrderInvestigationVoCollection.buildFromBeanCollection(
           bean.getInvestigations());
   this.wasprocessed = bean.getWasProcessed();
   this.clinicalinfo = bean.getClinicalInfo() == null ? null : bean.getClinicalInfo().buildVo(map);
   this.reportto = ims.ocrr.vo.OcsReportToVoCollection.buildFromBeanCollection(bean.getReportTo());
   this.summaryclinicalinformation = bean.getSummaryClinicalInformation();
   this.bleepextnumber = bean.getBleepExtNumber();
 }