/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/SurgicalAuditProcedureDetailsVoBean.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 SurgicalAuditProcedureDetailsVoBean extends ims.vo.ValueObjectBean
{
	public SurgicalAuditProcedureDetailsVoBean()
	{
	}
	public SurgicalAuditProcedureDetailsVoBean(ims.clinical.vo.SurgicalAuditProcedureDetailsVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion());
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInformation().getBean();
		this.anaesthetistnotrequired = vo.getAnaesthetistNotRequired();
		this.anaesthetists = vo.getAnaesthetists() == null ? null : vo.getAnaesthetists().getBeanCollection();
		this.anaesthetistassistnotrequired = vo.getAnaesthetistAssistNotRequired();
		this.anaesthetistassistedby = vo.getAnaesthetistAssistedBy() == null ? null : vo.getAnaesthetistAssistedBy().getBeanCollection();
		this.opperformedby = vo.getOpPerformedBy() == null ? null : vo.getOpPerformedBy().getBeanCollection();
		this.consultantassistedby = vo.getConsultantAssistedBy() == null ? null : vo.getConsultantAssistedBy().getBeanCollection();
		this.anaestheticnurse = vo.getAnaestheticNurse() == null ? null : vo.getAnaestheticNurse().getBeanCollection();
		this.scrubnurse = vo.getScrubNurse() == null ? null : vo.getScrubNurse().getBeanCollection();
		this.circulatingnurse = vo.getCirculatingNurse() == null ? null : vo.getCirculatingNurse().getBeanCollection();
		this.other = vo.getOther();
		this.surgicalchecklistperformed = vo.getSurgicalCheckListPerformed() == null ? null : (ims.vo.LookupInstanceBean)vo.getSurgicalCheckListPerformed().getBean();
		this.checklistnotperformedreason = vo.getCheckListNotPerformedReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getCheckListNotPerformedReason().getBean();
		this.locumanaestnurse = vo.getLocumAnaestNurse();
		this.locumscrubnurse = vo.getLocumScrubNurse();
		this.locumcirculatingnurse = vo.getLocumCirculatingNurse();
		this.radiographers = vo.getRadiographers() == null ? null : vo.getRadiographers().getBeanCollection();
		this.anaestheticused = vo.getAnaestheticUsed() == null ? null : (ims.vo.LookupInstanceBean)vo.getAnaestheticUsed().getBean();
		this.anaestheticusedcomment = vo.getAnaestheticUsedComment();
		this.enteroptheatretime = vo.getEnterOpTheatreTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getEnterOpTheatreTime().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.SurgicalAuditProcedureDetailsVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.patient = vo.getPatient() == null ? null : new ims.vo.RefVoBean(vo.getPatient().getBoId(), vo.getPatient().getBoVersion());
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.authoringinformation = vo.getAuthoringInformation() == null ? null : (ims.core.vo.beans.AuthoringInformationVoBean)vo.getAuthoringInformation().getBean(map);
		this.anaesthetistnotrequired = vo.getAnaesthetistNotRequired();
		this.anaesthetists = vo.getAnaesthetists() == null ? null : vo.getAnaesthetists().getBeanCollection();
		this.anaesthetistassistnotrequired = vo.getAnaesthetistAssistNotRequired();
		this.anaesthetistassistedby = vo.getAnaesthetistAssistedBy() == null ? null : vo.getAnaesthetistAssistedBy().getBeanCollection();
		this.opperformedby = vo.getOpPerformedBy() == null ? null : vo.getOpPerformedBy().getBeanCollection();
		this.consultantassistedby = vo.getConsultantAssistedBy() == null ? null : vo.getConsultantAssistedBy().getBeanCollection();
		this.anaestheticnurse = vo.getAnaestheticNurse() == null ? null : vo.getAnaestheticNurse().getBeanCollection();
		this.scrubnurse = vo.getScrubNurse() == null ? null : vo.getScrubNurse().getBeanCollection();
		this.circulatingnurse = vo.getCirculatingNurse() == null ? null : vo.getCirculatingNurse().getBeanCollection();
		this.other = vo.getOther();
		this.surgicalchecklistperformed = vo.getSurgicalCheckListPerformed() == null ? null : (ims.vo.LookupInstanceBean)vo.getSurgicalCheckListPerformed().getBean();
		this.checklistnotperformedreason = vo.getCheckListNotPerformedReason() == null ? null : (ims.vo.LookupInstanceBean)vo.getCheckListNotPerformedReason().getBean();
		this.locumanaestnurse = vo.getLocumAnaestNurse();
		this.locumscrubnurse = vo.getLocumScrubNurse();
		this.locumcirculatingnurse = vo.getLocumCirculatingNurse();
		this.radiographers = vo.getRadiographers() == null ? null : vo.getRadiographers().getBeanCollection();
		this.anaestheticused = vo.getAnaestheticUsed() == null ? null : (ims.vo.LookupInstanceBean)vo.getAnaestheticUsed().getBean();
		this.anaestheticusedcomment = vo.getAnaestheticUsedComment();
		this.enteroptheatretime = vo.getEnterOpTheatreTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getEnterOpTheatreTime().getBean();
	}

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

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

	public Integer getId()
	{
		return this.id;
	}
	public void setId(Integer value)
	{
		this.id = value;
	}
	public int getVersion()
	{
		return this.version;
	}
	public void setVersion(int value)
	{
		this.version = value;
	}
	public ims.vo.RefVoBean getPatient()
	{
		return this.patient;
	}
	public void setPatient(ims.vo.RefVoBean value)
	{
		this.patient = value;
	}
	public ims.vo.RefVoBean getCareContext()
	{
		return this.carecontext;
	}
	public void setCareContext(ims.vo.RefVoBean value)
	{
		this.carecontext = value;
	}
	public ims.core.vo.beans.AuthoringInformationVoBean getAuthoringInformation()
	{
		return this.authoringinformation;
	}
	public void setAuthoringInformation(ims.core.vo.beans.AuthoringInformationVoBean value)
	{
		this.authoringinformation = value;
	}
	public Boolean getAnaesthetistNotRequired()
	{
		return this.anaesthetistnotrequired;
	}
	public void setAnaesthetistNotRequired(Boolean value)
	{
		this.anaesthetistnotrequired = value;
	}
	public ims.core.vo.beans.MedicLiteVoBean[] getAnaesthetists()
	{
		return this.anaesthetists;
	}
	public void setAnaesthetists(ims.core.vo.beans.MedicLiteVoBean[] value)
	{
		this.anaesthetists = value;
	}
	public Boolean getAnaesthetistAssistNotRequired()
	{
		return this.anaesthetistassistnotrequired;
	}
	public void setAnaesthetistAssistNotRequired(Boolean value)
	{
		this.anaesthetistassistnotrequired = value;
	}
	public ims.core.vo.beans.MedicLiteVoBean[] getAnaesthetistAssistedBy()
	{
		return this.anaesthetistassistedby;
	}
	public void setAnaesthetistAssistedBy(ims.core.vo.beans.MedicLiteVoBean[] value)
	{
		this.anaesthetistassistedby = value;
	}
	public ims.core.vo.beans.MedicLiteVoBean[] getOpPerformedBy()
	{
		return this.opperformedby;
	}
	public void setOpPerformedBy(ims.core.vo.beans.MedicLiteVoBean[] value)
	{
		this.opperformedby = value;
	}
	public ims.core.vo.beans.MedicLiteVoBean[] getConsultantAssistedBy()
	{
		return this.consultantassistedby;
	}
	public void setConsultantAssistedBy(ims.core.vo.beans.MedicLiteVoBean[] value)
	{
		this.consultantassistedby = value;
	}
	public ims.core.vo.beans.NurseVoBean[] getAnaestheticNurse()
	{
		return this.anaestheticnurse;
	}
	public void setAnaestheticNurse(ims.core.vo.beans.NurseVoBean[] value)
	{
		this.anaestheticnurse = value;
	}
	public ims.core.vo.beans.NurseVoBean[] getScrubNurse()
	{
		return this.scrubnurse;
	}
	public void setScrubNurse(ims.core.vo.beans.NurseVoBean[] value)
	{
		this.scrubnurse = value;
	}
	public ims.core.vo.beans.NurseVoBean[] getCirculatingNurse()
	{
		return this.circulatingnurse;
	}
	public void setCirculatingNurse(ims.core.vo.beans.NurseVoBean[] value)
	{
		this.circulatingnurse = value;
	}
	public String getOther()
	{
		return this.other;
	}
	public void setOther(String value)
	{
		this.other = value;
	}
	public ims.vo.LookupInstanceBean getSurgicalCheckListPerformed()
	{
		return this.surgicalchecklistperformed;
	}
	public void setSurgicalCheckListPerformed(ims.vo.LookupInstanceBean value)
	{
		this.surgicalchecklistperformed = value;
	}
	public ims.vo.LookupInstanceBean getCheckListNotPerformedReason()
	{
		return this.checklistnotperformedreason;
	}
	public void setCheckListNotPerformedReason(ims.vo.LookupInstanceBean value)
	{
		this.checklistnotperformedreason = value;
	}
	public String getLocumAnaestNurse()
	{
		return this.locumanaestnurse;
	}
	public void setLocumAnaestNurse(String value)
	{
		this.locumanaestnurse = value;
	}
	public String getLocumScrubNurse()
	{
		return this.locumscrubnurse;
	}
	public void setLocumScrubNurse(String value)
	{
		this.locumscrubnurse = value;
	}
	public String getLocumCirculatingNurse()
	{
		return this.locumcirculatingnurse;
	}
	public void setLocumCirculatingNurse(String value)
	{
		this.locumcirculatingnurse = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean[] getRadiographers()
	{
		return this.radiographers;
	}
	public void setRadiographers(ims.core.vo.beans.HcpLiteVoBean[] value)
	{
		this.radiographers = value;
	}
	public ims.vo.LookupInstanceBean getAnaestheticUsed()
	{
		return this.anaestheticused;
	}
	public void setAnaestheticUsed(ims.vo.LookupInstanceBean value)
	{
		this.anaestheticused = value;
	}
	public String getAnaestheticUsedComment()
	{
		return this.anaestheticusedcomment;
	}
	public void setAnaestheticUsedComment(String value)
	{
		this.anaestheticusedcomment = value;
	}
	public ims.framework.utils.beans.DateTimeBean getEnterOpTheatreTime()
	{
		return this.enteroptheatretime;
	}
	public void setEnterOpTheatreTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.enteroptheatretime = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean patient;
	private ims.vo.RefVoBean carecontext;
	private ims.core.vo.beans.AuthoringInformationVoBean authoringinformation;
	private Boolean anaesthetistnotrequired;
	private ims.core.vo.beans.MedicLiteVoBean[] anaesthetists;
	private Boolean anaesthetistassistnotrequired;
	private ims.core.vo.beans.MedicLiteVoBean[] anaesthetistassistedby;
	private ims.core.vo.beans.MedicLiteVoBean[] opperformedby;
	private ims.core.vo.beans.MedicLiteVoBean[] consultantassistedby;
	private ims.core.vo.beans.NurseVoBean[] anaestheticnurse;
	private ims.core.vo.beans.NurseVoBean[] scrubnurse;
	private ims.core.vo.beans.NurseVoBean[] circulatingnurse;
	private String other;
	private ims.vo.LookupInstanceBean surgicalchecklistperformed;
	private ims.vo.LookupInstanceBean checklistnotperformedreason;
	private String locumanaestnurse;
	private String locumscrubnurse;
	private String locumcirculatingnurse;
	private ims.core.vo.beans.HcpLiteVoBean[] radiographers;
	private ims.vo.LookupInstanceBean anaestheticused;
	private String anaestheticusedcomment;
	private ims.framework.utils.beans.DateTimeBean enteroptheatretime;
}
