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

public class Tracking_TrackingAttendanceWorklistVoBean extends ims.vo.ValueObjectBean
{
	public Tracking_TrackingAttendanceWorklistVoBean()
	{
	}
	public Tracking_TrackingAttendanceWorklistVoBean(ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.patient = vo.getPatient() == null ? null : (ims.core.vo.beans.PatientLiteVoBean)vo.getPatient().getBean();
		this.attendance = vo.getAttendance() == null ? null : (ims.emergency.vo.beans.EmergencyAttendance_TracklistVoBean)vo.getAttendance().getBean();
		this.triagedetails = vo.getTriageDetails() == null ? null : (ims.emergency.vo.beans.TriageForTrackingVoBean)vo.getTriageDetails().getBean();
		this.currentstatus = vo.getCurrentStatus() == null ? null : (ims.emergency.vo.beans.TrackingAttendanceStatusForTrackingVoBean)vo.getCurrentStatus().getBean();
		this.isdischarged = vo.getIsDischarged();
		this.currentarea = vo.getCurrentArea() == null ? null : (ims.emergency.vo.beans.TrackingAreaForTrackingLiteVoBean)vo.getCurrentArea().getBean();
		this.hospitalno = vo.getHospitalNo();
		this.los = vo.getLOS();
		this.seenby = vo.getSeenBy() == null ? null : (ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean)vo.getSeenBy().getBean();
		this.seenbynurse = vo.getSeenByNurse() == null ? null : (ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean)vo.getSeenByNurse().getBean();
		this.requiringdischargedocumentationreview = vo.getRequiringDischargeDocumentationReview();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.patient = vo.getPatient() == null ? null : (ims.core.vo.beans.PatientLiteVoBean)vo.getPatient().getBean(map);
		this.attendance = vo.getAttendance() == null ? null : (ims.emergency.vo.beans.EmergencyAttendance_TracklistVoBean)vo.getAttendance().getBean(map);
		this.triagedetails = vo.getTriageDetails() == null ? null : (ims.emergency.vo.beans.TriageForTrackingVoBean)vo.getTriageDetails().getBean(map);
		this.currentstatus = vo.getCurrentStatus() == null ? null : (ims.emergency.vo.beans.TrackingAttendanceStatusForTrackingVoBean)vo.getCurrentStatus().getBean(map);
		this.isdischarged = vo.getIsDischarged();
		this.currentarea = vo.getCurrentArea() == null ? null : (ims.emergency.vo.beans.TrackingAreaForTrackingLiteVoBean)vo.getCurrentArea().getBean(map);
		this.hospitalno = vo.getHospitalNo();
		this.los = vo.getLOS();
		this.seenby = vo.getSeenBy() == null ? null : (ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean)vo.getSeenBy().getBean(map);
		this.seenbynurse = vo.getSeenByNurse() == null ? null : (ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean)vo.getSeenByNurse().getBean(map);
		this.requiringdischargedocumentationreview = vo.getRequiringDischargeDocumentationReview();
	}

	public ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo vo = null;
		if(map != null)
			vo = (ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.emergency.vo.Tracking_TrackingAttendanceWorklistVo();
			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.core.vo.beans.PatientLiteVoBean getPatient()
	{
		return this.patient;
	}
	public void setPatient(ims.core.vo.beans.PatientLiteVoBean value)
	{
		this.patient = value;
	}
	public ims.emergency.vo.beans.EmergencyAttendance_TracklistVoBean getAttendance()
	{
		return this.attendance;
	}
	public void setAttendance(ims.emergency.vo.beans.EmergencyAttendance_TracklistVoBean value)
	{
		this.attendance = value;
	}
	public ims.emergency.vo.beans.TriageForTrackingVoBean getTriageDetails()
	{
		return this.triagedetails;
	}
	public void setTriageDetails(ims.emergency.vo.beans.TriageForTrackingVoBean value)
	{
		this.triagedetails = value;
	}
	public ims.emergency.vo.beans.TrackingAttendanceStatusForTrackingVoBean getCurrentStatus()
	{
		return this.currentstatus;
	}
	public void setCurrentStatus(ims.emergency.vo.beans.TrackingAttendanceStatusForTrackingVoBean value)
	{
		this.currentstatus = value;
	}
	public Boolean getIsDischarged()
	{
		return this.isdischarged;
	}
	public void setIsDischarged(Boolean value)
	{
		this.isdischarged = value;
	}
	public ims.emergency.vo.beans.TrackingAreaForTrackingLiteVoBean getCurrentArea()
	{
		return this.currentarea;
	}
	public void setCurrentArea(ims.emergency.vo.beans.TrackingAreaForTrackingLiteVoBean value)
	{
		this.currentarea = value;
	}
	public String getHospitalNo()
	{
		return this.hospitalno;
	}
	public void setHospitalNo(String value)
	{
		this.hospitalno = value;
	}
	public Integer getLOS()
	{
		return this.los;
	}
	public void setLOS(Integer value)
	{
		this.los = value;
	}
	public ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean getSeenBy()
	{
		return this.seenby;
	}
	public void setSeenBy(ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean value)
	{
		this.seenby = value;
	}
	public ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean getSeenByNurse()
	{
		return this.seenbynurse;
	}
	public void setSeenByNurse(ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean value)
	{
		this.seenbynurse = value;
	}
	public Boolean getRequiringDischargeDocumentationReview()
	{
		return this.requiringdischargedocumentationreview;
	}
	public void setRequiringDischargeDocumentationReview(Boolean value)
	{
		this.requiringdischargedocumentationreview = value;
	}

	private Integer id;
	private int version;
	private ims.core.vo.beans.PatientLiteVoBean patient;
	private ims.emergency.vo.beans.EmergencyAttendance_TracklistVoBean attendance;
	private ims.emergency.vo.beans.TriageForTrackingVoBean triagedetails;
	private ims.emergency.vo.beans.TrackingAttendanceStatusForTrackingVoBean currentstatus;
	private Boolean isdischarged;
	private ims.emergency.vo.beans.TrackingAreaForTrackingLiteVoBean currentarea;
	private String hospitalno;
	private Integer los;
	private ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean seenby;
	private ims.emergency.vo.beans.SeenByForTrackingAndAttendanceWorklistVoBean seenbynurse;
	private Boolean requiringdischargedocumentationreview;
}
