gt: 			return new grdInpatientsRow(super.collection.newRowAt(index));
context: //#############################################################################
  //#                                                                           #
  //#  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.correspondence.forms.correspondenceinpatientlist;
  
  import ims.framework.*;
  import ims.framework.controls.*;
  import ims.framework.enumerations.*;
  import ims.framework.utils.RuntimeAnchoring;
  
  public class GenForm extends FormBridge
  {
  	private static final long serialVersionUID = 1L;
  
  	public boolean canProvideData(IReportSeed[] reportSeeds)
  	{
  		return new ReportDataProvider(reportSeeds, this.getFormReportFields()).canProvideData();
  	}
  	public boolean hasData(IReportSeed[] reportSeeds)
  	{
  		return new ReportDataProvider(reportSeeds, this.getFormReportFields()).hasData();
  	}
  	public IReportField[] getData(IReportSeed[] reportSeeds)
  	{
  		return getData(reportSeeds, false);
  	}
  	public IReportField[] getData(IReportSeed[] reportSeeds, boolean excludeNulls)
  	{
  		return new ReportDataProvider(reportSeeds, this.getFormReportFields(), excludeNulls).getData();
  	}
  	public static class cmbStatusOfLetterComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.lookups.DocumentStatus value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.lookups.DocumentStatus value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.lookups.DocumentStatus value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.lookups.DocumentStatus value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.lookups.DocumentStatus value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.lookups.DocumentStatus getValue()
  		{
  			return (ims.core.vo.lookups.DocumentStatus)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.lookups.DocumentStatus value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbConsultantComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.MedicLiteVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.MedicLiteVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.MedicLiteVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.MedicLiteVo value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.MedicLiteVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.MedicLiteVo getValue()
  		{
  			return (ims.core.vo.MedicLiteVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.MedicLiteVo value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbHospitalComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.LocShortMappingsVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.LocShortMappingsVo getValue()
  		{
  			return (ims.core.vo.LocShortMappingsVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.LocShortMappingsVo value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class cmbWardComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.LocShortMappingsVo value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.LocShortMappingsVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.LocShortMappingsVo getValue()
  		{
  			return (ims.core.vo.LocShortMappingsVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.LocShortMappingsVo value)
  		{
  			super.control.setValue(value);
  		}
  	}
  	public static class qmbDictatedByComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.MemberOfStaffShortVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.MemberOfStaffShortVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.MemberOfStaffShortVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.MemberOfStaffShortVo value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.MemberOfStaffShortVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.MemberOfStaffShortVo getValue()
  		{
  			return (ims.core.vo.MemberOfStaffShortVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.MemberOfStaffShortVo value)
  		{
  			super.control.setValue(value);
  		}
  		public void setEditedText(String text)
  		{
  			super.control.setEditedText(text);
  		}
  		public String getEditedText()
  		{
  			return super.control.getEditedText();
  		}
  	}
  	public static class qmbConsultantsComboBox extends ComboBoxBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public void newRow(ims.core.vo.MedicLiteVo value, String text)
  		{
  			super.control.newRow(value, text);
  		}
  		public void newRow(ims.core.vo.MedicLiteVo value, String text, ims.framework.utils.Image image)
  		{
  			super.control.newRow(value, text, image);
  		}
  		public void newRow(ims.core.vo.MedicLiteVo value, String text, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, textColor);
  		}
  		public void newRow(ims.core.vo.MedicLiteVo value, String text, ims.framework.utils.Image image, ims.framework.utils.Color textColor)
  		{
  			super.control.newRow(value, text, image, textColor);
  		}
  		public boolean removeRow(ims.core.vo.MedicLiteVo value)
  		{
  			return super.control.removeRow(value);
  		}
  		public ims.core.vo.MedicLiteVo getValue()
  		{
  			return (ims.core.vo.MedicLiteVo)super.control.getValue();
  		}
  		public void setValue(ims.core.vo.MedicLiteVo value)
  		{
  			super.control.setValue(value);
  		}
  		public void setEditedText(String text)
  		{
  			super.control.setEditedText(text);
  		}
  		public String getEditedText()
  		{
  			return super.control.getEditedText();
  		}
  	}
  	public static class grdInpatientsRow extends GridRowBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected grdInpatientsRow(GridRow row)
  		{
  			super(row);
  		}
  		public void showOpened(int column)
  		{
  			super.row.showOpened(column);
  		}
  		public void setcolLeaveReadOnly(boolean value)
  		{
  			super.row.setReadOnly(0, value);
  		}
  		public boolean iscolLeaveReadOnly()
  		{
  			return super.row.isReadOnly(0);
  		}
  		public void showcolLeaveOpened()
  		{
  			super.row.showOpened(0);
  		}
  		public void setTooltipForcolLeave(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public ims.framework.utils.Image getcolLeave()
  		{
  			return (ims.framework.utils.Image)super.row.get(0);
  		}
  		public void setcolLeave(ims.framework.utils.Image value)
  		{
  			super.row.set(0, value);
  		}
  		public void setCellcolLeaveTooltip(String value)
  		{
  			super.row.setTooltip(0, value);
  		}
  		public void setcolHospnumReadOnly(boolean value)
  		{
  			super.row.setReadOnly(1, value);
  		}
  		public boolean iscolHospnumReadOnly()
  		{
  			return super.row.isReadOnly(1);
  		}
  		public void showcolHospnumOpened()
  		{
  			super.row.showOpened(1);
  		}
  		public void setTooltipForcolHospnum(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public String getcolHospnum()
  		{
  			return (String)super.row.get(1);
  		}
  		public void setcolHospnum(String value)
  		{
  			super.row.set(1, value);
  		}
  		public void setCellcolHospnumTooltip(String value)
  		{
  			super.row.setTooltip(1, value);
  		}
  		public void setcolSurnameReadOnly(boolean value)
  		{
  			super.row.setReadOnly(2, value);
  		}
  		public boolean iscolSurnameReadOnly()
  		{
  			return super.row.isReadOnly(2);
  		}
  		public void showcolSurnameOpened()
  		{
  			super.row.showOpened(2);
  		}
  		public void setTooltipForcolSurname(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public String getcolSurname()
  		{
  			return (String)super.row.get(2);
  		}
  		public void setcolSurname(String value)
  		{
  			super.row.set(2, value);
  		}
  		public void setCellcolSurnameTooltip(String value)
  		{
  			super.row.setTooltip(2, value);
  		}
  		public void setcolForenameReadOnly(boolean value)
  		{
  			super.row.setReadOnly(3, value);
  		}
  		public boolean iscolForenameReadOnly()
  		{
  			return super.row.isReadOnly(3);
  		}
  		public void showcolForenameOpened()
  		{
  			super.row.showOpened(3);
  		}
  		public void setTooltipForcolForename(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public String getcolForename()
  		{
  			return (String)super.row.get(3);
  		}
  		public void setcolForename(String value)
  		{
  			super.row.set(3, value);
  		}
  		public void setCellcolForenameTooltip(String value)
  		{
  			super.row.setTooltip(3, value);
  		}
  		public void setcolSexReadOnly(boolean value)
  		{
  			super.row.setReadOnly(4, value);
  		}
  		public boolean iscolSexReadOnly()
  		{
  			return super.row.isReadOnly(4);
  		}
  		public void showcolSexOpened()
  		{
  			super.row.showOpened(4);
  		}
  		public void setTooltipForcolSex(String value)
  		{
  			super.row.setTooltip(4, value);
  		}
  		public String getcolSex()
  		{
  			return (String)super.row.get(4);
  		}
  		public void setcolSex(String value)
  		{
  			super.row.set(4, value);
  		}
  		public void setCellcolSexTooltip(String value)
  		{
  			super.row.setTooltip(4, value);
  		}
  		public void setColAgeReadOnly(boolean value)
  		{
  			super.row.setReadOnly(5, value);
  		}
  		public boolean isColAgeReadOnly()
  		{
  			return super.row.isReadOnly(5);
  		}
  		public void showColAgeOpened()
  		{
  			super.row.showOpened(5);
  		}
  		public void setTooltipForColAge(String value)
  		{
  			super.row.setTooltip(5, value);
  		}
  		public String getColAge()
  		{
  			return (String)super.row.get(5);
  		}
  		public void setColAge(String value)
  		{
  			super.row.set(5, value);
  		}
  		public void setCellColAgeTooltip(String value)
  		{
  			super.row.setTooltip(5, value);
  		}
  		public void setcolDobReadOnly(boolean value)
  		{
  			super.row.setReadOnly(6, value);
  		}
  		public boolean iscolDobReadOnly()
  		{
  			return super.row.isReadOnly(6);
  		}
  		public void showcolDobOpened()
  		{
  			super.row.showOpened(6);
  		}
  		public void setTooltipForcolDob(String value)
  		{
  			super.row.setTooltip(6, value);
  		}
  		public String getcolDob()
  		{
  			return (String)super.row.get(6);
  		}
  		public void setcolDob(String value)
  		{
  			super.row.set(6, value);
  		}
  		public void setCellcolDobTooltip(String value)
  		{
  			super.row.setTooltip(6, value);
  		}
  		public void setcolWardReadOnly(boolean value)
  		{
  			super.row.setReadOnly(7, value);
  		}
  		public boolean iscolWardReadOnly()
  		{
  			return super.row.isReadOnly(7);
  		}
  		public void showcolWardOpened()
  		{
  			super.row.showOpened(7);
  		}
  		public void setTooltipForcolWard(String value)
  		{
  			super.row.setTooltip(7, value);
  		}
  		public String getcolWard()
  		{
  			return (String)super.row.get(7);
  		}
  		public void setcolWard(String value)
  		{
  			super.row.set(7, value);
  		}
  		public void setCellcolWardTooltip(String value)
  		{
  			super.row.setTooltip(7, value);
  		}
  		public void setcolConsultantReadOnly(boolean value)
  		{
  			super.row.setReadOnly(8, value);
  		}
  		public boolean iscolConsultantReadOnly()
  		{
  			return super.row.isReadOnly(8);
  		}
  		public void showcolConsultantOpened()
  		{
  			super.row.showOpened(8);
  		}
  		public void setTooltipForcolConsultant(String value)
  		{
  			super.row.setTooltip(8, value);
  		}
  		public String getcolConsultant()
  		{
  			return (String)super.row.get(8);
  		}
  		public void setcolConsultant(String value)
  		{
  			super.row.set(8, value);
  		}
  		public void setCellcolConsultantTooltip(String value)
  		{
  			super.row.setTooltip(8, value);
  		}
  		public void setcolAdmissionDateReadOnly(boolean value)
  		{
  			super.row.setReadOnly(9, value);
  		}
  		public boolean iscolAdmissionDateReadOnly()
  		{
  			return super.row.isReadOnly(9);
  		}
  		public void showcolAdmissionDateOpened()
  		{
  			super.row.showOpened(9);
  		}
  		public void setTooltipForcolAdmissionDate(String value)
  		{
  			super.row.setTooltip(9, value);
  		}
  		public String getcolAdmissionDate()
  		{
  			return (String)super.row.get(9);
  		}
  		public void setcolAdmissionDate(String value)
  		{
  			super.row.set(9, value);
  		}
  		public void setCellcolAdmissionDateTooltip(String value)
  		{
  			super.row.setTooltip(9, value);
  		}
  		public void setcolDocStatusReadOnly(boolean value)
  		{
  			super.row.setReadOnly(10, value);
  		}
  		public boolean iscolDocStatusReadOnly()
  		{
  			return super.row.isReadOnly(10);
  		}
  		public void showcolDocStatusOpened()
  		{
  			super.row.showOpened(10);
  		}
  		public void setTooltipForcolDocStatus(String value)
  		{
  			super.row.setTooltip(10, value);
  		}
  		public ims.framework.utils.Image getcolDocStatus()
  		{
  			return (ims.framework.utils.Image)super.row.get(10);
  		}
  		public void setcolDocStatus(ims.framework.utils.Image value)
  		{
  			super.row.set(10, value);
  		}
  		public void setCellcolDocStatusTooltip(String value)
  		{
  			super.row.setTooltip(10, value);
  		}
  		public void setcolDischargedReadOnly(boolean value)
  		{
  			super.row.setReadOnly(11, value);
  		}
  		public boolean iscolDischargedReadOnly()
  		{
  			return super.row.isReadOnly(11);
  		}
  		public void showcolDischargedOpened()
  		{
  			super.row.showOpened(11);
  		}
  		public void setTooltipForcolDischarged(String value)
  		{
  			super.row.setTooltip(11, value);
  		}
  		public ims.framework.utils.Image getcolDischarged()
  		{
  			return (ims.framework.utils.Image)super.row.get(11);
  		}
  		public void setcolDischarged(ims.framework.utils.Image value)
  		{
  			super.row.set(11, value);
  		}
  		public void setCellcolDischargedTooltip(String value)
  		{
  			super.row.setTooltip(11, value);
  		}
  		public ims.vo.ValueObject getValue()
  		{
  			return (ims.vo.ValueObject)super.row.getValue();
  		}
  		public void setValue(ims.vo.ValueObject value)
  		{
  			super.row.setValue(value);
  		}
  	}
  	public static class grdInpatientsRowCollection extends GridRowCollectionBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		private grdInpatientsRowCollection(GridRowCollection collection)
  		{
  			super(collection);
  		}
  		public grdInpatientsRow get(int index)
  		{
  			return new grdInpatientsRow(super.collection.get(index));
  		}
  		public grdInpatientsRow newRow()
  		{
  			return new grdInpatientsRow(super.collection.newRow());
  		}
  		public grdInpatientsRow newRow(boolean autoSelect)
  		{
  			return new grdInpatientsRow(super.collection.newRow(autoSelect));
  		}
  		public grdInpatientsRow newRowAt(int index)
  		{
  