/FileExtraction/Java_unseen/IMS-MAXIMS_openMAXIMS/Source Library/openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/DischargeFuturePlanVoBean.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 DischargeFuturePlanVoBean extends ims.vo.ValueObjectBean
{
	public DischargeFuturePlanVoBean()
	{
	}
	public DischargeFuturePlanVoBean(ims.clinical.vo.DischargeFuturePlanVo 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.hospitalfollowup = vo.getHospitalFollowUp() == null ? null : (ims.vo.LookupInstanceBean)vo.getHospitalFollowUp().getBean();
		this.followupin = vo.getFollowupIn();
		this.followupininterval = vo.getFollowupInInterval() == null ? null : (ims.vo.LookupInstanceBean)vo.getFollowupInInterval().getBean();
		this.followuphcp = vo.getFollowupHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getFollowupHCP().getBean();
		this.hospitalplan = vo.getHospitalPlan();
		this.actionsforgpandcommunity = vo.getActionsforGPandCommunity();
		this.resultsawaited = vo.getResultsAwaited() == null ? null : vo.getResultsAwaited().getBeanCollection();
		this.otherresultsawaited = vo.getOtherResultsAwaited();
		this.medicalcertificationissued = vo.getMedicalCertificationIssued() == null ? null : (ims.vo.LookupInstanceBean)vo.getMedicalCertificationIssued().getBean();
		this.certificateexpiresdate = vo.getCertificateExpiresDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCertificateExpiresDate().getBean();
		this.comments = vo.getComments();
		this.dischargedetails = vo.getDischargeDetails() == null ? null : (ims.clinical.vo.beans.DischargeDetailsVoBean)vo.getDischargeDetails().getBean();
		this.refrainfromworkunit = vo.getRefrainFromWorkUnit() == null ? null : (ims.vo.LookupInstanceBean)vo.getRefrainFromWorkUnit().getBean();
		this.wasnurseenableddischarge = vo.getWasNurseEnabledDischarge();
		this.refrainfromworkvalue = vo.getRefrainFromWorkValue();
		this.followupdetails = vo.getFollowUpDetails() == null ? null : vo.getFollowUpDetails().getBeanCollection();
		this.linkedsurgicaloperationnote = vo.getLinkedSurgicalOperationNote() == null ? null : (ims.clinical.vo.beans.SurgicalOperationNotesVoBean)vo.getLinkedSurgicalOperationNote().getBean();
		this.nurseenabledinstructions = vo.getNurseEnabledInstructions() == null ? null : (ims.clinical.vo.beans.NurseEnabledInstructionsVoBean)vo.getNurseEnabledInstructions().getBean();
		this.issugicalopnotescomplete = vo.getIsSugicalOpNotesComplete();
		this.opnotesactionsforgpandcommunity = vo.getOpNotesActionsforGPandCommunity();
		this.opnotesfollowupdetails = vo.getOpNotesFollowUpDetails() == null ? null : vo.getOpNotesFollowUpDetails().getBeanCollection();
		this.opnotesnurseenabledinstructions = vo.getOpNotesNurseEnabledInstructions() == null ? null : (ims.clinical.vo.beans.NurseEnabledInstructionsVoBean)vo.getOpNotesNurseEnabledInstructions().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.clinical.vo.DischargeFuturePlanVo 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.hospitalfollowup = vo.getHospitalFollowUp() == null ? null : (ims.vo.LookupInstanceBean)vo.getHospitalFollowUp().getBean();
		this.followupin = vo.getFollowupIn();
		this.followupininterval = vo.getFollowupInInterval() == null ? null : (ims.vo.LookupInstanceBean)vo.getFollowupInInterval().getBean();
		this.followuphcp = vo.getFollowupHCP() == null ? null : (ims.core.vo.beans.HcpLiteVoBean)vo.getFollowupHCP().getBean(map);
		this.hospitalplan = vo.getHospitalPlan();
		this.actionsforgpandcommunity = vo.getActionsforGPandCommunity();
		this.resultsawaited = vo.getResultsAwaited() == null ? null : vo.getResultsAwaited().getBeanCollection();
		this.otherresultsawaited = vo.getOtherResultsAwaited();
		this.medicalcertificationissued = vo.getMedicalCertificationIssued() == null ? null : (ims.vo.LookupInstanceBean)vo.getMedicalCertificationIssued().getBean();
		this.certificateexpiresdate = vo.getCertificateExpiresDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCertificateExpiresDate().getBean();
		this.comments = vo.getComments();
		this.dischargedetails = vo.getDischargeDetails() == null ? null : (ims.clinical.vo.beans.DischargeDetailsVoBean)vo.getDischargeDetails().getBean(map);
		this.refrainfromworkunit = vo.getRefrainFromWorkUnit() == null ? null : (ims.vo.LookupInstanceBean)vo.getRefrainFromWorkUnit().getBean();
		this.wasnurseenableddischarge = vo.getWasNurseEnabledDischarge();
		this.refrainfromworkvalue = vo.getRefrainFromWorkValue();
		this.followupdetails = vo.getFollowUpDetails() == null ? null : vo.getFollowUpDetails().getBeanCollection();
		this.linkedsurgicaloperationnote = vo.getLinkedSurgicalOperationNote() == null ? null : (ims.clinical.vo.beans.SurgicalOperationNotesVoBean)vo.getLinkedSurgicalOperationNote().getBean(map);
		this.nurseenabledinstructions = vo.getNurseEnabledInstructions() == null ? null : (ims.clinical.vo.beans.NurseEnabledInstructionsVoBean)vo.getNurseEnabledInstructions().getBean(map);
		this.issugicalopnotescomplete = vo.getIsSugicalOpNotesComplete();
		this.opnotesactionsforgpandcommunity = vo.getOpNotesActionsforGPandCommunity();
		this.opnotesfollowupdetails = vo.getOpNotesFollowUpDetails() == null ? null : vo.getOpNotesFollowUpDetails().getBeanCollection();
		this.opnotesnurseenabledinstructions = vo.getOpNotesNurseEnabledInstructions() == null ? null : (ims.clinical.vo.beans.NurseEnabledInstructionsVoBean)vo.getOpNotesNurseEnabledInstructions().getBean(map);
	}

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

	public ims.clinical.vo.DischargeFuturePlanVo buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.clinical.vo.DischargeFuturePlanVo vo = null;
		if(map != null)
			vo = (ims.clinical.vo.DischargeFuturePlanVo)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.clinical.vo.DischargeFuturePlanVo();
			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.vo.LookupInstanceBean getHospitalFollowUp()
	{
		return this.hospitalfollowup;
	}
	public void setHospitalFollowUp(ims.vo.LookupInstanceBean value)
	{
		this.hospitalfollowup = value;
	}
	public Integer getFollowupIn()
	{
		return this.followupin;
	}
	public void setFollowupIn(Integer value)
	{
		this.followupin = value;
	}
	public ims.vo.LookupInstanceBean getFollowupInInterval()
	{
		return this.followupininterval;
	}
	public void setFollowupInInterval(ims.vo.LookupInstanceBean value)
	{
		this.followupininterval = value;
	}
	public ims.core.vo.beans.HcpLiteVoBean getFollowupHCP()
	{
		return this.followuphcp;
	}
	public void setFollowupHCP(ims.core.vo.beans.HcpLiteVoBean value)
	{
		this.followuphcp = 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.ocrr.vo.beans.OrderInvestigationBookingVoBean[] getResultsAwaited()
	{
		return this.resultsawaited;
	}
	public void setResultsAwaited(ims.ocrr.vo.beans.OrderInvestigationBookingVoBean[] value)
	{
		this.resultsawaited = value;
	}
	public String getOtherResultsAwaited()
	{
		return this.otherresultsawaited;
	}
	public void setOtherResultsAwaited(String value)
	{
		this.otherresultsawaited = value;
	}
	public ims.vo.LookupInstanceBean getMedicalCertificationIssued()
	{
		return this.medicalcertificationissued;
	}
	public void setMedicalCertificationIssued(ims.vo.LookupInstanceBean value)
	{
		this.medicalcertificationissued = value;
	}
	public ims.framework.utils.beans.DateBean getCertificateExpiresDate()
	{
		return this.certificateexpiresdate;
	}
	public void setCertificateExpiresDate(ims.framework.utils.beans.DateBean value)
	{
		this.certificateexpiresdate = value;
	}
	public String getComments()
	{
		return this.comments;
	}
	public void setComments(String value)
	{
		this.comments = value;
	}
	public ims.clinical.vo.beans.DischargeDetailsVoBean getDischargeDetails()
	{
		return this.dischargedetails;
	}
	public void setDischargeDetails(ims.clinical.vo.beans.DischargeDetailsVoBean value)
	{
		this.dischargedetails = value;
	}
	public ims.vo.LookupInstanceBean getRefrainFromWorkUnit()
	{
		return this.refrainfromworkunit;
	}
	public void setRefrainFromWorkUnit(ims.vo.LookupInstanceBean value)
	{
		this.refrainfromworkunit = value;
	}
	public Boolean getWasNurseEnabledDischarge()
	{
		return this.wasnurseenableddischarge;
	}
	public void setWasNurseEnabledDischarge(Boolean value)
	{
		this.wasnurseenableddischarge = value;
	}
	public Integer getRefrainFromWorkValue()
	{
		return this.refrainfromworkvalue;
	}
	public void setRefrainFromWorkValue(Integer value)
	{
		this.refrainfromworkvalue = value;
	}
	public ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] getFollowUpDetails()
	{
		return this.followupdetails;
	}
	public void setFollowUpDetails(ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] value)
	{
		this.followupdetails = value;
	}
	public ims.clinical.vo.beans.SurgicalOperationNotesVoBean getLinkedSurgicalOperationNote()
	{
		return this.linkedsurgicaloperationnote;
	}
	public void setLinkedSurgicalOperationNote(ims.clinical.vo.beans.SurgicalOperationNotesVoBean value)
	{
		this.linkedsurgicaloperationnote = 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 getIsSugicalOpNotesComplete()
	{
		return this.issugicalopnotescomplete;
	}
	public void setIsSugicalOpNotesComplete(Boolean value)
	{
		this.issugicalopnotescomplete = value;
	}
	public String getOpNotesActionsforGPandCommunity()
	{
		return this.opnotesactionsforgpandcommunity;
	}
	public void setOpNotesActionsforGPandCommunity(String value)
	{
		this.opnotesactionsforgpandcommunity = value;
	}
	public ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] getOpNotesFollowUpDetails()
	{
		return this.opnotesfollowupdetails;
	}
	public void setOpNotesFollowUpDetails(ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] value)
	{
		this.opnotesfollowupdetails = value;
	}
	public ims.clinical.vo.beans.NurseEnabledInstructionsVoBean getOpNotesNurseEnabledInstructions()
	{
		return this.opnotesnurseenabledinstructions;
	}
	public void setOpNotesNurseEnabledInstructions(ims.clinical.vo.beans.NurseEnabledInstructionsVoBean value)
	{
		this.opnotesnurseenabledinstructions = value;
	}

	private Integer id;
	private int version;
	private ims.vo.RefVoBean carecontext;
	private ims.vo.LookupInstanceBean hospitalfollowup;
	private Integer followupin;
	private ims.vo.LookupInstanceBean followupininterval;
	private ims.core.vo.beans.HcpLiteVoBean followuphcp;
	private String hospitalplan;
	private String actionsforgpandcommunity;
	private ims.ocrr.vo.beans.OrderInvestigationBookingVoBean[] resultsawaited;
	private String otherresultsawaited;
	private ims.vo.LookupInstanceBean medicalcertificationissued;
	private ims.framework.utils.beans.DateBean certificateexpiresdate;
	private String comments;
	private ims.clinical.vo.beans.DischargeDetailsVoBean dischargedetails;
	private ims.vo.LookupInstanceBean refrainfromworkunit;
	private Boolean wasnurseenableddischarge;
	private Integer refrainfromworkvalue;
	private ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] followupdetails;
	private ims.clinical.vo.beans.SurgicalOperationNotesVoBean linkedsurgicaloperationnote;
	private ims.clinical.vo.beans.NurseEnabledInstructionsVoBean nurseenabledinstructions;
	private Boolean issugicalopnotescomplete;
	private String opnotesactionsforgpandcommunity;
	private ims.clinical.vo.beans.DischargeFuturePlanFollowUpVoBean[] opnotesfollowupdetails;
	private ims.clinical.vo.beans.NurseEnabledInstructionsVoBean opnotesnurseenabledinstructions;
}
