/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/DementialManualClassAssemblyVoBean.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 DementialManualClassAssemblyVoBean extends ims.vo.ValueObjectBean
{
	public DementialManualClassAssemblyVoBean()
	{
	}
	public DementialManualClassAssemblyVoBean(ims.clinical.vo.DementialManualClassAssemblyVo vo)
	{
		this.dementiaid = vo.getDementiaId();
		this.patientsurname = vo.getPatientSurname();
		this.patientforename = vo.getPatientForename();
		this.patientidentifier = vo.getPatientIdentifier();
		this.patientdob = vo.getPatientDOB() == null ? null : (ims.framework.utils.beans.PartialDateBean)vo.getPatientDOB().getBean();
		this.ward = vo.getWard();
		this.consultant = vo.getConsultant();
		this.reasonforexclusion = vo.getReasonForExclusion();
		this.isexcludedfromworklist = vo.getIsExcludedFromWorklist();
		this.dischargedatetime = vo.getDischargeDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getDischargeDateTime().getBean();
		this.breachdatetime = vo.getBreachDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getBreachDateTime().getBean();
		this.deliriumconfirmed = vo.getDeliriumConfirmed();
		this.dementiaconfirmed = vo.getDementiaConfirmed();
		this.currentstatus = vo.getCurrentStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getCurrentStatus().getBean();
		this.consultantsort = vo.getConsultantSort();
		this.amtsscore = vo.getAMTSScore();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.DementialManualClassAssemblyVo vo)
	{
		this.dementiaid = vo.getDementiaId();
		this.patientsurname = vo.getPatientSurname();
		this.patientforename = vo.getPatientForename();
		this.patientidentifier = vo.getPatientIdentifier();
		this.patientdob = vo.getPatientDOB() == null ? null : (ims.framework.utils.beans.PartialDateBean)vo.getPatientDOB().getBean();
		this.ward = vo.getWard();
		this.consultant = vo.getConsultant();
		this.reasonforexclusion = vo.getReasonForExclusion();
		this.isexcludedfromworklist = vo.getIsExcludedFromWorklist();
		this.dischargedatetime = vo.getDischargeDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getDischargeDateTime().getBean();
		this.breachdatetime = vo.getBreachDateTime() == null ? null : (ims.framework.utils.beans.DateTimeBean)vo.getBreachDateTime().getBean();
		this.deliriumconfirmed = vo.getDeliriumConfirmed();
		this.dementiaconfirmed = vo.getDementiaConfirmed();
		this.currentstatus = vo.getCurrentStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getCurrentStatus().getBean();
		this.consultantsort = vo.getConsultantSort();
		this.amtsscore = vo.getAMTSScore();
	}

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

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

	public Integer getDementiaId()
	{
		return this.dementiaid;
	}
	public void setDementiaId(Integer value)
	{
		this.dementiaid = value;
	}
	public String getPatientSurname()
	{
		return this.patientsurname;
	}
	public void setPatientSurname(String value)
	{
		this.patientsurname = value;
	}
	public String getPatientForename()
	{
		return this.patientforename;
	}
	public void setPatientForename(String value)
	{
		this.patientforename = value;
	}
	public String getPatientIdentifier()
	{
		return this.patientidentifier;
	}
	public void setPatientIdentifier(String value)
	{
		this.patientidentifier = value;
	}
	public ims.framework.utils.beans.PartialDateBean getPatientDOB()
	{
		return this.patientdob;
	}
	public void setPatientDOB(ims.framework.utils.beans.PartialDateBean value)
	{
		this.patientdob = value;
	}
	public String getWard()
	{
		return this.ward;
	}
	public void setWard(String value)
	{
		this.ward = value;
	}
	public String getConsultant()
	{
		return this.consultant;
	}
	public void setConsultant(String value)
	{
		this.consultant = value;
	}
	public String getReasonForExclusion()
	{
		return this.reasonforexclusion;
	}
	public void setReasonForExclusion(String value)
	{
		this.reasonforexclusion = value;
	}
	public Boolean getIsExcludedFromWorklist()
	{
		return this.isexcludedfromworklist;
	}
	public void setIsExcludedFromWorklist(Boolean value)
	{
		this.isexcludedfromworklist = value;
	}
	public ims.framework.utils.beans.DateTimeBean getDischargeDateTime()
	{
		return this.dischargedatetime;
	}
	public void setDischargeDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.dischargedatetime = value;
	}
	public ims.framework.utils.beans.DateTimeBean getBreachDateTime()
	{
		return this.breachdatetime;
	}
	public void setBreachDateTime(ims.framework.utils.beans.DateTimeBean value)
	{
		this.breachdatetime = value;
	}
	public Boolean getDeliriumConfirmed()
	{
		return this.deliriumconfirmed;
	}
	public void setDeliriumConfirmed(Boolean value)
	{
		this.deliriumconfirmed = value;
	}
	public Boolean getDementiaConfirmed()
	{
		return this.dementiaconfirmed;
	}
	public void setDementiaConfirmed(Boolean value)
	{
		this.dementiaconfirmed = value;
	}
	public ims.vo.LookupInstanceBean getCurrentStatus()
	{
		return this.currentstatus;
	}
	public void setCurrentStatus(ims.vo.LookupInstanceBean value)
	{
		this.currentstatus = value;
	}
	public String getConsultantSort()
	{
		return this.consultantsort;
	}
	public void setConsultantSort(String value)
	{
		this.consultantsort = value;
	}
	public Integer getAMTSScore()
	{
		return this.amtsscore;
	}
	public void setAMTSScore(Integer value)
	{
		this.amtsscore = value;
	}

	private Integer dementiaid;
	private String patientsurname;
	private String patientforename;
	private String patientidentifier;
	private ims.framework.utils.beans.PartialDateBean patientdob;
	private String ward;
	private String consultant;
	private String reasonforexclusion;
	private Boolean isexcludedfromworklist;
	private ims.framework.utils.beans.DateTimeBean dischargedatetime;
	private ims.framework.utils.beans.DateTimeBean breachdatetime;
	private Boolean deliriumconfirmed;
	private Boolean dementiaconfirmed;
	private ims.vo.LookupInstanceBean currentstatus;
	private String consultantsort;
	private Integer amtsscore;
}
