//#############################################################################
//#                                                                           #
//#  Copyright (C) <2014>  <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/>.    #
//#                                                                           #
//#############################################################################
//#EOH
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751)
// Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved.
// WARNING: DO NOT MODIFY the content of this file

package ims.core.vo.beans;

public class PatientBean extends ims.vo.ValueObjectBean
{
	public PatientBean()
	{
	}
	public PatientBean(ims.core.vo.Patient vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.name = vo.getName() == null ? null : (ims.core.vo.beans.PersonNameBean)vo.getName().getBean();
		this.sex = vo.getSex() == null ? null : (ims.vo.LookupInstanceBean)vo.getSex().getBean();
		this.age = vo.getAge();
		this.agetext = vo.getAgeText();
		this.address = vo.getAddress() == null ? null : (ims.core.vo.beans.PersonAddressBean)vo.getAddress().getBean();
		this.dob = vo.getDob() == null ? null : (ims.framework.utils.beans.PartialDateBean)vo.getDob().getBean();
		this.dod = vo.getDod() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDod().getBean();
		this.ward = vo.getWard() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getWard().getBean();
		this.religion = vo.getReligion() == null ? null : (ims.vo.LookupInstanceBean)vo.getReligion().getBean();
		this.hasallergies = vo.getHasAllergies();
		this.hasalerts = vo.getHasAlerts();
		this.identifiers = vo.getIdentifiers() == null ? null : vo.getIdentifiers().getBeanCollection();
		this.isactive = vo.getIsActive();
		this.associatedpatient = vo.getAssociatedPatient() == null ? null : (ims.core.vo.beans.PatientShortBean)vo.getAssociatedPatient().getBean();
		this.commchannels = vo.getCommChannels() == null ? null : vo.getCommChannels().getBeanCollection();
		this.ethnicorigin = vo.getEthnicOrigin() == null ? null : (ims.vo.LookupInstanceBean)vo.getEthnicOrigin().getBean();
		this.maritalstatus = vo.getMaritalStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getMaritalStatus().getBean();
		this.scn = vo.getSCN();
		this.sourceofinformation = vo.getSourceOfInformation() == null ? null : (ims.vo.LookupInstanceBean)vo.getSourceOfInformation().getBean();
		this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSysInfo().getBean();
		this.hasactivealerts = vo.getHasActiveAlerts();
		this.timeofdeath = vo.getTimeOfDeath() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getTimeOfDeath().getBean();
		this.isquickregistrationpatient = vo.getIsQuickRegistrationPatient();
		this.ocsnotification = vo.getOCSNotification() == null ? null : (ims.core.vo.beans.PatientNotificationsFillerOnlyVoBean)vo.getOCSNotification().getBean();
		this.currentresponsibleconsultant = vo.getCurrentResponsibleConsultant() == null ? null : new ims.vo.RefVoBean(vo.getCurrentResponsibleConsultant().getBoId(), vo.getCurrentResponsibleConsultant().getBoVersion());
		this.gp = vo.getGp() == null ? null : (ims.core.vo.beans.GpShortVoBean)vo.getGp().getBean();
		this.occupation = vo.getOccupation() == null ? null : (ims.vo.LookupInstanceBean)vo.getOccupation().getBean();
		this.language = vo.getLanguage() == null ? null : (ims.vo.LookupInstanceBean)vo.getLanguage().getBean();
		this.nok = vo.getNok() == null ? null : (ims.core.vo.beans.NextOfKinBean)vo.getNok().getBean();
		this.insurance = vo.getInsurance() == null ? null : (ims.core.vo.beans.InsuranceVoBean)vo.getInsurance().getBean();
		this.othernames = vo.getOtherNames() == null ? null : vo.getOtherNames().getBeanCollection();
		this.addresses = vo.getAddresses() == null ? null : vo.getAddresses().getBeanCollection();
		this.gpsurgery = vo.getGpSurgery() == null ? null : (ims.core.vo.beans.LocSiteShortVoBean)vo.getGpSurgery().getBean();
		this.patientalerts = vo.getPatientAlerts() == null ? null : vo.getPatientAlerts().getBeanCollection();
		this.clientparent = vo.getClientParent() == null ? null : new ims.vo.RefVoBean(vo.getClientParent().getBoId(), vo.getClientParent().getBoVersion());
		this.photo = vo.getPhoto() == null ? null : (ims.core.vo.beans.AppDBImageVoBean)vo.getPhoto().getBean();
		this.savealias = vo.getSaveAlias();
		this.cancelsd_appts = vo.getCancelSD_APPTS();
		this.homefolderlocation = vo.getHomeFolderLocation() == null ? null : (ims.vo.LookupInstanceBean)vo.getHomeFolderLocation().getBean();
		this.harccode = vo.getHARCCode();
		this.prefcommlanguage = vo.getPrefCommLanguage() == null ? null : (ims.vo.LookupInstanceBean)vo.getPrefCommLanguage().getBean();
		this.practice = vo.getPractice() == null ? null : (ims.core.vo.beans.OrganisationWithSitesVoBean)vo.getPractice().getBean();
		this.copypatientoncorrespondence = vo.getCopyPatientOnCorrespondence();
		this.copypatientoncorrespondencedate = vo.getCopyPatientOnCorrespondenceDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCopyPatientOnCorrespondenceDate().getBean();
		this.currentmedicalinsurance = vo.getCurrentMedicalInsurance() == null ? null : (ims.core.vo.beans.PatientMedicalInsuranceVoBean)vo.getCurrentMedicalInsurance().getBean();
		this.mrnstatus = vo.getMRNStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getMRNStatus().getBean();
	}

	public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.Patient vo)
	{
		this.id = vo.getBoId();
		this.version = vo.getBoVersion();
		this.name = vo.getName() == null ? null : (ims.core.vo.beans.PersonNameBean)vo.getName().getBean(map);
		this.sex = vo.getSex() == null ? null : (ims.vo.LookupInstanceBean)vo.getSex().getBean();
		this.age = vo.getAge();
		this.agetext = vo.getAgeText();
		this.address = vo.getAddress() == null ? null : (ims.core.vo.beans.PersonAddressBean)vo.getAddress().getBean(map);
		this.dob = vo.getDob() == null ? null : (ims.framework.utils.beans.PartialDateBean)vo.getDob().getBean();
		this.dod = vo.getDod() == null ? null : (ims.framework.utils.beans.DateBean)vo.getDod().getBean();
		this.ward = vo.getWard() == null ? null : (ims.core.vo.beans.LocationLiteVoBean)vo.getWard().getBean(map);
		this.religion = vo.getReligion() == null ? null : (ims.vo.LookupInstanceBean)vo.getReligion().getBean();
		this.hasallergies = vo.getHasAllergies();
		this.hasalerts = vo.getHasAlerts();
		this.identifiers = vo.getIdentifiers() == null ? null : vo.getIdentifiers().getBeanCollection();
		this.isactive = vo.getIsActive();
		this.associatedpatient = vo.getAssociatedPatient() == null ? null : (ims.core.vo.beans.PatientShortBean)vo.getAssociatedPatient().getBean(map);
		this.commchannels = vo.getCommChannels() == null ? null : vo.getCommChannels().getBeanCollection();
		this.ethnicorigin = vo.getEthnicOrigin() == null ? null : (ims.vo.LookupInstanceBean)vo.getEthnicOrigin().getBean();
		this.maritalstatus = vo.getMaritalStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getMaritalStatus().getBean();
		this.scn = vo.getSCN();
		this.sourceofinformation = vo.getSourceOfInformation() == null ? null : (ims.vo.LookupInstanceBean)vo.getSourceOfInformation().getBean();
		this.sysinfo = vo.getSysInfo() == null ? null : (ims.vo.SysInfoBean)vo.getSysInfo().getBean();
		this.hasactivealerts = vo.getHasActiveAlerts();
		this.timeofdeath = vo.getTimeOfDeath() == null ? null : (ims.framework.utils.beans.TimeBean)vo.getTimeOfDeath().getBean();
		this.isquickregistrationpatient = vo.getIsQuickRegistrationPatient();
		this.ocsnotification = vo.getOCSNotification() == null ? null : (ims.core.vo.beans.PatientNotificationsFillerOnlyVoBean)vo.getOCSNotification().getBean(map);
		this.currentresponsibleconsultant = vo.getCurrentResponsibleConsultant() == null ? null : new ims.vo.RefVoBean(vo.getCurrentResponsibleConsultant().getBoId(), vo.getCurrentResponsibleConsultant().getBoVersion());
		this.gp = vo.getGp() == null ? null : (ims.core.vo.beans.GpShortVoBean)vo.getGp().getBean(map);
		this.occupation = vo.getOccupation() == null ? null : (ims.vo.LookupInstanceBean)vo.getOccupation().getBean();
		this.language = vo.getLanguage() == null ? null : (ims.vo.LookupInstanceBean)vo.getLanguage().getBean();
		this.nok = vo.getNok() == null ? null : (ims.core.vo.beans.NextOfKinBean)vo.getNok().getBean(map);
		this.insurance = vo.getInsurance() == null ? null : (ims.core.vo.beans.InsuranceVoBean)vo.getInsurance().getBean(map);
		this.othernames = vo.getOtherNames() == null ? null : vo.getOtherNames().getBeanCollection();
		this.addresses = vo.getAddresses() == null ? null : vo.getAddresses().getBeanCollection();
		this.gpsurgery = vo.getGpSurgery() == null ? null : (ims.core.vo.beans.LocSiteShortVoBean)vo.getGpSurgery().getBean(map);
		this.patientalerts = vo.getPatientAlerts() == null ? null : vo.getPatientAlerts().getBeanCollection();
		this.clientparent = vo.getClientParent() == null ? null : new ims.vo.RefVoBean(vo.getClientParent().getBoId(), vo.getClientParent().getBoVersion());
		this.photo = vo.getPhoto() == null ? null : (ims.core.vo.beans.AppDBImageVoBean)vo.getPhoto().getBean(map);
		this.savealias = vo.getSaveAlias();
		this.cancelsd_appts = vo.getCancelSD_APPTS();
		this.homefolderlocation = vo.getHomeFolderLocation() == null ? null : (ims.vo.LookupInstanceBean)vo.getHomeFolderLocation().getBean();
		this.harccode = vo.getHARCCode();
		this.prefcommlanguage = vo.getPrefCommLanguage() == null ? null : (ims.vo.LookupInstanceBean)vo.getPrefCommLanguage().getBean();
		this.practice = vo.getPractice() == null ? null : (ims.core.vo.beans.OrganisationWithSitesVoBean)vo.getPractice().getBean(map);
		this.copypatientoncorrespondence = vo.getCopyPatientOnCorrespondence();
		this.copypatientoncorrespondencedate = vo.getCopyPatientOnCorrespondenceDate() == null ? null : (ims.framework.utils.beans.DateBean)vo.getCopyPatientOnCorrespondenceDate().getBean();
		this.currentmedicalinsurance = vo.getCurrentMedicalInsurance() == null ? null : (ims.core.vo.beans.PatientMedicalInsuranceVoBean)vo.getCurrentMedicalInsurance().getBean(map);
		this.mrnstatus = vo.getMRNStatus() == null ? null : (ims.vo.LookupInstanceBean)vo.getMRNStatus().getBean();
	}

	public ims.core.vo.Patient buildVo()
	{
		return this.buildVo(new ims.vo.ValueObjectBeanMap());
	}

	public ims.core.vo.Patient buildVo(ims.vo.ValueObjectBeanMap map)
	{
		ims.core.vo.Patient vo = null;
		if(map != null)
			vo = (ims.core.vo.Patient)map.getValueObject(this);
		if(vo == null)
		{
			vo = new ims.core.vo.Patient();
			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.PersonNameBean getName()
	{
		return this.name;
	}
	public void setName(ims.core.vo.beans.PersonNameBean value)
	{
		this.name = value;
	}
	public ims.vo.LookupInstanceBean getSex()
	{
		return this.sex;
	}
	public void setSex(ims.vo.LookupInstanceBean value)
	{
		this.sex = value;
	}
	public Integer getAge()
	{
		return this.age;
	}
	public void setAge(Integer value)
	{
		this.age = value;
	}
	public String getAgeText()
	{
		return this.agetext;
	}
	public void setAgeText(String value)
	{
		this.agetext = value;
	}
	public ims.core.vo.beans.PersonAddressBean getAddress()
	{
		return this.address;
	}
	public void setAddress(ims.core.vo.beans.PersonAddressBean value)
	{
		this.address = value;
	}
	public ims.framework.utils.beans.PartialDateBean getDob()
	{
		return this.dob;
	}
	public void setDob(ims.framework.utils.beans.PartialDateBean value)
	{
		this.dob = value;
	}
	public ims.framework.utils.beans.DateBean getDod()
	{
		return this.dod;
	}
	public void setDod(ims.framework.utils.beans.DateBean value)
	{
		this.dod = value;
	}
	public ims.core.vo.beans.LocationLiteVoBean getWard()
	{
		return this.ward;
	}
	public void setWard(ims.core.vo.beans.LocationLiteVoBean value)
	{
		this.ward = value;
	}
	public ims.vo.LookupInstanceBean getReligion()
	{
		return this.religion;
	}
	public void setReligion(ims.vo.LookupInstanceBean value)
	{
		this.religion = value;
	}
	public Boolean getHasAllergies()
	{
		return this.hasallergies;
	}
	public void setHasAllergies(Boolean value)
	{
		this.hasallergies = value;
	}
	public Boolean getHasAlerts()
	{
		return this.hasalerts;
	}
	public void setHasAlerts(Boolean value)
	{
		this.hasalerts = value;
	}
	public ims.core.vo.beans.PatientIdBean[] getIdentifiers()
	{
		return this.identifiers;
	}
	public void setIdentifiers(ims.core.vo.beans.PatientIdBean[] value)
	{
		this.identifiers = value;
	}
	public Boolean getIsActive()
	{
		return this.isactive;
	}
	public void setIsActive(Boolean value)
	{
		this.isactive = value;
	}
	public ims.core.vo.beans.PatientShortBean getAssociatedPatient()
	{
		return this.associatedpatient;
	}
	public void setAssociatedPatient(ims.core.vo.beans.PatientShortBean value)
	{
		this.associatedpatient = value;
	}
	public ims.core.vo.beans.CommChannelVoBean[] getCommChannels()
	{
		return this.commchannels;
	}
	public void setCommChannels(ims.core.vo.beans.CommChannelVoBean[] value)
	{
		this.commchannels = value;
	}
	public ims.vo.LookupInstanceBean getEthnicOrigin()
	{
		return this.ethnicorigin;
	}
	public void setEthnicOrigin(ims.vo.LookupInstanceBean value)
	{
		this.ethnicorigin = value;
	}
	public ims.vo.LookupInstanceBean getMaritalStatus()
	{
		return this.maritalstatus;
	}
	public void setMaritalStatus(ims.vo.LookupInstanceBean value)
	{
		this.maritalstatus = value;
	}
	public Integer getSCN()
	{
		return this.scn;
	}
	public void setSCN(Integer value)
	{
		this.scn = value;
	}
	public ims.vo.LookupInstanceBean getSourceOfInformation()
	{
		return this.sourceofinformation;
	}
	public void setSourceOfInformation(ims.vo.LookupInstanceBean value)
	{
		this.sourceofinformation = value;
	}
	public ims.vo.SysInfoBean getSysInfo()
	{
		return this.sysinfo;
	}
	public void setSysInfo(ims.vo.SysInfoBean value)
	{
		this.sysinfo = value;
	}
	public Boolean getHasActiveAlerts()
	{
		return this.hasactivealerts;
	}
	public void setHasActiveAlerts(Boolean value)
	{
		this.hasactivealerts = value;
	}
	public ims.framework.utils.beans.TimeBean getTimeOfDeath()
	{
		return this.timeofdeath;
	}
	public void setTimeOfDeath(ims.framework.utils.beans.TimeBean value)
	{
		this.timeofdeath = value;
	}
	public Boolean getIsQuickRegistrationPatient()
	{
		return this.isquickregistrationpatient;
	}
	public void setIsQuickRegistrationPatient(Boolean value)
	{
		this.isquickregistrationpatient = value;
	}
	public ims.core.vo.beans.PatientNotificationsFillerOnlyVoBean getOCSNotification()
	{
		return this.ocsnotification;
	}
	public void setOCSNotification(ims.core.vo.beans.PatientNotificationsFillerOnlyVoBean value)
	{
		this.ocsnotification = value;
	}
	public ims.vo.RefVoBean getCurrentResponsibleConsultant()
	{
		return this.currentresponsibleconsultant;
	}
	public void setCurrentResponsibleConsultant(ims.vo.RefVoBean value)
	{
		this.currentresponsibleconsultant = value;
	}
	public ims.core.vo.beans.GpShortVoBean getGp()
	{
		return this.gp;
	}
	public void setGp(ims.core.vo.beans.GpShortVoBean value)
	{
		this.gp = value;
	}
	public ims.vo.LookupInstanceBean getOccupation()
	{
		return this.occupation;
	}
	public void setOccupation(ims.vo.LookupInstanceBean value)
	{
		this.occupation = value;
	}
	public ims.vo.LookupInstanceBean getLanguage()
	{
		return this.language;
	}
	public void setLanguage(ims.vo.LookupInstanceBean value)
	{
		this.language = value;
	}
	public ims.core.vo.beans.NextOfKinBean getNok()
	{
		return this.nok;
	}
	public void setNok(ims.core.vo.beans.NextOfKinBean value)
	{
		this.nok = value;
	}
	public ims.core.vo.beans.InsuranceVoBean getInsurance()
	{
		return this.insurance;
	}
	public void setInsurance(ims.core.vo.beans.InsuranceVoBean value)
	{
		this.insurance = value;
	}
	public ims.core.vo.beans.PersonNameBean[] getOtherNames()
	{
		return this.othernames;
	}
	public void setOtherNames(ims.core.vo.beans.PersonNameBean[] value)
	{
		this.othernames = value;
	}
	public ims.core.vo.beans.PersonAddressBean[] getAddresses()
	{
		return this.addresses;
	}
	public void setAddresses(ims.core.vo.beans.PersonAddressBean[] value)
	{
		this.addresses = value;
	}
	public ims.core.vo.beans.LocSiteShortVoBean getGpSurgery()
	{
		return this.gpsurgery;
	}
	public void setGpSurgery(ims.core.vo.beans.LocSiteShortVoBean value)
	{
		this.gpsurgery = value;
	}
	public ims.core.vo.beans.PatientAlertLiteVoBean[] getPatientAlerts()
	{
		return this.patientalerts;
	}
	public void setPatientAlerts(ims.core.vo.beans.PatientAlertLiteVoBean[] value)
	{
		this.patientalerts = value;
	}
	public ims.vo.RefVoBean getClientParent()
	{
		return this.clientparent;
	}
	public void setClientParent(ims.vo.RefVoBean value)
	{
		this.clientparent = value;
	}
	public ims.core.vo.beans.AppDBImageVoBean getPhoto()
	{
		return this.photo;
	}
	public void setPhoto(ims.core.vo.beans.AppDBImageVoBean value)
	{
		this.photo = value;
	}
	public String getSaveAlias()
	{
		return this.savealias;
	}
	public void setSaveAlias(String value)
	{
		this.savealias = value;
	}
	public Boolean getCancelSD_APPTS()
	{
		return this.cancelsd_appts;
	}
	public void setCancelSD_APPTS(Boolean value)
	{
		this.cancelsd_appts = value;
	}
	public ims.vo.LookupInstanceBean getHomeFolderLocation()
	{
		return this.homefolderlocation;
	}
	public void setHomeFolderLocation(ims.vo.LookupInstanceBean value)
	{
		this.homefolderlocation = value;
	}
	public String getHARCCode()
	{
		return this.harccode;
	}
	public void setHARCCode(String value)
	{
		this.harccode = value;
	}
	public ims.vo.LookupInstanceBean getPrefCommLanguage()
	{
		return this.prefcommlanguage;
	}
	public void setPrefCommLanguage(ims.vo.LookupInstanceBean value)
	{
		this.prefcommlanguage = value;
	}
	public ims.core.vo.beans.OrganisationWithSitesVoBean getPractice()
	{
		return this.practice;
	}
	public void setPractice(ims.core.vo.beans.OrganisationWithSitesVoBean value)
	{
		this.practice = value;
	}
	public Boolean getCopyPatientOnCorrespondence()
	{
		return this.copypatientoncorrespondence;
	}
	public void setCopyPatientOnCorrespondence(Boolean value)
	{
		this.copypatientoncorrespondence = value;
	}
	public ims.framework.utils.beans.DateBean getCopyPatientOnCorrespondenceDate()
	{
		return this.copypatientoncorrespondencedate;
	}
	public void setCopyPatientOnCorrespondenceDate(ims.framework.utils.beans.DateBean value)
	{
		this.copypatientoncorrespondencedate = value;
	}
	public ims.core.vo.beans.PatientMedicalInsuranceVoBean getCurrentMedicalInsurance()
	{
		return this.currentmedicalinsurance;
	}
	public void setCurrentMedicalInsurance(ims.core.vo.beans.PatientMedicalInsuranceVoBean value)
	{
		this.currentmedicalinsurance = value;
	}
	public ims.vo.LookupInstanceBean getMRNStatus()
	{
		return this.mrnstatus;
	}
	public void setMRNStatus(ims.vo.LookupInstanceBean value)
	{
		this.mrnstatus = value;
	}

	private Integer id;
	private int version;
	private ims.core.vo.beans.PersonNameBean name;
	private ims.vo.LookupInstanceBean sex;
	private Integer age;
	private String agetext;
	private ims.core.vo.beans.PersonAddressBean address;
	private ims.framework.utils.beans.PartialDateBean dob;
	private ims.framework.utils.beans.DateBean dod;
	private ims.core.vo.beans.LocationLiteVoBean ward;
	private ims.vo.LookupInstanceBean religion;
	private Boolean hasallergies;
	private Boolean hasalerts;
	private ims.core.vo.beans.PatientIdBean[] identifiers;
	private Boolean isactive;
	private ims.core.vo.beans.PatientShortBean associatedpatient;
	private ims.core.vo.beans.CommChannelVoBean[] commchannels;
	private ims.vo.LookupInstanceBean ethnicorigin;
	private ims.vo.LookupInstanceBean maritalstatus;
	private Integer scn;
	private ims.vo.LookupInstanceBean sourceofinformation;
	private ims.vo.SysInfoBean sysinfo;
	private Boolean hasactivealerts;
	private ims.framework.utils.beans.TimeBean timeofdeath;
	private Boolean isquickregistrationpatient;
	private ims.core.vo.beans.PatientNotificationsFillerOnlyVoBean ocsnotification;
	private ims.vo.RefVoBean currentresponsibleconsultant;
	private ims.core.vo.beans.GpShortVoBean gp;
	private ims.vo.LookupInstanceBean occupation;
	private ims.vo.LookupInstanceBean language;
	private ims.core.vo.beans.NextOfKinBean nok;
	private ims.core.vo.beans.InsuranceVoBean insurance;
	private ims.core.vo.beans.PersonNameBean[] othernames;
	private ims.core.vo.beans.PersonAddressBean[] addresses;
	private ims.core.vo.beans.LocSiteShortVoBean gpsurgery;
	private ims.core.vo.beans.PatientAlertLiteVoBean[] patientalerts;
	private ims.vo.RefVoBean clientparent;
	private ims.core.vo.beans.AppDBImageVoBean photo;
	private String savealias;
	private Boolean cancelsd_appts;
	private ims.vo.LookupInstanceBean homefolderlocation;
	private String harccode;
	private ims.vo.LookupInstanceBean prefcommlanguage;
	private ims.core.vo.beans.OrganisationWithSitesVoBean practice;
	private Boolean copypatientoncorrespondence;
	private ims.framework.utils.beans.DateBean copypatientoncorrespondencedate;
	private ims.core.vo.beans.PatientMedicalInsuranceVoBean currentmedicalinsurance;
	private ims.vo.LookupInstanceBean mrnstatus;
}
