gt: 			IReportField[] fields = new IReportField[78];
context: //#############################################################################
  //#                                                                           #
  //#  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.forms.vitalsignspulse;
  
  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 grpShowByRadioButton extends RadioButtonBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		protected void setContext(Integer startTabIndex, ims.framework.utils.SizeInfo designSize, ims.framework.utils.SizeInfo runtimeSize)
  		{
  			if(startTabIndex == null)
  				throw new RuntimeException("Invalid startTabIndex ");
  			RuntimeAnchoring anchoringHelper1 = new RuntimeAnchoring(designSize, runtimeSize, 24, 472, 64, 16, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  			control.addButton(0, anchoringHelper1.getX(), anchoringHelper1.getY(), anchoringHelper1.getWidth(), "By Day", startTabIndex.intValue() + 1);
  			RuntimeAnchoring anchoringHelper2 = new RuntimeAnchoring(designSize, runtimeSize, 24, 520, 72, 16, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  			control.addButton(1, anchoringHelper2.getX(), anchoringHelper2.getY(), anchoringHelper2.getWidth(), "By Dates", startTabIndex.intValue() + 4);
  		}
  		public void setText(grpShowByEnumeration option, String value)
  		{
  			if(option != null && option.id >= 0 && value != null)
  				control.setText(option.id, value);
  		}
  		public grpShowByEnumeration getValue()
  		{
  			switch (super.control.getValue())
  			{
  				case -1: return grpShowByEnumeration.None;
  				case 0: return grpShowByEnumeration.rdoPulseByDay;
  				case 1: return grpShowByEnumeration.rdoPulseByDates;
  			}
  			return null;
  		}
  		public void setValue(grpShowByEnumeration value)
  		{
  			if(value != null)
  				super.control.setValue(value.id);
  			else
  				super.control.setValue(grpShowByEnumeration.None.id);
  		}
  		public boolean isEnabled(grpShowByEnumeration option)
  		{
  			return super.control.isEnabled(option.id);
  		}
  		public void setEnabled(grpShowByEnumeration option, boolean value)
  		{
  			super.control.setEnabled(option.id, value);
  		}
  		public boolean isVisible(grpShowByEnumeration option)
  		{
  			return super.control.isVisible(option.id);
  		}
  		public void setVisible(grpShowByEnumeration option, boolean value)
  		{
  			super.control.setVisible(option.id, value);
  		}
  		public void setVisible(boolean value)
  		{
  			super.control.setVisible(value);
  		}
  		public void setEnabled(boolean value)
  		{
  			super.control.setEnabled(value);
  		}
  	}
  	public static class grpShowByEnumeration implements java.io.Serializable
  	{
  		private static final long serialVersionUID = 1L;
  		public static grpShowByEnumeration None = new grpShowByEnumeration(-1);
  		public static grpShowByEnumeration rdoPulseByDay = new grpShowByEnumeration(0);
  		public static grpShowByEnumeration rdoPulseByDates = new grpShowByEnumeration(1);
  		private grpShowByEnumeration(int id)
  		{
  			this.id = id;
  		}
  		public boolean equals(Object o)
  		{
  			return this.id == ((grpShowByEnumeration)o).id;
  		}
  		private int id;
  	}
  	private void validateContext(ims.framework.Context context)
  	{
  		if(context == null)
  			return;
  		if(!context.isValidContextType(ims.core.vo.CareContextShortVo.class))
  			throw new ims.framework.exceptions.CodingRuntimeException("The type 'ims.core.vo.CareContextShortVo' of the global context variable 'Core.CurrentCareContext' is not supported.");
  		if(!context.isValidContextType(ims.core.vo.PatientShort.class))
  			throw new ims.framework.exceptions.CodingRuntimeException("The type 'ims.core.vo.PatientShort' of the global context variable 'Core.PatientShort' is not supported.");
  		if(!context.isValidContextType(ims.core.vo.ClinicalContactShortVo.class))
  			throw new ims.framework.exceptions.CodingRuntimeException("The type 'ims.core.vo.ClinicalContactShortVo' of the global context variable 'Core.CurrentClinicalContact' is not supported.");
  	}
  	private void validateMandatoryContext(Context context)
  	{
  		if(new ims.framework.ContextVariable("Core.CurrentCareContext", "_cvp_Core.CurrentCareContext").getValueIsNull(context))
  			throw new ims.framework.exceptions.FormMandatoryContextMissingException("The required context data 'Core.CurrentCareContext' is not available.");
  	}
  	public boolean supportsRecordedInError()
  	{
  		return false;
  	}
  	public ims.vo.ValueObject getRecordedInErrorVo()
  	{
  		return null;
  	}
  	protected void setContext(FormLoader loader, Form form, ims.framework.interfaces.IAppForm appForm, UIFactory factory, Context context) throws Exception
  	{
  		setContext(loader, form, appForm, factory, context, Boolean.FALSE, new Integer(0), null, null, new Integer(0));
  	}
  	protected void setContext(FormLoader loader, Form form, ims.framework.interfaces.IAppForm appForm, UIFactory factory, Context context, Boolean skipContextValidation) throws Exception
  	{
  		setContext(loader, form, appForm, factory, context, skipContextValidation, new Integer(0), null, null, new Integer(0));
  	}
  	protected void setContext(FormLoader loader, Form form, ims.framework.interfaces.IAppForm appForm, UIFactory factory, ims.framework.Context context, Boolean skipContextValidation, Integer startControlID, ims.framework.utils.SizeInfo runtimeSize, ims.framework.Control control, Integer startTabIndex) throws Exception
  	{
  		if(loader == null); // this is to avoid eclipse warning only.
  		if(factory == null); // this is to avoid eclipse warning only.
  		if(runtimeSize == null); // this is to avoid eclipse warning only.
  		if(appForm == null)
  			throw new RuntimeException("Invalid application form");
  		if(startControlID == null)
  			throw new RuntimeException("Invalid startControlID");
  		if(control == null); // this is to avoid eclipse warning only.
  		if(startTabIndex == null)
  			throw new RuntimeException("Invalid startTabIndex");
  		this.context = context;
  		this.componentIdentifier = startControlID.toString();
  		this.formInfo = form.getFormInfo();
  		this.globalContext = new GlobalContext(context);
  	
  		if(skipContextValidation == null || !skipContextValidation.booleanValue())
  		{
  			validateContext(context);
  			validateMandatoryContext(context);
  		}
  	
  		super.setContext(form);
  
  		ims.framework.utils.SizeInfo designSize = new ims.framework.utils.SizeInfo(848, 632);
  		if(runtimeSize == null)
  			runtimeSize = designSize;
  		form.setWidth(runtimeSize.getWidth());
  		form.setHeight(runtimeSize.getHeight());
  		super.setFormReferences(FormReferencesFlyweightFactory.getInstance().create(Forms.class));
  		super.setGlobalContext(ContextBridgeFlyweightFactory.getInstance().create(GlobalContextBridge.class, context, false));
  		super.setLocalContext(new LocalContext(context, form.getFormInfo(), componentIdentifier));
  
  
  		// Panel Controls
  		RuntimeAnchoring anchoringHelper3 = new RuntimeAnchoring(designSize, runtimeSize, 16, 440, 360, 152, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Panel.class, new Object[] { control, new Integer(startControlID.intValue() + 1000), new Integer(anchoringHelper3.getX()), new Integer(anchoringHelper3.getY()), new Integer(anchoringHelper3.getWidth()), new Integer(anchoringHelper3.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,"Show criteria", new Integer(2), ""}));
  		RuntimeAnchoring anchoringHelper4 = new RuntimeAnchoring(designSize, runtimeSize, 392, 440, 440, 152, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFTRIGHT);
  		super.addControl(factory.getControl(Panel.class, new Object[] { control, new Integer(startControlID.intValue() + 1001), new Integer(anchoringHelper4.getX()), new Integer(anchoringHelper4.getY()), new Integer(anchoringHelper4.getWidth()), new Integer(anchoringHelper4.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFTRIGHT,"Details", new Integer(2), ""}));
  		RuntimeAnchoring anchoringHelper5 = new RuntimeAnchoring(designSize, runtimeSize, 8, 0, 832, 32, ims.framework.enumerations.ControlAnchoring.TOPLEFTRIGHT);
  		super.addControl(factory.getControl(Panel.class, new Object[] { control, new Integer(startControlID.intValue() + 1002), new Integer(anchoringHelper5.getX()), new Integer(anchoringHelper5.getY()), new Integer(anchoringHelper5.getWidth()), new Integer(anchoringHelper5.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.TOPLEFTRIGHT,"Pulse", new Integer(1), ""}));
  
  		// Label Controls
  		RuntimeAnchoring anchoringHelper6 = new RuntimeAnchoring(designSize, runtimeSize, 104, 520, 35, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1003), new Integer(anchoringHelper6.getX()), new Integer(anchoringHelper6.getY()), new Integer(anchoringHelper6.getWidth()), new Integer(anchoringHelper6.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "from:", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper7 = new RuntimeAnchoring(designSize, runtimeSize, 248, 520, 20, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1004), new Integer(anchoringHelper7.getX()), new Integer(anchoringHelper7.getY()), new Integer(anchoringHelper7.getWidth()), new Integer(anchoringHelper7.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "to:", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper8 = new RuntimeAnchoring(designSize, runtimeSize, 416, 544, 101, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1005), new Integer(anchoringHelper8.getX()), new Integer(anchoringHelper8.getY()), new Integer(anchoringHelper8.getWidth()), new Integer(anchoringHelper8.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Apex Pulse Rate:", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper9 = new RuntimeAnchoring(designSize, runtimeSize, 416, 496, 92, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1006), new Integer(anchoringHelper9.getX()), new Integer(anchoringHelper9.getY()), new Integer(anchoringHelper9.getWidth()), new Integer(anchoringHelper9.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Authoring HCP:", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper10 = new RuntimeAnchoring(designSize, runtimeSize, 416, 472, 107, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1007), new Integer(anchoringHelper10.getX()), new Integer(anchoringHelper10.getY()), new Integer(anchoringHelper10.getWidth()), new Integer(anchoringHelper10.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Date/Time Taken:", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper11 = new RuntimeAnchoring(designSize, runtimeSize, 544, 568, 90, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1008), new Integer(anchoringHelper11.getX()), new Integer(anchoringHelper11.getY()), new Integer(anchoringHelper11.getWidth()), new Integer(anchoringHelper11.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Irregular Pulse", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper12 = new RuntimeAnchoring(designSize, runtimeSize, 416, 520, 108, 17, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1009), new Integer(anchoringHelper12.getX()), new Integer(anchoringHelper12.getY()), new Integer(anchoringHelper12.getWidth()), new Integer(anchoringHelper12.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Radial Pulse Rate:", new Integer(1), null, new Integer(0)}));
  		RuntimeAnchoring anchoringHelper13 = new RuntimeAnchoring(designSize, runtimeSize, 16, 32, 35, 17, ims.framework.enumerations.ControlAnchoring.TOPLEFT);
  		super.addControl(factory.getControl(Label.class, new Object[] { control, new Integer(startControlID.intValue() + 1010), new Integer(anchoringHelper13.getX()), new Integer(anchoringHelper13.getY()), new Integer(anchoringHelper13.getWidth()), new Integer(anchoringHelper13.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.TOPLEFT, "Pulse", new Integer(1), null, new Integer(0)}));
  
  		// Button Controls
  		RuntimeAnchoring anchoringHelper14 = new RuntimeAnchoring(designSize, runtimeSize, 304, 560, 64, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1011), new Integer(anchoringHelper14.getX()), new Integer(anchoringHelper14.getY()), new Integer(anchoringHelper14.getWidth()), new Integer(anchoringHelper14.getHeight()), new Integer(startTabIndex.intValue() + 9), ControlState.ENABLED, ControlState.DISABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "View", Boolean.FALSE, null, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  		RuntimeAnchoring anchoringHelper15 = new RuntimeAnchoring(designSize, runtimeSize, 24, 560, 64, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1012), new Integer(anchoringHelper15.getX()), new Integer(anchoringHelper15.getY()), new Integer(anchoringHelper15.getWidth()), new Integer(anchoringHelper15.getHeight()), new Integer(-1), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "<< Prev", Boolean.FALSE, null, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  		RuntimeAnchoring anchoringHelper16 = new RuntimeAnchoring(designSize, runtimeSize, 96, 560, 64, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1013), new Integer(anchoringHelper16.getX()), new Integer(anchoringHelper16.getY()), new Integer(anchoringHelper16.getWidth()), new Integer(anchoringHelper16.getHeight()), new Integer(-1), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Next >>", Boolean.FALSE, null, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  		RuntimeAnchoring anchoringHelper17 = new RuntimeAnchoring(designSize, runtimeSize, 96, 600, 75, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1014), new Integer(anchoringHelper17.getX()), new Integer(anchoringHelper17.getY()), new Integer(anchoringHelper17.getWidth()), new Integer(anchoringHelper17.getHeight()), new Integer(startTabIndex.intValue() + 22), ControlState.HIDDEN, ControlState.HIDDEN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Print", Boolean.FALSE, null, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  		RuntimeAnchoring anchoringHelper18 = new RuntimeAnchoring(designSize, runtimeSize, 678, 600, 75, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMRIGHT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1015), new Integer(anchoringHelper18.getX()), new Integer(anchoringHelper18.getY()), new Integer(anchoringHelper18.getWidth()), new Integer(anchoringHelper18.getHeight()), new Integer(-1), ControlState.HIDDEN, ControlState.ENABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMRIGHT, "Save", Boolean.TRUE, null, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  		RuntimeAnchoring anchoringHelper19 = new RuntimeAnchoring(designSize, runtimeSize, 757, 600, 75, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMRIGHT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1016), new Integer(anchoringHelper19.getX()), new Integer(anchoringHelper19.getY()), new Integer(anchoringHelper19.getWidth()), new Integer(anchoringHelper19.getHeight()), new Integer(-1), ControlState.HIDDEN, ControlState.ENABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMRIGHT, "Cancel", Boolean.FALSE, null, Boolean.FALSE, Boolean.FALSE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  		RuntimeAnchoring anchoringHelper20 = new RuntimeAnchoring(designSize, runtimeSize, 16, 600, 75, 23, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(Button.class, new Object[] { control, new Integer(startControlID.intValue() + 1017), new Integer(anchoringHelper20.getX()), new Integer(anchoringHelper20.getY()), new Integer(anchoringHelper20.getWidth()), new Integer(anchoringHelper20.getHeight()), new Integer(-1), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT, "Edit", Boolean.TRUE, null, Boolean.FALSE, Boolean.TRUE, Boolean.FALSE, null, ims.framework.utils.Color.Default, ims.framework.utils.Color.Default }));
  
  		// TextBox Controls
  		RuntimeAnchoring anchoringHelper21 = new RuntimeAnchoring(designSize, runtimeSize, 520, 496, 160, 21, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(TextBox.class, new Object[] { control, new Integer(startControlID.intValue() + 1018), new Integer(anchoringHelper21.getX()), new Integer(anchoringHelper21.getY()), new Integer(anchoringHelper21.getWidth()), new Integer(anchoringHelper21.getHeight()), new Integer(startTabIndex.intValue() + 17), ControlState.DISABLED, ControlState.DISABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.FALSE, new Integer(0), Boolean.TRUE, Boolean.FALSE, null, null, Boolean.FALSE, ims.framework.enumerations.CharacterCasing.NORMAL, ims.framework.enumerations.TextTrimming.NONE, "", ""}));
  
  		// Date Controls
  		RuntimeAnchoring anchoringHelper22 = new RuntimeAnchoring(designSize, runtimeSize, 272, 472, 96, 20, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(DateControl.class, new Object[] { control, new Integer(startControlID.intValue() + 1019), new Integer(anchoringHelper22.getX()), new Integer(anchoringHelper22.getY()), new Integer(anchoringHelper22.getWidth()), new Integer(anchoringHelper22.getHeight()), new Integer(startTabIndex.intValue() + 2), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, null, Boolean.FALSE, null, Boolean.FALSE, null}));
  		RuntimeAnchoring anchoringHelper23 = new RuntimeAnchoring(designSize, runtimeSize, 144, 520, 96, 20, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(DateControl.class, new Object[] { control, new Integer(startControlID.intValue() + 1020), new Integer(anchoringHelper23.getX()), new Integer(anchoringHelper23.getY()), new Integer(anchoringHelper23.getWidth()), new Integer(anchoringHelper23.getHeight()), new Integer(startTabIndex.intValue() + 6), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, null, Boolean.FALSE, null, Boolean.FALSE, null}));
  		RuntimeAnchoring anchoringHelper24 = new RuntimeAnchoring(designSize, runtimeSize, 272, 520, 96, 20, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(DateControl.class, new Object[] { control, new Integer(startControlID.intValue() + 1021), new Integer(anchoringHelper24.getX()), new Integer(anchoringHelper24.getY()), new Integer(anchoringHelper24.getWidth()), new Integer(anchoringHelper24.getHeight()), new Integer(startTabIndex.intValue() + 8), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, null, Boolean.FALSE, null, Boolean.FALSE, null}));
  		RuntimeAnchoring anchoringHelper25 = new RuntimeAnchoring(designSize, runtimeSize, 520, 472, 104, 20, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(DateControl.class, new Object[] { control, new Integer(startControlID.intValue() + 1022), new Integer(anchoringHelper25.getX()), new Integer(anchoringHelper25.getY()), new Integer(anchoringHelper25.getWidth()), new Integer(anchoringHelper25.getHeight()), new Integer(startTabIndex.intValue() + 15), ControlState.DISABLED, ControlState.DISABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, null, Boolean.FALSE, null, Boolean.FALSE, null}));
  
  		// CheckBox Controls
  		RuntimeAnchoring anchoringHelper26 = new RuntimeAnchoring(designSize, runtimeSize, 728, 424, 104, 16, ims.framework.enumerations.ControlAnchoring.BOTTOMRIGHT);
  		super.addControl(factory.getControl(CheckBox.class, new Object[] { control, new Integer(startControlID.intValue() + 1023), new Integer(anchoringHelper26.getX()), new Integer(anchoringHelper26.getY()), new Integer(anchoringHelper26.getWidth()), new Integer(anchoringHelper26.getHeight()), new Integer(startTabIndex.intValue() + 13), ControlState.UNKNOWN, ControlState.UNKNOWN,ims.framework.enumerations.ControlAnchoring.BOTTOMRIGHT ,"Display legend", Boolean.TRUE, null}));
  		RuntimeAnchoring anchoringHelper27 = new RuntimeAnchoring(designSize, runtimeSize, 520, 568, 16, 16, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(CheckBox.class, new Object[] { control, new Integer(startControlID.intValue() + 1024), new Integer(anchoringHelper27.getX()), new Integer(anchoringHelper27.getY()), new Integer(anchoringHelper27.getWidth()), new Integer(anchoringHelper27.getHeight()), new Integer(startTabIndex.intValue() + 12), ControlState.DISABLED, ControlState.ENABLED,ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT ,"", Boolean.FALSE, null}));
  
  		// Time Controls
  		RuntimeAnchoring anchoringHelper28 = new RuntimeAnchoring(designSize, runtimeSize, 632, 472, 48, 21, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(TimeControl.class, new Object[] { control, new Integer(startControlID.intValue() + 1025), new Integer(anchoringHelper28.getX()), new Integer(anchoringHelper28.getY()), new Integer(anchoringHelper28.getWidth()), new Integer(anchoringHelper28.getHeight()), new Integer(startTabIndex.intValue() + 16), ControlState.DISABLED, ControlState.DISABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, Boolean.FALSE, null, Boolean.FALSE, ""}));
  
  		// IntBox Controls
  		RuntimeAnchoring anchoringHelper29 = new RuntimeAnchoring(designSize, runtimeSize, 520, 544, 160, 21, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(IntBox.class, new Object[] { control, new Integer(startControlID.intValue() + 1026), new Integer(anchoringHelper29.getX()), new Integer(anchoringHelper29.getY()), new Integer(anchoringHelper29.getWidth()), new Integer(anchoringHelper29.getHeight()), new Integer(startTabIndex.intValue() + 11), ControlState.DISABLED, ControlState.ENABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, Boolean.TRUE, Boolean.FALSE, null, null, Boolean.FALSE, new Integer(9)}));
  		RuntimeAnchoring anchoringHelper30 = new RuntimeAnchoring(designSize, runtimeSize, 520, 520, 160, 21, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(IntBox.class, new Object[] { control, new Integer(startControlID.intValue() + 1027), new Integer(anchoringHelper30.getX()), new Integer(anchoringHelper30.getY()), new Integer(anchoringHelper30.getWidth()), new Integer(anchoringHelper30.getHeight()), new Integer(startTabIndex.intValue() + 10), ControlState.DISABLED, ControlState.ENABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE, Boolean.TRUE, Boolean.FALSE, null, null, Boolean.FALSE, new Integer(9)}));
  
  		// RadioButton Controls
  		RadioButton tmpgrpShowBy = (RadioButton)factory.getControl(RadioButton.class, new Object[] { control, new Integer(startControlID.intValue() + 1028), new Integer(0), ControlState.ENABLED, ControlState.DISABLED, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,Boolean.TRUE});
  		super.addControl(tmpgrpShowBy);
  		grpShowByRadioButton grpShowBy = (grpShowByRadioButton)RadioButtonBridgeFlyweightFactory.getInstance().createRadioButtonBridge(grpShowByRadioButton.class, tmpgrpShowBy);
  		grpShowBy.setContext(startTabIndex, designSize, runtimeSize);
  		super.addRadioButton(grpShowBy);
  
  		// Link Controls
  		RuntimeAnchoring anchoringHelper31 = new RuntimeAnchoring(designSize, runtimeSize, 664, 8, 128, 17, ims.framework.enumerations.ControlAnchoring.TOPRIGHT);
  		super.addControl(factory.getControl(Link.class, new Object[] { control, new Integer(startControlID.intValue() + 1029), new Integer(anchoringHelper31.getX()), new Integer(anchoringHelper31.getY()), new Integer(anchoringHelper31.getWidth()), new Integer(anchoringHelper31.getHeight()), new Integer(startTabIndex.intValue() + 3), ControlState.ENABLED, ControlState.HIDDEN, ims.framework.enumerations.ControlAnchoring.TOPRIGHT,"Return to Previous Form", Boolean.FALSE, null}));
  
  		// Horizontal Line Controls
  		RuntimeAnchoring anchoringHelper32 = new RuntimeAnchoring(designSize, runtimeSize, 24, 504, 348, 8, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT);
  		super.addControl(factory.getControl(HorizontalLine.class, new Object[] { control, new Integer(startControlID.intValue() + 1030), new Integer(anchoringHelper32.getX()), new Integer(anchoringHelper32.getY()), new Integer(anchoringHelper32.getWidth()), new Integer(anchoringHelper32.getHeight()), ControlState.UNKNOWN, ControlState.UNKNOWN, ims.framework.enumerations.ControlAnchoring.BOTTOMLEFT,new Integer(0)}));
  
  		// Graphing Controls
  		RuntimeAnchoring anchoringHelper33 = new RuntimeAnchoring(designSize, runtimeSize, 16, 48, 816, 368, ims.framework.enumerations.ControlAnchoring.ALL);
  		super.addControl(factory.getControl(GraphingControl.class, new Object[] { control, new Integer(startControlID.intValue() + 1031), new Integer(anchoringHelper33.getX()), new Integer(anchoringHelper33.getY()), new Integer(anchoringHelper33.getWidth()), new Integer(anchoringHelper33.getHeight()), new Integer(startTabIndex.intValue() + 23), ControlState.ENABLED, ControlState.DISABLED,ims.framework.enumerations.ControlAnchoring.ALL ,"", "", new Float(0), new Float(300), new Integer(30), new Integer(6), "Date &Time", "Pulse (beats/min)", new Boolean(false), new Boolean(false)}));
  	}
  
  
  
  	public Forms getForms()
  	{
  		return (Forms)super.getFormReferences();
  	}
  	public Label lblPulse()
  	{
  		return (Label)super.getControl(10);
  	}
  	public Button btnView()
  	{
  		return (Button)super.getControl(11);
  	}
  	public Button btnPrev()
  	{
  		return (Button)super.getControl(12);
  	}
  	public Button btnNext()
  	{
  		return (Button)super.getControl(13);
  	}
  	public Button btnPrint()
  	{
  		return (Button)super.getControl(14);
  	}
  	public Button btnSave()
  	{
  		return (Button)super.getControl(15);
  	}
  	public Button btnCancel()
  	{
  		return (Button)super.getControl(16);
  	}
  	public Button btnUpdate()
  	{
  		return (Button)super.getControl(17);
  	}
  	public TextBox txtHCP()
  	{
  		return (TextBox)super.getControl(18);
  	}
  	public DateControl dteShowByDay()
  	{
  		return (DateControl)super.getControl(19);
  	}
  	public DateControl dteFrom()
  	{
  		return (DateControl)super.getControl(20);
  	}
  	public DateControl dteTo()
  	{
  		return (DateControl)super.getControl(21);
  	}
  	public DateControl dteTaken()
  	{
  		return (DateControl)super.getControl(22);
  	}
  	public CheckBox chkLegend()
  	{
  		return (CheckBox)super.getControl(23);
  	}
  	public CheckBox chkIrregularPulse()
  	{
  		return (CheckBox)super.getControl(24);
  	}
  	public TimeControl timTaken()
  	{
  		return (TimeControl)super.getControl(25);
  	}
  	public IntBox intPulseApex()
  	{
  		return (IntBox)super.getControl(26);
  	}
  	public IntBox intPulseRadial()
  	{
  		return (IntBox)super.getControl(27);
  	}
  	public grpShowByRadioButton grpShowBy()
  	{
  		return (grpShowByRadioButton)super.getRadioButton(0);
  	}
  	public Link lnkReturn()
  	{
  		return (Link)super.getControl(29);
  	}
  	public GraphingControl grhPulse()
  	{
  		return (GraphingControl)super.getControl(31);
  	}
  
  	public static class Forms implements java.io.Serializable
  	{
  		private static final long serialVersionUID = 1L;
  		protected final class LocalFormName extends FormName
  		{
  			private static final long serialVersionUID = 1L;
  		
  			private LocalFormName(int name)
  			{
  				super(name);
  			}
  		}
  
  		private Forms()
  		{
  			Core = new CoreForms();
  		}
  		public final class CoreForms implements java.io.Serializable
  		{
  			private static final long serialVersionUID = 1L;
  			private CoreForms()
  			{
  				VitalSignsAll = new LocalFormName(102121);
  				VitalSignsBaselineAndAll = new LocalFormName(102341);
  				BaselineObservations = new LocalFormName(102316);
  				VitalSignsPulseForTriage = new LocalFormName(102388);
  			}
  			public final FormName VitalSignsAll;
  			public final FormName VitalSignsBaselineAndAll;
  			public final FormName BaselineObservations;
  			public final FormName VitalSignsPulseForTriage;
  		}
  
  		public CoreForms Core;
  	}
  
  	public GlobalContext getGlobalContext()
  	{
  		return this.globalContext;
  	}
  	public static class GlobalContextBridge extends ContextBridge
  	{
  		private static final long serialVersionUID = 1L;
  	}
  	public LocalContext getLocalContext()
  	{
  		return (LocalContext)super.getLocalCtx();
  	}
  	public class LocalContext extends ContextBridge
  	{
  		private static final long serialVersionUID = 1L;
  		
  		public LocalContext(Context context, ims.framework.FormInfo formInfo, String componentIdentifier)
  		{
  			super.setContext(context);
  			String prefix = formInfo.getLocalVariablesPrefix();
  			cxl_vitalSign = new ims.framework.ContextVariable("vitalSign", prefix + "_lv_Core.VitalSignsPulse.__internal_x_context__vitalSign_" + componentIdentifier + "");
  			cxl_Pulses = new ims.framework.ContextVariable("Pulses", prefix + "_lv_Core.VitalSignsPulse.__internal_x_context__Pulses_" + componentIdentifier + "");
  			cxl_CurrentIndex = new ims.framework.ContextVariable("CurrentIndex", prefix + "_lv_Core.VitalSignsPulse.__internal_x_context__CurrentIndex_" + componentIdentifier + "");
  		}
  		
  		public boolean getvitalSignIsNotNull()
  		{
  			return !cxl_vitalSign.getValueIsNull(context);
  		}
  		public ims.core.vo.VitalSignsVo getvitalSign()
  		{
  			return (ims.core.vo.VitalSignsVo)cxl_vitalSign.getValue(context);
  		}
  		public void setvitalSign(ims.core.vo.VitalSignsVo value)
  		{
  			cxl_vitalSign.setValue(context, value);
  		}
  		private ims.framework.ContextVariable cxl_vitalSign = null;
  		public boolean getPulsesIsNotNull()
  		{
  			return !cxl_Pulses.getValueIsNull(context);
  		}
  		public ims.core.vo.VitalSignsVoCollection getPulses()
  		{
  			return (ims.core.vo.VitalSignsVoCollection)cxl_Pulses.getValue(context);
  		}
  		public void setPulses(ims.core.vo.VitalSignsVoCollection value)
  		{
  			cxl_Pulses.setValue(context, value);
  		}
  		private ims.framework.ContextVariable cxl_Pulses = null;
  		public boolean getCurrentIndexIsNotNull()
  		{
  			return !cxl_CurrentIndex.getValueIsNull(context);
  		}
  		public Integer getCurrentIndex()
  		{
  			return (Integer)cxl_CurrentIndex.getValue(context);
  		}
  		public void setCurrentIndex(Integer value)
  		{
  			cxl_CurrentIndex.setValue(context, value);
  		}
  		private ims.framework.ContextVariable cxl_CurrentIndex = null;
  	}
  	private IReportField[] getFormReportFields()
  	{
  		if(this.context == null)
  			return null;
  		if(this.reportFields == null)
  			this.reportFields = new ReportFields(this.context, this.formInfo, this.componentIdentifier).getReportFields();
  		return this.reportFields;
  	}
  	private class ReportFields
  	{
  		public ReportFields(Context context, ims.framework.FormInfo formInfo, String componentIdentifier)
  		{
  			this.context = context;
  			this.formInfo = formInfo;
  			this.componentIdentifier = componentIdentifier;
  		}
  		public IReportField[] getReportFields()
  		{
  			String prefix = formInfo.getLocalVariablesPrefix();
  