public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map) {
   ims.clinical.vo.beans.VTERiskAssessmentVoBean bean = null;
   if (map != null)
     bean = (ims.clinical.vo.beans.VTERiskAssessmentVoBean) map.getValueObjectBean(this);
   if (bean == null) {
     bean = new ims.clinical.vo.beans.VTERiskAssessmentVoBean();
     map.addValueObjectBean(this, bean);
     bean.populate(map, this);
   }
   return bean;
 }
 public VTERiskAssessmentVo(ims.clinical.vo.beans.VTERiskAssessmentVoBean bean) {
   this.id = bean.getId();
   this.version = bean.getVersion();
   this.patient = bean.getPatient() == null ? null : bean.getPatient().buildVo();
   this.carecontext =
       bean.getCareContext() == null
           ? null
           : new ims.core.admin.vo.CareContextRefVo(
               new Integer(bean.getCareContext().getId()), bean.getCareContext().getVersion());
   this.authoringinformation =
       bean.getAuthoringInformation() == null ? null : bean.getAuthoringInformation().buildVo();
   this.recordinginformation =
       bean.getRecordingInformation() == null ? null : bean.getRecordingInformation().buildVo();
   this.vteassessmentstatus =
       bean.getVTEAssessmentStatus() == null
           ? null
           : ims.clinical.vo.lookups.VTEAsessmentStatus.buildLookup(bean.getVTEAssessmentStatus());
   this.completedby = bean.getCompletedBy() == null ? null : bean.getCompletedBy().buildVo();
   this.notexpectedreducedmobility =
       bean.getNotExpectedReducedMobility() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getNotExpectedReducedMobility());
   this.activecancer =
       bean.getActiveCancer() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getActiveCancer());
   this.ageoversixty =
       bean.getAgeOverSixty() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getAgeOverSixty());
   this.dehydration =
       bean.getDehydration() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getDehydration());
   this.knownthrombophilias =
       bean.getKnownThrombophilias() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getKnownThrombophilias());
   this.obesity =
       bean.getObesity() == null ? null : ims.core.vo.lookups.YesNo.buildLookup(bean.getObesity());
   this.significantmorbidities =
       bean.getSignificantMorbidities() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getSignificantMorbidities());
   this.historyofvte =
       bean.getHistoryOfVTE() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getHistoryOfVTE());
   this.useofhrt =
       bean.getUseOfHRT() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getUseOfHRT());
   this.useofostogren =
       bean.getUseOfOstogren() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getUseOfOstogren());
   this.varicoseveins =
       bean.getVaricoseVeins() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getVaricoseVeins());
   this.pregnancy =
       bean.getPregnancy() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getPregnancy());
   this.reducedmobility =
       bean.getReducedMobility() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getReducedMobility());
   this.criticalcareadmission =
       bean.getCriticalCareAdmission() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getCriticalCareAdmission());
   this.hipkneereplacement =
       bean.getHipKneeReplacement() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getHipKneeReplacement());
   this.hipfracture =
       bean.getHipFracture() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getHipFracture());
   this.anaestheticandsurgery =
       bean.getAnaestheticAndSurgery() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getAnaestheticAndSurgery());
   this.acutesurgicaladmission =
       bean.getAcuteSurgicalAdmission() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getAcuteSurgicalAdmission());
   this.surgerysignificantmobilityreduction =
       bean.getSurgerySignificantMobilityReduction() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getSurgerySignificantMobilityReduction());
   this.activebleeding =
       bean.getActiveBleeding() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getActiveBleeding());
   this.acquiredbleeding =
       bean.getAcquiredBleeding() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getAcquiredBleeding());
   this.concurrentanticoagulants =
       bean.getConcurrentAnticoagulants() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getConcurrentAnticoagulants());
   this.uncontrolledhypertension =
       bean.getUncontrolledHypertension() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getUncontrolledHypertension());
   this.thrombocytopenia =
       bean.getThrombocytopenia() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getThrombocytopenia());
   this.acutestroke =
       bean.getAcuteStroke() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getAcuteStroke());
   this.untreatedbleedingdisorder =
       bean.getUntreatedBleedingDisorder() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getUntreatedBleedingDisorder());
   this.neurospinaleyesurgery =
       bean.getNeuroSpinalEyeSurgery() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getNeuroSpinalEyeSurgery());
   this.otherprocedurewithhighbleedingrisk =
       bean.getOtherProcedureWithHighBleedingRisk() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getOtherProcedureWithHighBleedingRisk());
   this.lumbarpuncturewithinnext12hrs =
       bean.getLumbarPunctureWithinNext12hrs() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getLumbarPunctureWithinNext12hrs());
   this.lumbarpunctureprevious4hrs =
       bean.getLumbarPuncturePrevious4hrs() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getLumbarPuncturePrevious4hrs());
   this.riskgroup =
       bean.getRiskGroup() == null
           ? null
           : ims.clinical.vo.lookups.VTERiskGroup.buildLookup(bean.getRiskGroup());
   this.prophylaxisoffered =
       bean.getProphylaxisOffered() == null
           ? null
           : ims.clinical.vo.lookups.ProphylaxisOffered.buildLookup(bean.getProphylaxisOffered());
   this.surgerylowerlimbpelvis60mins =
       bean.getSurgeryLowerLimbPelvis60mins() == null
           ? null
           : ims.core.vo.lookups.YesNo.buildLookup(bean.getSurgeryLowerLimbPelvis60mins());
 }