/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/SurgicalOPNotesFilterVoBean.java
//#############################################################################
//#                                                                           #
//#  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.beans;

public class SurgicalOPNotesFilterVoBean extends ims.vo.ValueObjectBean
{
	public SurgicalOPNotesFilterVoBean()
	{
	}
	public SurgicalOPNotesFilterVoBean(ims.clinical.vo.SurgicalOPNotesFilterVo vo)
	{
		this.procedure = vo.getProcedure() == null ? null : (ims.core.vo.beans.ProcedureLiteVoBean)vo.getProcedure().getBean();
		this.diagnosis = vo.getDiagnosis() == null ? null : (ims.core.vo.beans.DiagLiteVoBean)vo.getDiagnosis().getBean();
		this.consultant = vo.getConsultant() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getConsultant().getBean();
		this.operatingsurgeon = vo.getOperatingSurgeon() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getOperatingSurgeon().getBean();
		this.completingclinician = vo.getCompletingClinician() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getCompletingClinician().getBean();
		this.datefrom = vo.getDateFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateFrom().getBean();
		this.dateto = vo.getDateTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTo().getBean();
		this.diagram = vo.getDiagram() == null ? null : (ims.assessment.vo.beans.GraphicAssessmentShortVoBean)vo.getDiagram().getBean();
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getHospital().getBean();
		this.followupordered = vo.getFollowupOrdered() == null ? null : (ims.vo.LookupInstanceBean)vo.getFollowupOrdered().getBean();
		this.columnsortorder = vo.getColumnSortOrder() == null ? null : (ims.core.vo.beans.ColumnSortOrderVoBean)vo.getColumnSortOrder().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.SurgicalOPNotesFilterVo vo)
	{
		this.procedure = vo.getProcedure() == null ? null : (ims.core.vo.beans.ProcedureLiteVoBean)vo.getProcedure().getBean(map);
		this.diagnosis = vo.getDiagnosis() == null ? null : (ims.core.vo.beans.DiagLiteVoBean)vo.getDiagnosis().getBean(map);
		this.consultant = vo.getConsultant() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getConsultant().getBean(map);
		this.operatingsurgeon = vo.getOperatingSurgeon() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getOperatingSurgeon().getBean(map);
		this.completingclinician = vo.getCompletingClinician() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getCompletingClinician().getBean(map);
		this.datefrom = vo.getDateFrom() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateFrom().getBean();
		this.dateto = vo.getDateTo() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateTo().getBean();
		this.diagram = vo.getDiagram() == null ? null : (ims.assessment.vo.beans.GraphicAssessmentShortVoBean)vo.getDiagram().getBean(map);
		this.hospital = vo.getHospital() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getHospital().getBean(map);
		this.followupordered = vo.getFollowupOrdered() == null ? null : (ims.vo.LookupInstanceBean)vo.getFollowupOrdered().getBean();
		this.columnsortorder = vo.getColumnSortOrder() == null ? null : (ims.core.vo.beans.ColumnSortOrderVoBean)vo.getColumnSortOrder().getBean(map);
	}

	public ims.clinical.vo.SurgicalOPNotesFilterVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.clinical.vo.SurgicalOPNotesFilterVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.SurgicalOPNotesFilterVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.SurgicalOPNotesFilterVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.SurgicalOPNotesFilterVo();
			map.addValueObject(this, vo);
			vo.populate(map, this);
		}
		return vo;
	}

	public ims.core.vo.beans.ProcedureLiteVoBean getProcedure()
	{
		return this.procedure;
	}
	public void setProcedure(ims.core.vo.beans.ProcedureLiteVoBean value)
	{
		this.procedure = value;
	}
	public ims.core.vo.beans.DiagLiteVoBean getDiagnosis()
	{
		return this.diagnosis;
	}
	public void setDiagnosis(ims.core.vo.beans.DiagLiteVoBean value)
	{
		this.diagnosis = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getConsultant()
	{
		return this.consultant;
	}
	public void setConsultant(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.consultant = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getOperatingSurgeon()
	{
		return this.operatingsurgeon;
	}
	public void setOperatingSurgeon(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.operatingsurgeon = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getCompletingClinician()
	{
		return this.completingclinician;
	}
	public void setCompletingClinician(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.completingclinician = value;
	}
	public ims.framework.utils.beans.DateBean getDateFrom()
	{
		return this.datefrom;
	}
	public void setDateFrom(ims.framework.utils.beans.DateBean value)
	{
		this.datefrom = value;
	}
	public ims.framework.utils.beans.DateBean getDateTo()
	{
		return this.dateto;
	}
	public void setDateTo(ims.framework.utils.beans.DateBean value)
	{
		this.dateto = value;
	}
	public ims.assessment.vo.beans.GraphicAssessmentShortVoBean getDiagram()
	{
		return this.diagram;
	}
	public void setDiagram(ims.assessment.vo.beans.GraphicAssessmentShortVoBean value)
	{
		this.diagram = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean getHospital()
	{
		return this.hospital;
	}
	public void setHospital(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.hospital = value;
	}
	public ims.vo.LookupInstanceBean getFollowupOrdered()
	{
		return this.followupordered;
	}
	public void setFollowupOrdered(ims.vo.LookupInstanceBean value)
	{
		this.followupordered = value;
	}
	public ims.core.vo.beans.ColumnSortOrderVoBean getColumnSortOrder()
	{
		return this.columnsortorder;
	}
	public void setColumnSortOrder(ims.core.vo.beans.ColumnSortOrderVoBean value)
	{
		this.columnsortorder = value;
	}

	private ims.core.vo.beans.ProcedureLiteVoBean procedure;
	private ims.core.vo.beans.DiagLiteVoBean diagnosis;
	private ims.core.vo.beans.HcpLiteVoBean consultant;
	private ims.core.vo.beans.HcpLiteVoBean operatingsurgeon;
	private ims.core.vo.beans.HcpLiteVoBean completingclinician;
	private ims.framework.utils.beans.DateBean datefrom;
	private ims.framework.utils.beans.DateBean dateto;
	private ims.assessment.vo.beans.GraphicAssessmentShortVoBean diagram;
	private ims.core.vo.beans.LocationLiteVoBean hospital;
	private ims.vo.LookupInstanceBean followupordered;
	private ims.core.vo.beans.ColumnSortOrderVoBean columnsortorder;
}
