/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/hl7/vo/beans/ifElectiveListMessageQueueVoBean.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.hl7.vo.beans;

public class ifElectiveListMessageQueueVoBean extends ims.vo.ValueObjectBean
{
	public ifElectiveListMessageQueueVoBean()
	{
	}
	public ifElectiveListMessageQueueVoBean(ims.hl7.vo.ifElectiveListMessageQueueVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.dateonlist = vo.getDateOnList() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateOnList().getBean();
		this.patientstatus = vo.getPatientStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientStatus().getBean();
		this.electiveadmissiontype = vo.getElectiveAdmissionType() == null ? null : (ims.vo.LookupInstanceBean)vo.getElectiveAdmissionType().getBean();
		this.intendedmanagement = vo.getIntendedManagement() == null ? null : (ims.vo.LookupInstanceBean)vo.getIntendedManagement().getBean();
		this.anticipatedstay = vo.getAnticipatedStay();
		this.referringgp = vo.getReferringGP() == null ? null : (ims.core.vo.beans.GpLiteVoBean)vo.getReferringGP().getBean();
		this.referringconsultant = vo.getReferringConsultant() == null ? null : (ims.core.vo.beans.MemberOfStaffShortVoBean)vo.getReferringConsultant().getBean();
		this.consultingdoctor = vo.getConsultingDoctor() == null ? null : (ims.core.vo.beans.MemberOfStaffShortVoBean)vo.getConsultingDoctor().getBean();
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		this.tciward = vo.getTCIWard() == null ? null : (ims.core.vo.beans.LocMostVoBean)vo.getTCIWard().getBean();
		this.tcidate = vo.getTCIDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getTCIDate().getBean();
		this.alliedhealthprofessional = vo.getAlliedHealthProfessional();
		this.referringpractice = vo.getReferringPractice() == null ? null : (ims.core.vo.beans.OrgShortVoBean)vo.getReferringPractice().getBean();
		this.patient = vo.getPatient() == null ? null : (ims.core.vo.beans.PatientBean)vo.getPatient().getBean();
		this.attendingdoctor = vo.getAttendingDoctor() == null ? null : (ims.core.vo.beans.MemberOfStaffShortVoBean)vo.getAttendingDoctor().getBean();
		this.tcihospital = vo.getTCIHospital() == null ? null : (ims.core.vo.beans.LocMostVoBean)vo.getTCIHospital().getBean();
		this.tcibed = vo.getTCIBed();
		this.preadmissionnumber = vo.getPreadmissionNumber();
		this.tcitime = vo.getTCITime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getTCITime().getBean();
		this.referrertype = vo.getReferrerType() == null ? null : (ims.vo.LookupInstanceBean)vo.getReferrerType().getBean();
		this.patientsuspensionstatus = vo.getPatientSuspensionStatus();
		this.cancertype = vo.getCancerType() == null ? null : (ims.vo.LookupInstanceBean)vo.getCancerType().getBean();
		this.referralurgency = vo.getReferralUrgency() == null ? null : (ims.vo.LookupInstanceBean)vo.getReferralUrgency().getBean();
		this.datereferralreceived = vo.getDateReferralReceived() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateReferralReceived().getBean();
		this.rttstatusnationalcode = vo.getRTTStatusNationalCode();
		this.referringpracticeccgcode = vo.getReferringPracticeCCGCode();
		this.systeminfo = vo.getSystemInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSystemInfo().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.hl7.vo.ifElectiveListMessageQueueVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.dateonlist = vo.getDateOnList() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateOnList().getBean();
		this.patientstatus = vo.getPatientStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getPatientStatus().getBean();
		this.electiveadmissiontype = vo.getElectiveAdmissionType() == null ? null : (ims.vo.LookupInstanceBean)vo.getElectiveAdmissionType().getBean();
		this.intendedmanagement = vo.getIntendedManagement() == null ? null : (ims.vo.LookupInstanceBean)vo.getIntendedManagement().getBean();
		this.anticipatedstay = vo.getAnticipatedStay();
		this.referringgp = vo.getReferringGP() == null ? null : (ims.core.vo.beans.GpLiteVoBean)vo.getReferringGP().getBean(map);
		this.referringconsultant = vo.getReferringConsultant() == null ? null : (ims.core.vo.beans.MemberOfStaffShortVoBean)vo.getReferringConsultant().getBean(map);
		this.consultingdoctor = vo.getConsultingDoctor() == null ? null : (ims.core.vo.beans.MemberOfStaffShortVoBean)vo.getConsultingDoctor().getBean(map);
		this.specialty = vo.getSpecialty() == null ? null : (ims.vo.LookupInstanceBean)vo.getSpecialty().getBean();
		this.tciward = vo.getTCIWard() == null ? null : (ims.core.vo.beans.LocMostVoBean)vo.getTCIWard().getBean(map);
		this.tcidate = vo.getTCIDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getTCIDate().getBean();
		this.alliedhealthprofessional = vo.getAlliedHealthProfessional();
		this.referringpractice = vo.getReferringPractice() == null ? null : (ims.core.vo.beans.OrgShortVoBean)vo.getReferringPractice().getBean(map);
		this.patient = vo.getPatient() == null ? null : (ims.core.vo.beans.PatientBean)vo.getPatient().getBean(map);
		this.attendingdoctor = vo.getAttendingDoctor() == null ? null : (ims.core.vo.beans.MemberOfStaffShortVoBean)vo.getAttendingDoctor().getBean(map);
		this.tcihospital = vo.getTCIHospital() == null ? null : (ims.core.vo.beans.LocMostVoBean)vo.getTCIHospital().getBean(map);
		this.tcibed = vo.getTCIBed();
		this.preadmissionnumber = vo.getPreadmissionNumber();
		this.tcitime = vo.getTCITime() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getTCITime().getBean();
		this.referrertype = vo.getReferrerType() == null ? null : (ims.vo.LookupInstanceBean)vo.getReferrerType().getBean();
		this.patientsuspensionstatus = vo.getPatientSuspensionStatus();
		this.cancertype = vo.getCancerType() == null ? null : (ims.vo.LookupInstanceBean)vo.getCancerType().getBean();
		this.referralurgency = vo.getReferralUrgency() == null ? null : (ims.vo.LookupInstanceBean)vo.getReferralUrgency().getBean();
		this.datereferralreceived = vo.getDateReferralReceived() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDateReferralReceived().getBean();
		this.rttstatusnationalcode = vo.getRTTStatusNationalCode();
		this.referringpracticeccgcode = vo.getReferringPracticeCCGCode();
		this.systeminfo = vo.getSystemInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSystemInfo().getBean();
	}

	public ims.hl7.vo.ifElectiveListMessageQueueVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.hl7.vo.ifElectiveListMessageQueueVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.hl7.vo.ifElectiveListMessageQueueVo vo = null;
		if(map != null)
			vo = (ims.hl7.vo.ifElectiveListMessageQueueVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.hl7.vo.ifElectiveListMessageQueueVo();
			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.framework.utils.beans.DateBean getDateOnList()
	{
		return this.dateonlist;
	}
	public void setDateOnList(ims.framework.utils.beans.DateBean value)
	{
		this.dateonlist = value;
	}
	public ims.vo.LookupInstanceBean getPatientStatus()
	{
		return this.patientstatus;
	}
	public void setPatientStatus(ims.vo.LookupInstanceBean value)
	{
		this.patientstatus = value;
	}
	public ims.vo.LookupInstanceBean getElectiveAdmissionType()
	{
		return this.electiveadmissiontype;
	}
	public void setElectiveAdmissionType(ims.vo.LookupInstanceBean value)
	{
		this.electiveadmissiontype = value;
	}
	public ims.vo.LookupInstanceBean getIntendedManagement()
	{
		return this.intendedmanagement;
	}
	public void setIntendedManagement(ims.vo.LookupInstanceBean value)
	{
		this.intendedmanagement = value;
	}
	public Integer getAnticipatedStay()
	{
		return this.anticipatedstay;
	}
	public void setAnticipatedStay(Integer value)
	{
		this.anticipatedstay = value;
	}
	public ims.core.vo.beans.GpLiteVoBean getReferringGP()
	{
		return this.referringgp;
	}
	public void setReferringGP(ims.core.vo.beans.GpLiteVoBean value)
	{
		this.referringgp = value;
	}
	public ims.core.vo.beans.MemberOfStaffShortVoBean getReferringConsultant()
	{
		return this.referringconsultant;
	}
	public void setReferringConsultant(ims.core.vo.beans.MemberOfStaffShortVoBean value)
	{
		this.referringconsultant = value;
	}
	public ims.core.vo.beans.MemberOfStaffShortVoBean getConsultingDoctor()
	{
		return this.consultingdoctor;
	}
	public void setConsultingDoctor(ims.core.vo.beans.MemberOfStaffShortVoBean value)
	{
		this.consultingdoctor = value;
	}
	public ims.vo.LookupInstanceBean getSpecialty()
	{
		return this.specialty;
	}
	public void setSpecialty(ims.vo.LookupInstanceBean value)
	{
		this.specialty = value;
	}
	public ims.core.vo.beans.LocMostVoBean getTCIWard()
	{
		return this.tciward;
	}
	public void setTCIWard(ims.core.vo.beans.LocMostVoBean value)
	{
		this.tciward = value;
	}
	public ims.framework.utils.beans.DateBean getTCIDate()
	{
		return this.tcidate;
	}
	public void setTCIDate(ims.framework.utils.beans.DateBean value)
	{
		this.tcidate = value;
	}
	public String getAlliedHealthProfessional()
	{
		return this.alliedhealthprofessional;
	}
	public void setAlliedHealthProfessional(String value)
	{
		this.alliedhealthprofessional = value;
	}
	public ims.core.vo.beans.OrgShortVoBean getReferringPractice()
	{
		return this.referringpractice;
	}
	public void setReferringPractice(ims.core.vo.beans.OrgShortVoBean value)
	{
		this.referringpractice = value;
	}
	public ims.core.vo.beans.PatientBean getPatient()
	{
		return this.patient;
	}
	public void setPatient(ims.core.vo.beans.PatientBean value)
	{
		this.patient = value;
	}
	public ims.core.vo.beans.MemberOfStaffShortVoBean getAttendingDoctor()
	{
		return this.attendingdoctor;
	}
	public void setAttendingDoctor(ims.core.vo.beans.MemberOfStaffShortVoBean value)
	{
		this.attendingdoctor = value;
	}
	public ims.core.vo.beans.LocMostVoBean getTCIHospital()
	{
		return this.tcihospital;
	}
	public void setTCIHospital(ims.core.vo.beans.LocMostVoBean value)
	{
		this.tcihospital = value;
	}
	public String getTCIBed()
	{
		return this.tcibed;
	}
	public void setTCIBed(String value)
	{
		this.tcibed = value;
	}
	public String getPreadmissionNumber()
	{
		return this.preadmissionnumber;
	}
	public void setPreadmissionNumber(String value)
	{
		this.preadmissionnumber = value;
	}
	public ims.framework.utils.beans.TimeBean getTCITime()
	{
		return this.tcitime;
	}
	public void setTCITime(ims.framework.utils.beans.TimeBean value)
	{
		this.tcitime = value;
	}
	public ims.vo.LookupInstanceBean getReferrerType()
	{
		return this.referrertype;
	}
	public void setReferrerType(ims.vo.LookupInstanceBean value)
	{
		this.referrertype = value;
	}
	public String getPatientSuspensionStatus()
	{
		return this.patientsuspensionstatus;
	}
	public void setPatientSuspensionStatus(String value)
	{
		this.patientsuspensionstatus = value;
	}
	public ims.vo.LookupInstanceBean getCancerType()
	{
		return this.cancertype;
	}
	public void setCancerType(ims.vo.LookupInstanceBean value)
	{
		this.cancertype = value;
	}
	public ims.vo.LookupInstanceBean getReferralUrgency()
	{
		return this.referralurgency;
	}
	public void setReferralUrgency(ims.vo.LookupInstanceBean value)
	{
		this.referralurgency = value;
	}
	public ims.framework.utils.beans.DateBean getDateReferralReceived()
	{
		return this.datereferralreceived;
	}
	public void setDateReferralReceived(ims.framework.utils.beans.DateBean value)
	{
		this.datereferralreceived = value;
	}
	public String getRTTStatusNationalCode()
	{
		return this.rttstatusnationalcode;
	}
	public void setRTTStatusNationalCode(String value)
	{
		this.rttstatusnationalcode = value;
	}
	public String getReferringPracticeCCGCode()
	{
		return this.referringpracticeccgcode;
	}
	public void setReferringPracticeCCGCode(String value)
	{
		this.referringpracticeccgcode = value;
	}
	public ims.vo.SysInfoBean getSystemInfo()
	{
		return this.systeminfo;
	}
	public void setSystemInfo(ims.vo.SysInfoBean value)
	{
		this.systeminfo = value;
	}

	private Integer id;
	private int version;
	private ims.framework.utils.beans.DateBean dateonlist;
	private ims.vo.LookupInstanceBean patientstatus;
	private ims.vo.LookupInstanceBean electiveadmissiontype;
	private ims.vo.LookupInstanceBean intendedmanagement;
	private Integer anticipatedstay;
	private ims.core.vo.beans.GpLiteVoBean referringgp;
	private ims.core.vo.beans.MemberOfStaffShortVoBean referringconsultant;
	private ims.core.vo.beans.MemberOfStaffShortVoBean consultingdoctor;
	private ims.vo.LookupInstanceBean specialty;
	private ims.core.vo.beans.LocMostVoBean tciward;
	private ims.framework.utils.beans.DateBean tcidate;
	private String alliedhealthprofessional;
	private ims.core.vo.beans.OrgShortVoBean referringpractice;
	private ims.core.vo.beans.PatientBean patient;
	private ims.core.vo.beans.MemberOfStaffShortVoBean attendingdoctor;
	private ims.core.vo.beans.LocMostVoBean tcihospital;
	private String tcibed;
	private String preadmissionnumber;
	private ims.framework.utils.beans.TimeBean tcitime;
	private ims.vo.LookupInstanceBean referrertype;
	private String patientsuspensionstatus;
	private ims.vo.LookupInstanceBean cancertype;
	private ims.vo.LookupInstanceBean referralurgency;
	private ims.framework.utils.beans.DateBean datereferralreceived;
	private String rttstatusnationalcode;
	private String referringpracticeccgcode;
	private ims.vo.SysInfoBean systeminfo;
}
