コード例 #1
0
 public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.clinical.vo.beans.ClinicalCorrespondenceVoBean bean = null;
   if (map != null)
     bean = (ims.clinical.vo.beans.ClinicalCorrespondenceVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.clinical.vo.beans.ClinicalCorrespondenceVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
コード例 #2
0
 public void populate(
     ims.vo.ValueObjectBeanMap map, ims.clinical.vo.beans.ClinicalCorrespondenceVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.clinicalcontact =
       bean.getClinicalContact() == null ? null : bean.getClinicalContact().buildVo(map);
   this.carecontext = bean.getCareContext() == null ? null : bean.getCareContext().buildVo(map);
   this.verifyinghcp = bean.getVerifyingHCP() == null ? null : bean.getVerifyingHCP().buildVo(map);
   this.verifyingdatetime =
       bean.getVerifyingDateTime() == null ? null : bean.getVerifyingDateTime().buildDateTime();
   this.currentstatus =
       bean.getCurrentStatus() == null ? null : bean.getCurrentStatus().buildVo(map);
   this.opdnotes = bean.getOPDNotes() == null ? null : bean.getOPDNotes().buildVo(map);
   this.hasobjectivenote = bean.getHasObjectiveNote();
   this.hasplannote = bean.getHasPlanNote();
   this.hasinstructionsnote = bean.getHasInstructionsNote();
   this.inpatientdischargesummary =
       bean.getInpatientDischargeSummary() == null
           ? null
           : bean.getInpatientDischargeSummary().buildVo(map);
   this.type =
       bean.getType() == null
           ? null
           : ims.clinical.vo.lookups.ClinicalCorrespondenceType.buildLookup(bean.getType());
   this.episodeofcare =
       bean.getEpisodeOfCare() == null ? null : bean.getEpisodeOfCare().buildVo(map);
   this.authoringinformation =
       bean.getAuthoringInformation() == null ? null : bean.getAuthoringInformation().buildVo(map);
   this.recipients =
       ims.clinical.vo.ClinicalCorrespondenceRecipientsVoCollection.buildFromBeanCollection(
           bean.getRecipients());
   this.statushistory =
       ims.clinical.vo.CorrespondenceStatusVoCollection.buildFromBeanCollection(
           bean.getStatusHistory());
   this.problems =
       ims.clinical.vo.CorrespondenceProblemVoCollection.buildFromBeanCollection(
           bean.getProblems());
   this.diagnosescomplications =
       ims.clinical.vo.CorrespondenceDiagnosisCompVoCollection.buildFromBeanCollection(
           bean.getDiagnosesComplications());
   this.procedures =
       ims.clinical.vo.CorrespondenceProcedureVoCollection.buildFromBeanCollection(
           bean.getProcedures());
   this.medication =
       bean.getMedication() == null
           ? null
           : new ims.clinical.vo.MedicationOverviewRefVo(
               new Integer(bean.getMedication().getId()), bean.getMedication().getVersion());
   this.primaryrecipient =
       bean.getPrimaryRecipient() == null ? null : bean.getPrimaryRecipient().buildVo(map);
   this.ruserverifyingdatetime =
       bean.getRUserVerifyingDateTime() == null
           ? null
           : bean.getRUserVerifyingDateTime().buildDateTime();
   this.ruserverifyinghcp =
       bean.getRUserVerifyingHCP() == null ? null : bean.getRUserVerifyingHCP().buildVo(map);
 }