/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/DischargeFuturePlanSthkVoBean.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 DischargeFuturePlanSthkVoBean extends ims.vo.ValueObjectBean
{
	public DischargeFuturePlanSthkVoBean()
	{
	}
	public DischargeFuturePlanSthkVoBean(ims.clinical.vo.DischargeFuturePlanSthkVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.followupdetails = vo.getFollowUpDetails() == null ? null : vo.getFollowUpDetails().getBeanCollection();
		this.hospitalplan = vo.getHospitalPlan();
		this.actionsforgpandcommunity = vo.getActionsforGPandCommunity();
		this.livesalone = vo.getLivesAlone() == null ? null : (ims.vo.LookupInstanceBean)vo.getLivesAlone().getBean();
		this.medicalcertificationissued = vo.getMedicalCertificationIssued() == null ? null : (ims.vo.LookupInstanceBean)vo.getMedicalCertificationIssued().getBean();
		this.statementoffitnesstoworkissue = vo.getStatementOfFitnessToWorkIssue() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatementOfFitnessToWorkIssue().getBean();
		this.certificateexpiresdate = vo.getCertificateExpiresDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCertificateExpiresDate().getBean();
		this.certificatestartsdate = vo.getCertificateStartsDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCertificateStartsDate().getBean();
		this.fittoreturntowork = vo.getFitToReturnToWork() == null ? null : (ims.vo.LookupInstanceBean)vo.getFitToReturnToWork().getBean();
		this.returntoworkadvice = vo.getReturnToWorkAdvice() == null ? null : (ims.vo.LookupInstanceBean)vo.getReturnToWorkAdvice().getBean();
		this.adviceapplicatiablefor = vo.getAdviceApplicatiableFor();
		this.adviceapplicatiableforunit = vo.getAdviceApplicatiableForUnit() == null ? null : (ims.vo.LookupInstanceBean)vo.getAdviceApplicatiableForUnit().getBean();
		this.comments = vo.getComments();
		this.wasnurseenableddischarge = vo.getWasNurseEnabledDischarge();
		this.nurseenabledinstructions = vo.getNurseEnabledInstructions() == null ? null : (ims.clinical.vo.beans.NurseEnabledInstructionsVoBean)vo.getNurseEnabledInstructions().getBean();
		this.iscomplete = vo.getIsComplete();
		this.hospitalfollowup = vo.getHospitalFollowUp() == null ? null : (ims.vo.LookupInstanceBean)vo.getHospitalFollowUp().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.DischargeFuturePlanSthkVo vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.carecontext = vo.getCareContext() == null ? null : new ims.vo.RefVoBean(vo.getCareContext().getBoId(), vo.getCareContext().getBoVersion());
		this.followupdetails = vo.getFollowUpDetails() == null ? null : vo.getFollowUpDetails().getBeanCollection();
		this.hospitalplan = vo.getHospitalPlan();
		this.actionsforgpandcommunity = vo.getActionsforGPandCommunity();
		this.livesalone = vo.getLivesAlone() == null ? null : (ims.vo.LookupInstanceBean)vo.getLivesAlone().getBean();
		this.medicalcertificationissued = vo.getMedicalCertificationIssued() == null ? null : (ims.vo.LookupInstanceBean)vo.getMedicalCertificationIssued().getBean();
		this.statementoffitnesstoworkissue = vo.getStatementOfFitnessToWorkIssue() == null ? null : (ims.vo.LookupInstanceBean)vo.getStatementOfFitnessToWorkIssue().getBean();
		this.certificateexpiresdate = vo.getCertificateExpiresDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCertificateExpiresDate().getBean();
		this.certificatestartsdate = vo.getCertificateStartsDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCertificateStartsDate().getBean();
		this.fittoreturntowork = vo.getFitToReturnToWork() == null ? null : (ims.vo.LookupInstanceBean)vo.getFitToReturnToWork().getBean();
		this.returntoworkadvice = vo.getReturnToWorkAdvice() == null ? null : (ims.vo.LookupInstanceBean)vo.getReturnToWorkAdvice().getBean();
		this.adviceapplicatiablefor = vo.getAdviceApplicatiableFor();
		this.adviceapplicatiableforunit = vo.getAdviceApplicatiableForUnit() == null ? null : (ims.vo.LookupInstanceBean)vo.getAdviceApplicatiableForUnit().getBean();
		this.comments = vo.getComments();
		this.wasnurseenableddischarge = vo.getWasNurseEnabledDischarge();
		this.nurseenabledinstructions = vo.getNurseEnabledInstructions() == null ? null : (ims.clinical.vo.beans.NurseEnabledInstructionsVoBean)vo.getNurseEnabledInstructions().getBean(map);
		this.iscomplete = vo.getIsComplete();
		this.hospitalfollowup = vo.getHospitalFollowUp() == null ? null : (ims.vo.LookupInstanceBean)vo.getHospitalFollowUp().getBean();
	}

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

	public ims.clinical.vo.DischargeFuturePlanSthkVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.DischargeFuturePlanSthkVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.DischargeFuturePlanSthkVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.DischargeFuturePlanSthkVo();
			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 getCareContext()
	{
		return this.carecontext;
	}
	public void setCareContext(ims.vo.RefVoBean value)
	{
		this.carecontext = value;
	}
	public ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] getFollowUpDetails()
	{
		return this.followupdetails;
	}
	public void setFollowUpDetails(ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] value)
	{
		this.followupdetails = value;
	}
	public String getHospitalPlan()
	{
		return this.hospitalplan;
	}
	public void setHospitalPlan(String value)
	{
		this.hospitalplan = value;
	}
	public String getActionsforGPandCommunity()
	{
		return this.actionsforgpandcommunity;
	}
	public void setActionsforGPandCommunity(String value)
	{
		this.actionsforgpandcommunity = value;
	}
	public ims.vo.LookupInstanceBean getLivesAlone()
	{
		return this.livesalone;
	}
	public void setLivesAlone(ims.vo.LookupInstanceBean value)
	{
		this.livesalone = value;
	}
	public ims.vo.LookupInstanceBean getMedicalCertificationIssued()
	{
		return this.medicalcertificationissued;
	}
	public void setMedicalCertificationIssued(ims.vo.LookupInstanceBean value)
	{
		this.medicalcertificationissued = value;
	}
	public ims.vo.LookupInstanceBean getStatementOfFitnessToWorkIssue()
	{
		return this.statementoffitnesstoworkissue;
	}
	public void setStatementOfFitnessToWorkIssue(ims.vo.LookupInstanceBean value)
	{
		this.statementoffitnesstoworkissue = value;
	}
	public ims.framework.utils.beans.DateBean getCertificateExpiresDate()
	{
		return this.certificateexpiresdate;
	}
	public void setCertificateExpiresDate(ims.framework.utils.beans.DateBean value)
	{
		this.certificateexpiresdate = value;
	}
	public ims.framework.utils.beans.DateBean getCertificateStartsDate()
	{
		return this.certificatestartsdate;
	}
	public void setCertificateStartsDate(ims.framework.utils.beans.DateBean value)
	{
		this.certificatestartsdate = value;
	}
	public ims.vo.LookupInstanceBean getFitToReturnToWork()
	{
		return this.fittoreturntowork;
	}
	public void setFitToReturnToWork(ims.vo.LookupInstanceBean value)
	{
		this.fittoreturntowork = value;
	}
	public ims.vo.LookupInstanceBean getReturnToWorkAdvice()
	{
		return this.returntoworkadvice;
	}
	public void setReturnToWorkAdvice(ims.vo.LookupInstanceBean value)
	{
		this.returntoworkadvice = value;
	}
	public Integer getAdviceApplicatiableFor()
	{
		return this.adviceapplicatiablefor;
	}
	public void setAdviceApplicatiableFor(Integer value)
	{
		this.adviceapplicatiablefor = value;
	}
	public ims.vo.LookupInstanceBean getAdviceApplicatiableForUnit()
	{
		return this.adviceapplicatiableforunit;
	}
	public void setAdviceApplicatiableForUnit(ims.vo.LookupInstanceBean value)
	{
		this.adviceapplicatiableforunit = value;
	}
	public String getComments()
	{
		return this.comments;
	}
	public void setComments(String value)
	{
		this.comments = value;
	}
	public Boolean getWasNurseEnabledDischarge()
	{
		return this.wasnurseenableddischarge;
	}
	public void setWasNurseEnabledDischarge(Boolean value)
	{
		this.wasnurseenableddischarge = value;
	}
	public ims.clinical.vo.beans.NurseEnabledInstructionsVoBean getNurseEnabledInstructions()
	{
		return this.nurseenabledinstructions;
	}
	public void setNurseEnabledInstructions(ims.clinical.vo.beans.NurseEnabledInstructionsVoBean value)
	{
		this.nurseenabledinstructions = value;
	}
	public Boolean getIsComplete()
	{
		return this.iscomplete;
	}
	public void setIsComplete(Boolean value)
	{
		this.iscomplete = value;
	}
	public ims.vo.LookupInstanceBean getHospitalFollowUp()
	{
		return this.hospitalfollowup;
	}
	public void setHospitalFollowUp(ims.vo.LookupInstanceBean value)
	{
		this.hospitalfollowup = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean carecontext;
	private ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] followupdetails;
	private String hospitalplan;
	private String actionsforgpandcommunity;
	private ims.vo.LookupInstanceBean livesalone;
	private ims.vo.LookupInstanceBean medicalcertificationissued;
	private ims.vo.LookupInstanceBean statementoffitnesstoworkissue;
	private ims.framework.utils.beans.DateBean certificateexpiresdate;
	private ims.framework.utils.beans.DateBean certificatestartsdate;
	private ims.vo.LookupInstanceBean fittoreturntowork;
	private ims.vo.LookupInstanceBean returntoworkadvice;
	private Integer adviceapplicatiablefor;
	private ims.vo.LookupInstanceBean adviceapplicatiableforunit;
	private String comments;
	private Boolean wasnurseenableddischarge;
	private ims.clinical.vo.beans.NurseEnabledInstructionsVoBean nurseenabledinstructions;
	private Boolean iscomplete;
	private ims.vo.LookupInstanceBean hospitalfollowup;
}
