/*******************************************************************************
 *  Copyright 2018 Centre for Development of Advanced Computing(C-DAC), Pune
 *  
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *   http://www.apache.org/licenses/LICENSE-2.0
 *  
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *******************************************************************************/
package cdac.medinfo.sdk.dcm30_04.templates.stresstestingreporttemplates;

import cdac.medinfo.sdk.dcm30_04.baselibs.ContentSequenceItem;
import cdac.medinfo.sdk.dcm30_04.enums.EnumContinuityOfContent;
import cdac.medinfo.sdk.dcm30_04.srtree.SRTree;
import cdac.medinfo.sdk.dcm30_04.templates.cid.ECGFindings_CID3230;
import cdac.medinfo.sdk.dcm30_04.templates.cid.EctopicBeatMorphology_CID3234;
import cdac.medinfo.sdk.dcm30_04.templates.cid.PressureUnits_CID3500;
import cdac.medinfo.sdk.dcm30_04.templates.cid.StressSymptoms_CID3220;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_ECGFindings;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_EctopicBeatMorphology;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_PressureUnits;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_StressSymptoms;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_StressTestMeasurementGroup;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_StressTestMeasurementGroup;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Measurement_TID300;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Template;
import cdac.medinfo.sdk.dcm30_04.templates.procedurelogiodtemplates.DrugsContrastAdministered_TID3106;

/**
 * This class represents StressTestMeasurementGroup_TID3304
 */
public class StressTestMeasurementGroup_TID3304 extends Template
{
	/**
	 * Object of ECGFindings_CID3230
	 */
	private ECGFindings_CID3230 objECGFindingsCID3230;
	
	/**
	 * Object of PressureUnits_CID3500
	 */
	private PressureUnits_CID3500 objPressureUnitsCID3500;
	
	/**
	 * Object of StressSymptoms_CID3220
	 */
	private StressSymptoms_CID3220 objStressSymptomsCID3220;
	
	/**
	 * Object of EctopicBeatMorphology_CID3234
	 */
	private EctopicBeatMorphology_CID3234 objEctopicBeatMorphologyCID3234;
	
	/**
	 * Object of DrugsContrastAdministered_TID3106
	 */
	private DrugsContrastAdministered_TID3106 objDrugsContrastAdministeredTID3106;
	
	/**
	 * Object of Measurement_TID300
	 */
	private Measurement_TID300 objMeasurementTID300;
	
	/**
	 * Instantiates a new StressTestMeasurementGroup_TID3304 Template.
	 * @param objTree Object of SRTree.
	 */
	public StressTestMeasurementGroup_TID3304(SRTree objTree)
	{
		super(objTree);
	}

	/**
	 * Retrieves Measurement.
	 * @return Measurement_TID300 Object of Measurement_TID300 
	 */
	public Measurement_TID300 getMeasurement()
	{
		if(null == this.objMeasurementTID300)
			this.objMeasurementTID300 = new Measurement_TID300(getSRTree());
		return this.objMeasurementTID300;
	}
	
	/**
	 * Retrieves Drugs Contrast Administered.
	 * @return objDrugsContrastAdministeredTID3106 Object of DrugsContrastAdministered_TID3106 
	 */
	public DrugsContrastAdministered_TID3106 getDrugsContrastAdministered()
	{
		if(null == this.objDrugsContrastAdministeredTID3106)
			this.objDrugsContrastAdministeredTID3106 = new DrugsContrastAdministered_TID3106(getSRTree());
		return this.objDrugsContrastAdministeredTID3106;
	}
	
	/**
	 * Sets the value for Systolic Blood Pressure.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setSystolicBloodPressure(int[] arrPosition, String[] arrNumericValue, EnumCM_PressureUnits enumPressureUnits)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.SYSTOLIC_BLOOD_PRESSURE.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.SYSTOLIC_BLOOD_PRESSURE_F_008EC.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objPressureUnitsCID3500)
			this.objPressureUnitsCID3500 = new PressureUnits_CID3500();
		this.objPressureUnitsCID3500.setPressureUnits(enumPressureUnits);

		String strCM = objPressureUnitsCID3500.getCodeMeaning();
		String strCV = objPressureUnitsCID3500.getCodeValue();
		String strCSD = objPressureUnitsCID3500.getCodingSchemeDesignator();
		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue,strCV, strCM, strCSDesg, "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Diastolic Blood Pressure.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setDiastolicBloodPressure(int[] arrPosition, String[] arrNumericValue, EnumCM_PressureUnits enumPressureUnits)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.DIASTOLIC_BLOOD_PRESSURE.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.DIASTOLIC_BLOOD_PRESSURE_F_008ED.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objPressureUnitsCID3500)
			this.objPressureUnitsCID3500 = new PressureUnits_CID3500();
		this.objPressureUnitsCID3500.setPressureUnits(enumPressureUnits);

		String strCM = objPressureUnitsCID3500.getCodeMeaning();
		String strCV = objPressureUnitsCID3500.getCodeValue();
		String strCSD = objPressureUnitsCID3500.getCodingSchemeDesignator();
		
		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue,strCV, strCM, strCSDesg, "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for DoubleProduct.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setDoubleProduct(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.DOUBLE_PRODUCT.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.DOUBLE_PRODUCT_122708.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Time since start of exam.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setTimeSinceStartOfExam(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.TIME_SINCE_START_OF_EXAM.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.TIME_SINCE_START_OF_EXAM_F_031F9.getValue();
		String strCSD = EnumCodingSchemeDesignator.SRT.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Time since start of stage.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setTimeSinceStartOfStage(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.TIME_SINCE_START_OF_STAGE.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.TIME_SINCE_START_OF_STAGE_122710.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Treadmill Speed.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setTreadmillSpeed(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.TREADMILL_SPEED.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.TREADMILL_SPEED_122702.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Treadmill gradient.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setTreadmillGradient(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.TREADMILL_GRADIENT.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.TREADMILL_GRADIENT_122703.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Ergometer power.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setErgometerPower(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.ERGOMETER_POWER.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.ERGOMETER_POWER_122704.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Activity workload.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setActivityWorkload(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.ACTIVITY_WORKLOAD.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.ACTIVITY_WORKLOAD_122709.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Pharmacological Stress Agent Dose Rate.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setPharmacologicalStressAgentDoseRate(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.PHARMACOLOGICAL_STRESS_AGENT_DOSE_RATE.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.PHARMACOLOGICAL_STRESS_AGENT_DOSE_RATE_122705.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Heart Rate.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setHeartRate(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.HEART_RATE.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.HEART_RATE_8867_4.getValue();
		String strCSD = EnumCodingSchemeDesignator.LN.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Number of Ectopic Beats.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setNumberOfEctopicBeats(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.NUMBER_OF_ECTOPIC_BEATS.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.NUMBER_OF_ECTOPIC_BEATS_122707.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Period of collection.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setPeriodOfCollection(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.PERIOD_OF_COLLECTION.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.PERIOD_OF_COLLECTION_R_40861.getValue();
		String strCSD = EnumCodingSchemeDesignator.SRT.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for RRIntervalForQTc.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setRRIntervalForQTc(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.RR_INTERVAL_FOR_QTC.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.RR_INTERVAL_FOR_QTC_2_16000.getValue();
		String strCSD = EnumCodingSchemeDesignator.MDC.getValue();

		/**
		 *Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Finding.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setFinding(int[] arrPosition, EnumCM_StressSymptoms enumStressSymptoms)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.FINDING.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.FINDING_121071.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objStressSymptomsCID3220)
			this.objStressSymptomsCID3220 = new StressSymptoms_CID3220();
		this.objStressSymptomsCID3220.setStressSymptoms(enumStressSymptoms);

		String strCM = objStressSymptomsCID3220.getCodeMeaning();
		String strCV = objStressSymptomsCID3220.getCodeValue();
		String strCSD = objStressSymptomsCID3220.getCodingSchemeDesignator();
		String strSNOMEDCTID = objStressSymptomsCID3220.getSNOMEDCTID();
		/**
		 *Creating a node of Value Type CODE and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createCodeNode(arrPosition, strCodeMeaning, strCodeValue,strCM, strCSDesg, strCV,strCSD,strSNOMEDCTID);
		getSRTree().addChild(objContentSequenceItem);

	}
	
	/**
	 * Sets the value for Associated Morphology.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setAssociatedMorphology(int[] arrPosition, EnumCM_EctopicBeatMorphology enumEctopicBeatMorphology)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.ASSOCIATED_MORPHOLOGY.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.ASSOCIATED_MORPHOLOGY_G_C504.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objEctopicBeatMorphologyCID3234)
			this.objEctopicBeatMorphologyCID3234 = new EctopicBeatMorphology_CID3234();
		this.objEctopicBeatMorphologyCID3234.setEctopicBeatMorphology(enumEctopicBeatMorphology);

		String strCM = objEctopicBeatMorphologyCID3234.getCodeMeaning();
		String strCV = objEctopicBeatMorphologyCID3234.getCodeValue();
		String strCSD = objEctopicBeatMorphologyCID3234.getCodingSchemeDesignator();
		String strSNOMEDCTID = objEctopicBeatMorphologyCID3234.getSNOMEDCTID();
		/**
		 *Creating a node of Value Type CODE and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createCodeNode(arrPosition, strCodeMeaning, strCodeValue,strCM, strCSDesg, strCV, strCSD,strSNOMEDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Findings.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumContinuityOfContent 
	 */
	public void setFindings(int[] arrPosition, EnumContinuityOfContent enumContinuityOfContent)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.FINDINGS.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.FINDINGS_121070.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
	
		/**
		 * Creating a node of Value Type CONTAINER and adding this node as root of a tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createContainer(arrPosition, strCodeMeaning, strCodeValue, strCSDesg, enumContinuityOfContent);
		getSRTree().addChild(objContentSequenceItem);

	}
	
	/**
	 * Sets the value for ECGFinding.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumContinuityOfContent 
	 */
	public void setECGFinding(int[] arrPosition, EnumCM_ECGFindings enumECGFindings)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.ECG_FINDING.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.ECG_FINDING_F_00033.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objECGFindingsCID3230)
			this.objECGFindingsCID3230 = new ECGFindings_CID3230();
		this.objECGFindingsCID3230.setECGFindings(enumECGFindings);

		String strCM = objECGFindingsCID3230.getCodeMeaning();
		String strCV = objECGFindingsCID3230.getCodeValue();
		String strCSD = objECGFindingsCID3230.getCodingSchemeDesignator();
		String strSNOMEDCTID = objECGFindingsCID3230.getSNOMEDCTID();
		/**
		 * Creating a node of Value Type CODE and adding this node as root of a tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createCodeNode(arrPosition, strCodeMeaning, strCodeValue, strCSDesg, strCM, strCV,strCSD,strSNOMEDCTID);
		getSRTree().addChild(objContentSequenceItem);

	}
	/**
	 * Sets the value for Comment.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setComment(int[] arrPosition)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_StressTestMeasurementGroup.COMMENT.getValue();
		String strCodeValue = EnumCV_StressTestMeasurementGroup.COMMENT_121106.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type TEXT and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createTextNode(arrPosition, strCodeMeaning, strCodeValue, strCSDesg, "");
		getSRTree().addChild(objContentSequenceItem);
		
	}

}
