gt: 		return null;  // used for procedurevo only
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.clinical.vo;
  
  /**
   * Linked to clinical.configuration.PresentingComplaint business object (ID: 1073100003).
   */
  public class PresentingComplaintVo extends ims.clinical.vo.PresentingComplaintLiteVo implements ims.vo.ImsCloneable, Comparable, ims.vo.interfaces.ICciFull
  {
  	private static final long serialVersionUID = 1L;
  
  	public PresentingComplaintVo()
  	{
  	}
  	public PresentingComplaintVo(Integer id, int version)
  	{
  		super(id, version);
  	}
  	public PresentingComplaintVo(ims.clinical.vo.beans.PresentingComplaintVoBean bean)
  	{
  		this.id = bean.getId();
  		this.version = bean.getVersion();
  		this.pcname = bean.getPCName();
  		this.isactive = bean.getIsActive();
  		this.taxonomymap = ims.core.vo.TaxonomyMapCollection.buildFromBeanCollection(bean.getTaxonomyMap());
  		this.keywords = ims.core.vo.KeywordVoCollection.buildFromBeanCollection(bean.getKeywords());
  	}
  	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.beans.PresentingComplaintVoBean bean)
  	{
  		this.id = bean.getId();
  		this.version = bean.getVersion();
  		this.pcname = bean.getPCName();
  		this.isactive = bean.getIsActive();
  		this.taxonomymap = ims.core.vo.TaxonomyMapCollection.buildFromBeanCollection(bean.getTaxonomyMap());
  		this.keywords = ims.core.vo.KeywordVoCollection.buildFromBeanCollection(bean.getKeywords());
  	}
  	public ims.vo.ValueObjectBean getBean()
  	{
  		return this.getBean(new ims.vo.ValueObjectBeanMap());
  	}
  	public ims.vo.ValueObjectBean getBean(ims.vo.ValueObjectBeanMap map)
  	{
  		ims.clinical.vo.beans.PresentingComplaintVoBean bean = null;
  		if(map != null)
  			bean = (ims.clinical.vo.beans.PresentingComplaintVoBean)map.getValueObjectBean(this);
  		if (bean == null)
  		{
  			bean = new ims.clinical.vo.beans.PresentingComplaintVoBean();
  			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("TAXONOMYMAP"))
  			return getTaxonomyMap();
  		if(fieldName.equals("KEYWORDS"))
  			return getKeywords();
  		return super.getFieldValueByFieldName(fieldName);
  	}
  	public boolean getTaxonomyMapIsNotNull()
  	{
  		return this.taxonomymap != null;
  	}
  	public ims.core.vo.TaxonomyMapCollection getTaxonomyMap()
  	{
  		return this.taxonomymap;
  	}
  	public void setTaxonomyMap(ims.core.vo.TaxonomyMapCollection value)
  	{
  		this.isValidated = false;
  		this.taxonomymap = value;
  	}
  	public boolean getKeywordsIsNotNull()
  	{
  		return this.keywords != null;
  	}
  	public ims.core.vo.KeywordVoCollection getKeywords()
  	{
  		return this.keywords;
  	}
  	public void setKeywords(ims.core.vo.KeywordVoCollection value)
  	{
  		this.isValidated = false;
  		this.keywords = value;
  	}
  	/**
  	* ICciFull methods
  	*/
  			/**
  		* ICciFull methods
  		*/
  			public ims.core.vo.lookups.AllergenType getCciAllergenType()
  			{
  				//specifically used by AllergenVo
  				return null;
  			}
  			public ims.core.vo.KeywordVoCollection getCciKeywords()
  			{
  				
  				return this.getKeywords();
  			}
  			public ims.core.vo.TaxonomyMapCollection getCciMappings()
  			{
  				
  				return this.getTaxonomyMap();
  			}
  			public Boolean isValidatedCci()
  			{
  				
  				return this.isValidated();
  			}
  			public void setCciAllergenType(ims.core.vo.lookups.AllergenType cciAllergenType)
  			{
  				//specifically used by AllergenVo
  			}
  			public void setCciKeywords(ims.core.vo.KeywordVoCollection cciKeywords)
  			{
  				this.setKeywords(cciKeywords);	
  			}
  			public void setCciMappings(ims.core.vo.TaxonomyMapCollection cciMappings)
  			{
  				this.setTaxonomyMap(cciMappings);
  			}
  	
  			public Integer getCciProcedureDuration()
  			{
  				return null; // this function is only for the procedure vo.
  			}
  		
  			public void setCciProcedureDuration(Integer duration)
  			{
  				// this function is only for the procedure vo. 
  			}
  	
  	public Integer getCciProcedureLOS()
  	{
  		return null; // this function is only for the procedure vo.
  	}
  		
  	public void setCciProcedureLOS(Integer intLOS)
  	{
  		// this function is only for the procedure vo. 
  	}
  	public Integer getCciTCILagTime()
  	{
  		return null; // this function is only for the procedure vo.
  	}
  	public void setCciTCILagTime(Integer tciLagTime)
  	{
  		// this function is only for the procedure vo. 		
  	}
  	
  			public String[] validateCci()
  			{
  				return this.validate();
  			}
  			public void setIGenericItemIsActive(Boolean b)
  			{
  				this.setIsActive(b);
  			}
  			public void setIGenericItemName(String name)
  			{
  				this.setPCName(name);
  			
  			}
  			public Integer getIGenericItemInfoID()
  			{
  				return this.getID_PresentingComplaint();
  			}
  			public Boolean getIGenericItemInfoIsActive()
  			{
  				return this.getIsActive();
  			}
  			public String getIGenericItemInfoName()
  			{
  				return this.getPCName();
  			}
  	public void setCciTreatmentInterventionType(ims.clinical.vo.lookups.TreatmentInterventionType type)
  	{
  		// this function is only for the TreatmentIntervention vo
  	}
  	
  	public ims.clinical.vo.lookups.TreatmentInterventionType getCciTreatmentInterventionType()
  	{
  		return null; // this function is only for the TreatmentIntervention vo
  	}
  	
  	public ims.clinicaladmin.vo.lookups.CaseTypeProcedure getSurgeonCategory()
  	{
  		return null;  // used for procedurevo only
  	}
  	
  	public void setSurgeonCategory(ims.clinicaladmin.vo.lookups.CaseTypeProcedure category)
  	{
  	// used for procedurevo only
  	}
  	
  	public ims.clinicaladmin.vo.lookups.CaseTypeProcedure getAnaesthetistCategory()
  	{
  		return null;  // used for procedurevo only
  	}
  	
  	public void setAnaesthetistCategory(ims.clinicaladmin.vo.lookups.CaseTypeProcedure category)
  	{
  	// used for procedurevo only
  	}
  	
  	public ims.clinicaladmin.vo.lookups.CaseTypeProcedure getHospitalCategory()
  	{
  