/*******************************************************************************
 *  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.AttenuationCorrectionMethods_CID3117;
import cdac.medinfo.sdk.dcm30_04.templates.cid.AttenuationCorrection_CID3112;
import cdac.medinfo.sdk.dcm30_04.templates.cid.LVFunction_CID3119;
import cdac.medinfo.sdk.dcm30_04.templates.cid.MyocardialWallSegments_CID3717;
import cdac.medinfo.sdk.dcm30_04.templates.cid.NuclearCardiologyRadiopharmaceuticals_CID3111;
import cdac.medinfo.sdk.dcm30_04.templates.cid.SMLSizeDescriptor_CID252;
import cdac.medinfo.sdk.dcm30_04.templates.cid.Severity_CID3716;
import cdac.medinfo.sdk.dcm30_04.templates.cid.TypesOfPerfusionDefects_CID3113;
import cdac.medinfo.sdk.dcm30_04.templates.cid.UnitsOfRadioactivity_CID3083;
import cdac.medinfo.sdk.dcm30_04.templates.cid.VentricularEnlargement_CID3122;
import cdac.medinfo.sdk.dcm30_04.templates.echocardiographyprocedurereport.WallMotionAnalysis_TID5204;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_AttenuationCorrection;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_AttenuationCorrectionMethods;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_LVFunction;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_MyocardialWallSegments;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_NMPETPerfusionMeasurementGroup;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_NuclearCardiologyRadiopharmaceuticals;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_SMLSizeDescriptor;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_Severity;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_TypesOfPerfusionDefects;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_UnitsOfRadioactivity;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_VentricularEnlargement;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_NMPETPerfusionMeasurementGroup;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Measurement_TID300;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Template;

/**
 * This class represents NMPETPerfusionMeasurementGroup_TID3307
 */
public class NMPETPerfusionMeasurementGroup_TID3307 extends Template
{
	
	/**
	 * Object of NuclearCardiologyRadiopharmaceuticals_CID3111
	 */
	private NuclearCardiologyRadiopharmaceuticals_CID3111 objNuclearCardiologyRadiopharmaceuticalsCID3111;
	
	/**
	 * Object of UnitsOfRadioactivity_CID3083
	 */
	private UnitsOfRadioactivity_CID3083 objUnitsOfRadioactivityCID3083;
	/**
	 * Object of AttenuationCorrection_CID3112
	 */
	private AttenuationCorrection_CID3112 objAttenuationCorrectionCID3112;
	/**
	 * Object of AttenuationCorrectionMethods_CID3117
	 */
	private AttenuationCorrectionMethods_CID3117 objAttenuationCorrectionMethodsCID3117;
	/**
	 * Object of TypesOfPerfusionDefects_CID3113
	 */
	private TypesOfPerfusionDefects_CID3113 objTypesOfPerfusionDefectsCID3113;
	/**
	 * Object of MyocardialWallSegments_CID3717
	 */
	private MyocardialWallSegments_CID3717 objMyocardialWallSegmentsCID3717;
	/**
	 * Object of S-M-LSizeDescriptor_CID252
	 */
	private SMLSizeDescriptor_CID252 objSMLSizeDescriptorCID252;
	
	/**
	 * Object of Severity_CID3716
	 */
	private Severity_CID3716 objSeverityCID3716;
	
	/**
	 * Object of LVFunction_CID3119
	 */
	private LVFunction_CID3119 objLVFunctionCID3119;
	/**
	 * Object of VentricularEnlargement_CID3122
	 */
	private VentricularEnlargement_CID3122 objVentricularEnlargementCID3122;
	
	/**
	 * Object of WallMotionAnalysis_TID5204
	 */
	private WallMotionAnalysis_TID5204 objWallMotionAnalysisTID5204;
	
	/**
	 * Object of Measurement_TID300
	 */
	private Measurement_TID300 objMeasurementTID300;
	
	/**
	 * Instantiates a new NMPETPerfusionMeasurementGroup_TID3307 Template.
	 * @param objTree Object of SRTree.
	 */
	public NMPETPerfusionMeasurementGroup_TID3307(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 Wall Motion Analysis.
	 * @return objWallMotionAnalysisTID5204 Object of WallMotionAnalysis_TID5204 
	 */
	public WallMotionAnalysis_TID5204 getWallMotionAnalysis()
	{
		if(null == this.objWallMotionAnalysisTID5204)
			this.objWallMotionAnalysisTID5204 = new WallMotionAnalysis_TID5204(getSRTree());
		return this.objWallMotionAnalysisTID5204;
	}
	
	/**
	 * Sets the value for Procedure reported.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setProcedureReported(int[] arrPosition)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.PROCEDURE_REPORTED.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.PROCEDURE_REPORTED_121058.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		
		/**
		 *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, strCSD, "", "", "","");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Radiopharmaceutical Start Time.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setRadiopharmaceuticalStartTime(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.RADIOPHARMACEUTICAL_START_TIME.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.RADIOPHARMACEUTICAL_START_TIME_123003.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 *Creating a node of Value Type DATETIME and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createDateTimeNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Exercise duration after stress agent injection.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 */
	public void setExerciseDurationAfterStressAgentInjection(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.EXERCISE_DURATION_AFTER_STRESS_AGENT_INJECTION.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.EXERCISE_DURATION_AFTER_STRESS_AGENT_INJECTION_122711.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 Imaging Start Time.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setImagingStartTime(int[] arrPosition)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.IMAGING_START_TIME.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.IMAGING_START_TIME_122712.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		
		/**
		 *Creating a node of Value Type DATETIME and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createDateTimeNode(arrPosition, strCodeMeaning, strCodeValue, strCSDesg, "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Radiopharmaceutical agent.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setRadiopharmaceuticalAgent(int[] arrPosition, EnumCM_NuclearCardiologyRadiopharmaceuticals enumNuclearCardiologyRadiopharmaceuticals)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.RADIOPHARMACEUTICAL_AGENT.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.RADIOPHARMACEUTICAL_AGENT_F_61FDB.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objNuclearCardiologyRadiopharmaceuticalsCID3111)
			this.objNuclearCardiologyRadiopharmaceuticalsCID3111 = new NuclearCardiologyRadiopharmaceuticals_CID3111();
		this.objNuclearCardiologyRadiopharmaceuticalsCID3111.setNuclearCardiologyRadiopharmaceuticals(enumNuclearCardiologyRadiopharmaceuticals);

		String strCM = objNuclearCardiologyRadiopharmaceuticalsCID3111.getCodeMeaning();
		String strCV = objNuclearCardiologyRadiopharmaceuticalsCID3111.getCodeValue();
		String strCSD = objNuclearCardiologyRadiopharmaceuticalsCID3111.getCodingSchemeDesignator();
		String strSNOMEDCTID = objNuclearCardiologyRadiopharmaceuticalsCID3111.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 Radionuclide Total Dose.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setRadionuclideTotalDose(int[] arrPosition, EnumCM_UnitsOfRadioactivity enumUnitsOfRadioactivity)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.RADIONUCILDE_TOTAL_DOSE.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.RADIONUCILDE_TOTAL_DOSE_123006.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objUnitsOfRadioactivityCID3083)
			this.objUnitsOfRadioactivityCID3083 = new UnitsOfRadioactivity_CID3083();
		this.objUnitsOfRadioactivityCID3083.setUnitsofRadioactivity(enumUnitsOfRadioactivity);

		String strCM = objUnitsOfRadioactivityCID3083.getCodeMeaning();
		String strCV = objUnitsOfRadioactivityCID3083.getCodeValue();
		String strCSD = objUnitsOfRadioactivityCID3083.getCodingSchemeDesignator();
		
		
		/**
		 *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,strCV, strCSDesg, strCM, strCSD,"");
		getSRTree().addChild(objContentSequenceItem);

	}
	
	/**
	 * Sets the value for Attenuation correction.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setAttenuationCorrection(int[] arrPosition, EnumCM_AttenuationCorrection enumAttenuationCorrection)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.ATTENUATION_CORRECTION.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.ATTENUATION_CORRECTION_122713.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objAttenuationCorrectionCID3112)
			this.objAttenuationCorrectionCID3112 = new AttenuationCorrection_CID3112();
		this.objAttenuationCorrectionCID3112.setAttenuationCorrection(enumAttenuationCorrection);

		String strCM = objAttenuationCorrectionCID3112.getCodeMeaning();
		String strCV = objAttenuationCorrectionCID3112.getCodeValue();
		String strCSD = objAttenuationCorrectionCID3112.getCodingSchemeDesignator();
		/**
		 *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,strCSD, strCSDesg, strCV, strCM,"");
		getSRTree().addChild(objContentSequenceItem);

	}
	
	/**
	 * Sets the value for Algorithm Name.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setAlgorithmName(int[] arrPosition, EnumCM_AttenuationCorrectionMethods enumAttenuationCorrectionMethods)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.ALGORITHM_NAME.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.ALGORITHM_NAME_111001.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objAttenuationCorrectionMethodsCID3117)
			this.objAttenuationCorrectionMethodsCID3117 = new AttenuationCorrectionMethods_CID3117();
		this.objAttenuationCorrectionMethodsCID3117.setAttenuationCorrectionMethods(enumAttenuationCorrectionMethods);

		String strCM = objAttenuationCorrectionMethodsCID3117.getCodeMeaning();
		String strCV = objAttenuationCorrectionMethodsCID3117.getCodeValue();
		String strCSD = objAttenuationCorrectionMethodsCID3117.getCodingSchemeDesignator();
		
		/**
		 *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,strCV, strCSDesg, strCM,strCSD,"");
		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_TypesOfPerfusionDefects enumTypesOfPerfusionDefects)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.FINDING.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.FINDING_121071.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objTypesOfPerfusionDefectsCID3113)
			this.objTypesOfPerfusionDefectsCID3113 = new TypesOfPerfusionDefects_CID3113();
		this.objTypesOfPerfusionDefectsCID3113.setTypesofPerfusionDefects(enumTypesOfPerfusionDefects);

		String strCM = objTypesOfPerfusionDefectsCID3113.getCodeMeaning();
		String strCV = objTypesOfPerfusionDefectsCID3113.getCodeValue();
		String strCSD = objTypesOfPerfusionDefectsCID3113.getCodingSchemeDesignator();
		String strSNOMEDCTID = objTypesOfPerfusionDefectsCID3113.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,strSNOMEDCTID, strCSDesg, strCSD,strCV,strCM);
		getSRTree().addChild(objContentSequenceItem);

	}
	
	/**
	 * Sets the value for Finding Site.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setFindingSite(int[] arrPosition, EnumCM_MyocardialWallSegments enumMyocardialWallSegments)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.FINDING_SITE.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.FINDING_SITE_G_C0E3.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objMyocardialWallSegmentsCID3717)
			this.objMyocardialWallSegmentsCID3717 = new MyocardialWallSegments_CID3717();
		this.objMyocardialWallSegmentsCID3717.setMyocardialWallSegments(enumMyocardialWallSegments);

		String strCM = objMyocardialWallSegmentsCID3717.getCodeMeaning();
		String strCV = objMyocardialWallSegmentsCID3717.getCodeValue();
		String strCSD = objMyocardialWallSegmentsCID3717.getCodingSchemeDesignator();
		String strSNOMEDCTID = objMyocardialWallSegmentsCID3717.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,strCSD, strCSDesg, strSNOMEDCTID, strCM,strCV);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Size Descriptor.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setSizeDescriptor(int[] arrPosition, EnumCM_SMLSizeDescriptor enumSMLSizeDescriptor)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.SIZE_DESCRIPTOR.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.SIZE_DESCRIPTOR_112025.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objSMLSizeDescriptorCID252)
			this.objSMLSizeDescriptorCID252 = new SMLSizeDescriptor_CID252();
		this.objSMLSizeDescriptorCID252.setSMLSizeDescriptor(enumSMLSizeDescriptor);

		String strCM = objSMLSizeDescriptorCID252.getCodeMeaning();
		String strCV = objSMLSizeDescriptorCID252.getCodeValue();
		String strCSD = objSMLSizeDescriptorCID252.getCodingSchemeDesignator();
		String strSNOMEDCTID = objSMLSizeDescriptorCID252.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,strCSD, strCSDesg,strCV, strCM,strSNOMEDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	
	/**
	 * Sets the value for Left Ventricular Function.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setLeftVentricularFunction(int[] arrPosition, EnumCM_LVFunction enumLVFunction)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.LEFT_VENTRICULAR_FUNCTION.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.LEFT_VENTRICULAR_FUNCTION_F_02220.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objLVFunctionCID3119)
			this.objLVFunctionCID3119 = new LVFunction_CID3119();
		this.objLVFunctionCID3119.setLVFunction(enumLVFunction);

		String strCM = objLVFunctionCID3119.getCodeMeaning();
		String strCV = objLVFunctionCID3119.getCodeValue();
		String strCSD = objLVFunctionCID3119.getCodingSchemeDesignator();
		String strSNOMEDCTID = objLVFunctionCID3119.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 Severity.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setSeverity(int[] arrPosition, EnumCM_Severity enumSeverity)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.SEVERITY.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.SEVERITY_G_C197.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objSeverityCID3716)
			this.objSeverityCID3716 = new Severity_CID3716();
		this.objSeverityCID3716.setSeverity(enumSeverity);

		String strCM = objSeverityCID3716.getCodeMeaning();
		String strCV = objSeverityCID3716.getCodeValue();
		String strCSD = objSeverityCID3716.getCodingSchemeDesignator();
		String strSNOMEDCTID = objSeverityCID3716.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, strSNOMEDCTID, strCSDesg, strCSD, strCM,strCV);
		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_NMPETPerfusionMeasurementGroup.FINDINGS.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.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 Left Ventricular Size.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setLeftVentricularSize(int[] arrPosition,EnumCM_VentricularEnlargement enumVentricularEnlargement)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_NMPETPerfusionMeasurementGroup.LEFT_VENTRICULAR_FUNCTION.getValue();
		String strCodeValue = EnumCV_NMPETPerfusionMeasurementGroup.LEFT_VENTRICULAR_FUNCTION_F_02220.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		if(null== this.objVentricularEnlargementCID3122)
			this.objVentricularEnlargementCID3122 = new VentricularEnlargement_CID3122();
		this.objVentricularEnlargementCID3122.setVentricularEnlargement(enumVentricularEnlargement);

		String strCM = objVentricularEnlargementCID3122.getCodeMeaning();
		String strCV = objVentricularEnlargementCID3122.getCodeValue();
		String strCSD = objVentricularEnlargementCID3122.getCodingSchemeDesignator();
		String strSNOMEDCTID = objVentricularEnlargementCID3122.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,strSNOMEDCTID, strCSDesg, strCM, strCSD,strCV);
		getSRTree().addChild(objContentSequenceItem);
		
	}

}
