gt: 		return this.requiresvetting != null;
context: //#############################################################################
  //#                                                                           #
  //#  Copyright (C) <2015>  <IMS MAXIMS>                                       #
  //#                                                                           #
  //#  This program is free software: you can redistribute it and/or modify     #
  //#  it under the terms of the GNU Affero General Public License as           #
  //#  published by the Free Software Foundation, either version 3 of the       #
  //#  License, or (at your option) any later version.                          # 
  //#                                                                           #
  //#  This program is distributed in the hope that it will be useful,          #
  //#  but WITHOUT ANY WARRANTY; without even the implied warranty of           #
  //#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
  //#  GNU Affero General Public License for more details.                      #
  //#                                                                           #
  //#  You should have received a copy of the GNU Affero General Public License #
  //#  along with this program.  If not, see <http://www.gnu.org/licenses/>.    #
  //#                                                                           #
  //#  IMS MAXIMS provides absolutely NO GUARANTEE OF THE CLINICAL SAFTEY of    #
  //#  this program.  Users of this software do so entirely at their own risk.  #
  //#  IMS MAXIMS only ensures the Clinical Safety of unaltered run-time        #
  //#  software that it builds, deploys and maintains.                          #
  //#                                                                           #
  //#############################################################################
  //#EOH
  // This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5589.25814)
  // Copyright (C) 1995-2015 IMS MAXIMS. All rights reserved.
  // WARNING: DO NOT MODIFY the content of this file
  
  package ims.RefMan.vo;
  
  /**
   * Linked to RefMan.PatientElectiveList business object (ID: 1014100020).
   */
  public class PatientElectiveListShortVo extends ims.RefMan.vo.PatientElectiveListRefVo implements ims.vo.ImsCloneable, Comparable
  {
  	private static final long serialVersionUID = 1L;
  
  	public PatientElectiveListShortVo()
  	{
  	}
  	public PatientElectiveListShortVo(Integer id, int version)
  	{
  		super(id, version);
  	}
  	public PatientElectiveListShortVo(ims.RefMan.vo.beans.PatientElectiveListShortVoBean bean)
  	{
  		this.id = bean.getId();
  		this.version = bean.getVersion();
  		this.patient = bean.getPatient() == null ? null : bean.getPatient().buildVo();
  		this.electivelist = bean.getElectiveList() == null ? null : bean.getElectiveList().buildVo();
  		this.electiveliststatus = bean.getElectiveListStatus() == null ? null : bean.getElectiveListStatus().buildVo();
  		this.consultant = bean.getConsultant() == null ? null : bean.getConsultant().buildVo();
  		this.dateonlist = bean.getDateOnList() == null ? null : bean.getDateOnList().buildDate();
  		this.referral = bean.getReferral() == null ? null : bean.getReferral().buildVo();
  		this.priority = bean.getPriority() == null ? null : ims.RefMan.vo.lookups.ReferralUrgency.buildLookup(bean.getPriority());
  		this.tcidetails = bean.getTCIDetails() == null ? null : bean.getTCIDetails().buildVo();
  		this.creatingappointment = bean.getCreatingAppointment() == null ? null : bean.getCreatingAppointment().buildVo();
  		this.primaryprocedure = bean.getPrimaryProcedure() == null ? null : bean.getPrimaryProcedure().buildVo();
  		this.electiveadmissiontype = bean.getElectiveAdmissionType() == null ? null : ims.RefMan.vo.lookups.ElectiveAdmissionType.buildLookup(bean.getElectiveAdmissionType());
  		this.erod = bean.getEROD() == null ? null : new ims.RefMan.vo.ReferralERODRefVo(new Integer(bean.getEROD().getId()), bean.getEROD().getVersion());
  		this.subjectto28dayrule = bean.getSubjectTo28DayRule();
  		this.rule28daystatus = bean.getRule28DayStatus() == null ? null : ims.scheduling.vo.lookups.Rule28DayStatus.buildLookup(bean.getRule28DayStatus());
  		this.rule28dayperiodstart = bean.getRule28DayPeriodStart() == null ? null : bean.getRule28DayPeriodStart().buildDate();
  		this.preassessmentrequired = bean.getPreAssessmentRequired();
  		this.admissiontype = bean.getAdmissionType() == null ? null : ims.RefMan.vo.lookups.WaitingCardAdmissionType.buildLookup(bean.getAdmissionType());
  		this.fitforsurgery = bean.getFitForSurgery() == null ? null : ims.core.vo.lookups.YesNoUnknown.buildLookup(bean.getFitForSurgery());
  		this.requiresvetting = bean.getRequiresVetting();
  		this.precolonoscopyassessmentrequired = bean.getPreColonoscopyAssessmentRequired() == null ? null : ims.core.vo.lookups.YesNo.buildLookup(bean.getPreColonoscopyAssessmentRequired());
  		this.responsiblehcp = bean.getResponsibleHCP() == null ? null : bean.getResponsibleHCP().buildVo();
  	}
  	public void populate(ims.vo.ValueObjectBeanMap map, ims.RefMan.vo.beans.PatientElectiveListShortVoBean bean)
  	{
  		this.id = bean.getId();
  		this.version = bean.getVersion();
  		this.patient = bean.getPatient() == null ? null : bean.getPatient().buildVo(map);
  		this.electivelist = bean.getElectiveList() == null ? null : bean.getElectiveList().buildVo(map);
  		this.electiveliststatus = bean.getElectiveListStatus() == null ? null : bean.getElectiveListStatus().buildVo(map);
  		this.consultant = bean.getConsultant() == null ? null : bean.getConsultant().buildVo(map);
  		this.dateonlist = bean.getDateOnList() == null ? null : bean.getDateOnList().buildDate();
  		this.referral = bean.getReferral() == null ? null : bean.getReferral().buildVo(map);
  		this.priority = bean.getPriority() == null ? null : ims.RefMan.vo.lookups.ReferralUrgency.buildLookup(bean.getPriority());
  		this.tcidetails = bean.getTCIDetails() == null ? null : bean.getTCIDetails().buildVo(map);
  		this.creatingappointment = bean.getCreatingAppointment() == null ? null : bean.getCreatingAppointment().buildVo(map);
  		this.primaryprocedure = bean.getPrimaryProcedure() == null ? null : bean.getPrimaryProcedure().buildVo(map);
  		this.electiveadmissiontype = bean.getElectiveAdmissionType() == null ? null : ims.RefMan.vo.lookups.ElectiveAdmissionType.buildLookup(bean.getElectiveAdmissionType());
  		this.erod = bean.getEROD() == null ? null : new ims.RefMan.vo.ReferralERODRefVo(new Integer(bean.getEROD().getId()), bean.getEROD().getVersion());
  		this.subjectto28dayrule = bean.getSubjectTo28DayRule();
  		this.rule28daystatus = bean.getRule28DayStatus() == null ? null : ims.scheduling.vo.lookups.Rule28DayStatus.buildLookup(bean.getRule28DayStatus());
  		this.rule28dayperiodstart = bean.getRule28DayPeriodStart() == null ? null : bean.getRule28DayPeriodStart().buildDate();
  		this.preassessmentrequired = bean.getPreAssessmentRequired();
  		this.admissiontype = bean.getAdmissionType() == null ? null : ims.RefMan.vo.lookups.WaitingCardAdmissionType.buildLookup(bean.getAdmissionType());
  		this.fitforsurgery = bean.getFitForSurgery() == null ? null : ims.core.vo.lookups.YesNoUnknown.buildLookup(bean.getFitForSurgery());
  		this.requiresvetting = bean.getRequiresVetting();
  		this.precolonoscopyassessmentrequired = bean.getPreColonoscopyAssessmentRequired() == null ? null : ims.core.vo.lookups.YesNo.buildLookup(bean.getPreColonoscopyAssessmentRequired());
  		this.responsiblehcp = bean.getResponsibleHCP() == null ? null : bean.getResponsibleHCP().buildVo(map);
  	}
  	public ims.vo.ValueObjectBean getBean()
  	{
  		return this.getBean(new ims.vo.ValueObjectBeanMap());
  	}
  	public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map)
  	{
  		ims.RefMan.vo.beans.PatientElectiveListShortVoBean bean = null;
  		if(map != null)
  			bean = (ims.RefMan.vo.beans.PatientElectiveListShortVoBean)map.getValueObjectBean(this);
  		if (bean == null)
  		{
  			bean = new ims.RefMan.vo.beans.PatientElectiveListShortVoBean();
  			map.addValueObjectBean(this, bean);
  			bean.populate(map, this);
  		}
  		return bean;
  	}
  	public Object getFieldValueByFieldName(String fieldName)
  	{
  		if(fieldName == null)
  			throw new ims.framework.exceptions.CodingRuntimeException("Invalid field name");
  		fieldName = fieldName.toUpperCase();
  		if(fieldName.equals("PATIENT"))
  			return getPatient();
  		if(fieldName.equals("ELECTIVELIST"))
  			return getElectiveList();
  		if(fieldName.equals("ELECTIVELISTSTATUS"))
  			return getElectiveListStatus();
  		if(fieldName.equals("CONSULTANT"))
  			return getConsultant();
  		if(fieldName.equals("DATEONLIST"))
  			return getDateOnList();
  		if(fieldName.equals("REFERRAL"))
  			return getReferral();
  		if(fieldName.equals("PRIORITY"))
  			return getPriority();
  		if(fieldName.equals("TCIDETAILS"))
  			return getTCIDetails();
  		if(fieldName.equals("CREATINGAPPOINTMENT"))
  			return getCreatingAppointment();
  		if(fieldName.equals("PRIMARYPROCEDURE"))
  			return getPrimaryProcedure();
  		if(fieldName.equals("ELECTIVEADMISSIONTYPE"))
  			return getElectiveAdmissionType();
  		if(fieldName.equals("EROD"))
  			return getEROD();
  		if(fieldName.equals("SUBJECTTO28DAYRULE"))
  			return getSubjectTo28DayRule();
  		if(fieldName.equals("RULE28DAYSTATUS"))
  			return getRule28DayStatus();
  		if(fieldName.equals("RULE28DAYPERIODSTART"))
  			return getRule28DayPeriodStart();
  		if(fieldName.equals("PREASSESSMENTREQUIRED"))
  			return getPreAssessmentRequired();
  		if(fieldName.equals("ADMISSIONTYPE"))
  			return getAdmissionType();
  		if(fieldName.equals("FITFORSURGERY"))
  			return getFitForSurgery();
  		if(fieldName.equals("REQUIRESVETTING"))
  			return getRequiresVetting();
  		if(fieldName.equals("PRECOLONOSCOPYASSESSMENTREQUIRED"))
  			return getPreColonoscopyAssessmentRequired();
  		if(fieldName.equals("RESPONSIBLEHCP"))
  			return getResponsibleHCP();
  		return super.getFieldValueByFieldName(fieldName);
  	}
  	public boolean getPatientIsNotNull()
  	{
  		return this.patient != null;
  	}
  	public ims.core.vo.PatientLite_IdentifiersVo getPatient()
  	{
  		return this.patient;
  	}
  	public void setPatient(ims.core.vo.PatientLite_IdentifiersVo value)
  	{
  		this.isValidated = false;
  		this.patient = value;
  	}
  	public boolean getElectiveListIsNotNull()
  	{
  		return this.electivelist != null;
  	}
  	public ims.admin.vo.ElectiveListConfigShortVo getElectiveList()
  	{
  		return this.electivelist;
  	}
  	public void setElectiveList(ims.admin.vo.ElectiveListConfigShortVo value)
  	{
  		this.isValidated = false;
  		this.electivelist = value;
  	}
  	public boolean getElectiveListStatusIsNotNull()
  	{
  		return this.electiveliststatus != null;
  	}
  	public ims.RefMan.vo.ElectiveListStatusLiteVo getElectiveListStatus()
  	{
  		return this.electiveliststatus;
  	}
  	public void setElectiveListStatus(ims.RefMan.vo.ElectiveListStatusLiteVo value)
  	{
  		this.isValidated = false;
  		this.electiveliststatus = value;
  	}
  	public boolean getConsultantIsNotNull()
  	{
  		return this.consultant != null;
  	}
  	public ims.core.vo.HcpLiteVo getConsultant()
  	{
  		return this.consultant;
  	}
  	public void setConsultant(ims.core.vo.HcpLiteVo value)
  	{
  		this.isValidated = false;
  		this.consultant = value;
  	}
  	public boolean getDateOnListIsNotNull()
  	{
  		return this.dateonlist != null;
  	}
  	public ims.framework.utils.Date getDateOnList()
  	{
  		return this.dateonlist;
  	}
  	public void setDateOnList(ims.framework.utils.Date value)
  	{
  		this.isValidated = false;
  		this.dateonlist = value;
  	}
  	public boolean getReferralIsNotNull()
  	{
  		return this.referral != null;
  	}
  	public ims.RefMan.vo.CatsReferralWithRTTDateVo getReferral()
  	{
  		return this.referral;
  	}
  	public void setReferral(ims.RefMan.vo.CatsReferralWithRTTDateVo value)
  	{
  		this.isValidated = false;
  		this.referral = value;
  	}
  	public boolean getPriorityIsNotNull()
  	{
  		return this.priority != null;
  	}
  	public ims.RefMan.vo.lookups.ReferralUrgency getPriority()
  	{
  		return this.priority;
  	}
  	public void setPriority(ims.RefMan.vo.lookups.ReferralUrgency value)
  	{
  		this.isValidated = false;
  		this.priority = value;
  	}
  	public boolean getTCIDetailsIsNotNull()
  	{
  		return this.tcidetails != null;
  	}
  	public ims.RefMan.vo.TCIDetailsLiteVo getTCIDetails()
  	{
  		return this.tcidetails;
  	}
  	public void setTCIDetails(ims.RefMan.vo.TCIDetailsLiteVo value)
  	{
  		this.isValidated = false;
  		this.tcidetails = value;
  	}
  	public boolean getCreatingAppointmentIsNotNull()
  	{
  		return this.creatingappointment != null;
  	}
  	public ims.RefMan.vo.Booking_AppointmentOutcomeForElectiveListVo getCreatingAppointment()
  	{
  		return this.creatingappointment;
  	}
  	public void setCreatingAppointment(ims.RefMan.vo.Booking_AppointmentOutcomeForElectiveListVo value)
  	{
  		this.isValidated = false;
  		this.creatingappointment = value;
  	}
  	public boolean getPrimaryProcedureIsNotNull()
  	{
  		return this.primaryprocedure != null;
  	}
  	public ims.core.vo.ProcedureLiteVo getPrimaryProcedure()
  	{
  		return this.primaryprocedure;
  	}
  	public void setPrimaryProcedure(ims.core.vo.ProcedureLiteVo value)
  	{
  		this.isValidated = false;
  		this.primaryprocedure = value;
  	}
  	public boolean getElectiveAdmissionTypeIsNotNull()
  	{
  		return this.electiveadmissiontype != null;
  	}
  	public ims.RefMan.vo.lookups.ElectiveAdmissionType getElectiveAdmissionType()
  	{
  		return this.electiveadmissiontype;
  	}
  	public void setElectiveAdmissionType(ims.RefMan.vo.lookups.ElectiveAdmissionType value)
  	{
  		this.isValidated = false;
  		this.electiveadmissiontype = value;
  	}
  	public boolean getERODIsNotNull()
  	{
  		return this.erod != null;
  	}
  	public ims.RefMan.vo.ReferralERODRefVo getEROD()
  	{
  		return this.erod;
  	}
  	public void setEROD(ims.RefMan.vo.ReferralERODRefVo value)
  	{
  		this.isValidated = false;
  		this.erod = value;
  	}
  	public boolean getSubjectTo28DayRuleIsNotNull()
  	{
  		return this.subjectto28dayrule != null;
  	}
  	public Boolean getSubjectTo28DayRule()
  	{
  		return this.subjectto28dayrule;
  	}
  	public void setSubjectTo28DayRule(Boolean value)
  	{
  		this.isValidated = false;
  		this.subjectto28dayrule = value;
  	}
  	public boolean getRule28DayStatusIsNotNull()
  	{
  		return this.rule28daystatus != null;
  	}
  	public ims.scheduling.vo.lookups.Rule28DayStatus getRule28DayStatus()
  	{
  		return this.rule28daystatus;
  	}
  	public void setRule28DayStatus(ims.scheduling.vo.lookups.Rule28DayStatus value)
  	{
  		this.isValidated = false;
  		this.rule28daystatus = value;
  	}
  	public boolean getRule28DayPeriodStartIsNotNull()
  	{
  		return this.rule28dayperiodstart != null;
  	}
  	public ims.framework.utils.Date getRule28DayPeriodStart()
  	{
  		return this.rule28dayperiodstart;
  	}
  	public void setRule28DayPeriodStart(ims.framework.utils.Date value)
  	{
  		this.isValidated = false;
  		this.rule28dayperiodstart = value;
  	}
  	public boolean getPreAssessmentRequiredIsNotNull()
  	{
  		return this.preassessmentrequired != null;
  	}
  	public Boolean getPreAssessmentRequired()
  	{
  		return this.preassessmentrequired;
  	}
  	public void setPreAssessmentRequired(Boolean value)
  	{
  		this.isValidated = false;
  		this.preassessmentrequired = value;
  	}
  	public boolean getAdmissionTypeIsNotNull()
  	{
  		return this.admissiontype != null;
  	}
  	public ims.RefMan.vo.lookups.WaitingCardAdmissionType getAdmissionType()
  	{
  		return this.admissiontype;
  	}
  	public void setAdmissionType(ims.RefMan.vo.lookups.WaitingCardAdmissionType value)
  	{
  		this.isValidated = false;
  		this.admissiontype = value;
  	}
  	public boolean getFitForSurgeryIsNotNull()
  	{
  		return this.fitforsurgery != null;
  	}
  	public ims.core.vo.lookups.YesNoUnknown getFitForSurgery()
  	{
  		return this.fitforsurgery;
  	}
  	public void setFitForSurgery(ims.core.vo.lookups.YesNoUnknown value)
  	{
  		this.isValidated = false;
  		this.fitforsurgery = value;
  	}
  	public boolean getRequiresVettingIsNotNull()
  	{
  