/*******************************************************************************
 *  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.mammographycadsriodtemplates;

import cdac.medinfo.sdk.dcm30_04.baselibs.ContentSequenceItem;
import cdac.medinfo.sdk.dcm30_04.enums.EnumGraphicType;
import cdac.medinfo.sdk.dcm30_04.srtree.SRTree;
import cdac.medinfo.sdk.dcm30_04.templates.chestcadsriodtemplates.TrackingIdentifier_TID4108;
import cdac.medinfo.sdk.dcm30_04.templates.cid.CalculatedValue_CID6142;
import cdac.medinfo.sdk.dcm30_04.templates.cid.CalculationMethods_CID6140;
import cdac.medinfo.sdk.dcm30_04.templates.cid.IntendedUseOfCADOutput_CID6034;
import cdac.medinfo.sdk.dcm30_04.templates.cid.MammographySingleImageFinding_CID6014;
import cdac.medinfo.sdk.dcm30_04.templates.cid.NippleCharacteristic_CID6039;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_CalculatedValue;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_CalculationMethods;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_IntendedUseOfCADOutput;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_MammographyCADSingleImageFindingTemplate;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_MammographySingleImageFinding;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_NippleCharacteristic;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_MammographyCADSingleImageFindingTemplate;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Template;

/**
 * This class MammographyCADSingleImageFindingTemplate_TID4006
 */
public class MammographyCADSingleImageFindingTemplate_TID4006 extends Template
{
	/**
	 * Object of TrackingIdentifier_TID4108
	 */

	private TrackingIdentifier_TID4108 objTrackingIdentifierTID4108;

	/**
	 * Object of MammographySingleImageFinding_CID6014
	 */
	private MammographySingleImageFinding_CID6014 objMammographySingleImageFindingCID6014;

	/**
	 * Object of IntendedUseOfCADOutput_CID6034
	 */
	private IntendedUseOfCADOutput_CID6034 objIntendedUseOfCADOutputCID6034;
	
	/**
	 * Object of NippleCharacteristic_CID6039
	 */
	private NippleCharacteristic_CID6039 objNippleCharacteristicCID6039;
	
	/**
	 * Object of CalculatedValue_CID6142
	 */
	private CalculatedValue_CID6142 objCalculatedValueCID6142;
	
	/**
	 * Object of CalculationMethods_CID6140
	 */
	private CalculationMethods_CID6140 objCalculationMethodsCID6140;
	
	/**
	 * Object of CADAlgorithmIdentificationTemplate_TID4019
	 */
	private CADAlgorithmIdentificationTemplate_TID4019 objCADAlgorithmIdentificationTemplateTID4019;
	
	/**
	 * Object of MammographyCADBreastCompositionTemplate_TID4007
	 */
	private MammographyCADBreastCompositionTemplate_TID4007 objMammographyCADBreastCompositionTemplateTID4007;
	
	/**
	 * Object of MammographyCADBreastGeometryTemplate_TID4008
	 */
	private MammographyCADBreastGeometryTemplate_TID4008 objMammographyCADBreastGeometryTemplateTID4008;
	
	/**
	 * Object of MammographyCADIndividualCalcificationTemplate_TID4009
	 */
	private MammographyCADIndividualCalcificationTemplate_TID4009 objMammographyCADIndividualCalcificationTemplateTID4009;
	
	/**
	 * Object of MammographyCADCalcificationClusterTemplate_TID4010
	 */
	private MammographyCADCalcificationClusterTemplate_TID4010 objMammographyCADCalcificationClusterTemplateTID4010;
	
	/**
	 * Object of MammographyCADDensityTemplate_TID4011
	 */
	private MammographyCADDensityTemplate_TID4011 objMammographyCADDensityTemplateTID4011;
	
	/**
	 * Object of MammographyCADNonLesionTemplate_TID4012
	 */
	private MammographyCADNonLesionTemplate_TID4012 objMammographyCADNonLesionTemplateTID4012;
	
	/**
	 * Object of MammographyCADSelectedRegionTemplate_TID4013
	 */
	private MammographyCADSelectedRegionTemplate_TID4013 objMammographyCADSelectedRegionTemplateTID4013;
	
	/**
	 * Object of CADImageQualityTemplate_TID4014
	 */
	private CADImageQualityTemplate_TID4014 objCADImageQualityTemplateTID4014;
	
	/**
	 * Object of MammographyCADGeometry_TID4021
	 */
	private MammographyCADGeometryTemplate_TID4021 objMammographyCADGeometryTemplateTID4021;
	
	/**
	 * Object of CADObservationContextTemplate_TID4022
	 */
	private CADObservationContextTemplate_TID4022 objCADObservationContextTemplateTID4022;

	/**
	 * Instantiates a new MammographyCADSingleImageFindingTemplate_TID4006 Template.
	 * @param objTree Object of SRTree.
	 */
	public MammographyCADSingleImageFindingTemplate_TID4006(SRTree objTree)
	{
		super(objTree);
	}

	/**
	 * Retrieves Tracking Identifier.
	 * @return objTrackingIdentifierTID4108 Object of TrackingIdentifier_TID4108 
	 */
	public TrackingIdentifier_TID4108 getTrackingIdentifier() 
	{
		if(null == this.objTrackingIdentifierTID4108)
			this.objTrackingIdentifierTID4108 = new TrackingIdentifier_TID4108(getSRTree());
		return this.objTrackingIdentifierTID4108;
	}

	/**
	 * Retrieves CADAlgorithmIdentificationTemplate
	 * @return objCADAlgorithmIdentificationTID4019 Object of CADAlgorithmIdentificationTemplate_TID4019 
	 */
	public CADAlgorithmIdentificationTemplate_TID4019 getobjCADAlgorithmIdentificationTemplate() 
	{
		if(null == this.objCADAlgorithmIdentificationTemplateTID4019)
			this.objCADAlgorithmIdentificationTemplateTID4019 = new CADAlgorithmIdentificationTemplate_TID4019(getSRTree());
		return this.objCADAlgorithmIdentificationTemplateTID4019;
	}

	/**
	 * Retrieves MammographyCADGeometryTemplate.
	 * @return objMammographyCADGeometryTemplateTID4021 Object of MammographyCADGeometryTemplate_TID4021 
	 */
	public MammographyCADGeometryTemplate_TID4021 getMammographyCADGeometryTemplate() 
	{
		if(null == this.objMammographyCADGeometryTemplateTID4021)
			this.objMammographyCADGeometryTemplateTID4021 = new MammographyCADGeometryTemplate_TID4021(getSRTree());
		return this.objMammographyCADGeometryTemplateTID4021;
	}

	/**
	 * Retrieves MammographyCADBreastCompositionTemplate
	 * @return objMammographyCADBreastCompositionTemplateTID4007 Object of MammographyCADBreastCompositionTemplate_TID4007 
	 */
	public MammographyCADBreastCompositionTemplate_TID4007 getMammographyCADBreastCompositionTemplate() 
	{
		if(null == this.objMammographyCADBreastCompositionTemplateTID4007)
			this.objMammographyCADBreastCompositionTemplateTID4007 = new MammographyCADBreastCompositionTemplate_TID4007(getSRTree());
		return this.objMammographyCADBreastCompositionTemplateTID4007;
	}
	/**
	 * Retrieves MammographyCADBreastGeometryTemplate
	 * @return objMammographyCADBreastGeometryTemplateTID4008 Object of MammographyCADBreastGeometryTemplate_TID4008 
	 */
	public MammographyCADBreastGeometryTemplate_TID4008 getMammographyCADBreastGeometryTemplate() 
	{
		if(null == this.objMammographyCADBreastGeometryTemplateTID4008)
			this.objMammographyCADBreastGeometryTemplateTID4008 = new MammographyCADBreastGeometryTemplate_TID4008(getSRTree());
		return this.objMammographyCADBreastGeometryTemplateTID4008;
	}
	/**
	 * Retrieves MammographyCADIndividualCalcificationTemplate
	 * @return objMammographyCADIndividualCalcificationTemplateTID4009 Object of MammographyCADIndividualCalcificationTemplate_TID4009 
	 */
	public MammographyCADIndividualCalcificationTemplate_TID4009 getMammographyCADIndividualCalcificationTemplate() 
	{
		if(null == this.objMammographyCADIndividualCalcificationTemplateTID4009)
			this.objMammographyCADIndividualCalcificationTemplateTID4009 = new MammographyCADIndividualCalcificationTemplate_TID4009(getSRTree());
		return this.objMammographyCADIndividualCalcificationTemplateTID4009;
	}
	/**
	 * Retrieves MammographyCADCalcificationClusterTemplate
	 * @return objMammographyCADCalcificationClusterTemplateTID4010 Object of MammographyCADCalcificationClusterTemplate_TID4010 
	 */
	public MammographyCADCalcificationClusterTemplate_TID4010 getMammographyCADCalcificationClusterTemplate() 
	{
		if(null == this.objMammographyCADCalcificationClusterTemplateTID4010)
			this.objMammographyCADCalcificationClusterTemplateTID4010 = new MammographyCADCalcificationClusterTemplate_TID4010(getSRTree());
		return this.objMammographyCADCalcificationClusterTemplateTID4010;
	}
	/**
	 * Retrieves MammographyCADDensityTemplate
	 * @return objMammographyCADDensityTemplateTID4011 Object of MammographyCADDensityTemplate_TID4011 
	 */
	public MammographyCADDensityTemplate_TID4011 getMammographyCADDensityTemplate() 
	{
		if(null == this.objMammographyCADDensityTemplateTID4011)
			this.objMammographyCADDensityTemplateTID4011 = new MammographyCADDensityTemplate_TID4011(getSRTree());
		return this.objMammographyCADDensityTemplateTID4011;
	}
	/**
	 * Retrieves MammographyCADNonLesionTemplate
	 * @return objMammographyCADNonLesionTemplateTID4012 Object of MammographyCADNonLesionTemplate 
	 */
	public MammographyCADNonLesionTemplate_TID4012 getMammographyCADNonLesionTemplate() 
	{
		if(null == this.objMammographyCADNonLesionTemplateTID4012)
			this.objMammographyCADNonLesionTemplateTID4012 = new MammographyCADNonLesionTemplate_TID4012(getSRTree());
		return this.objMammographyCADNonLesionTemplateTID4012;
	}
	/**
	 * Retrieves MammographyCADSelectedRegionTemplate
	 * @return objMammographyCADSelectedRegionTemplateTID4013 Object of MammographyCADSelectedRegionTemplate 
	 */
	public MammographyCADSelectedRegionTemplate_TID4013 getMammographyCADSelectedRegionTemplate() 
	{
		if(null == this.objMammographyCADSelectedRegionTemplateTID4013)
			this.objMammographyCADSelectedRegionTemplateTID4013 = new MammographyCADSelectedRegionTemplate_TID4013(getSRTree());
		return this.objMammographyCADSelectedRegionTemplateTID4013;
	}
	/**
	 * Retrieves CADImageQualityTemplate.
	 * @return objCADImageQualityTemplateTID4014 Object of CADImageQualityTemplate_TID4014 
	 */
	public CADImageQualityTemplate_TID4014 getCADImageQualityTemplate() 
	{
		if(null == this.objCADImageQualityTemplateTID4014)
			this.objCADImageQualityTemplateTID4014 = new CADImageQualityTemplate_TID4014(getSRTree());
		return this.objCADImageQualityTemplateTID4014;
	}
	/**
	 * Retrieves CADObservationContextTemplate.
	 * @return objCADObservationContextTemplateTID4022 Object of CADObservationContextTemplate_TID4022 
	 */
	public CADObservationContextTemplate_TID4022 getCADObservationContextTemplate() 
	{
		if(null == this.objCADObservationContextTemplateTID4022)
			this.objCADObservationContextTemplateTID4022 = new CADObservationContextTemplate_TID4022(getSRTree());
		return this.objCADObservationContextTemplateTID4022;
	}

	/**
	 * Sets value for Rendering Intent.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumIntendedUseOfCADOutput Enumerated value forIntendedUseOfCADOutput.
	 */
	public void setRenderingIntent(int[] arrPosition, EnumCM_IntendedUseOfCADOutput enumIntendedUseOfCADOutput)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.RENDERING_INTENT.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.RENDERING_INTENT_111056.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Setting value for Rendering Intent.
		 */
		if(null== this.objIntendedUseOfCADOutputCID6034)
			this.objIntendedUseOfCADOutputCID6034 = new IntendedUseOfCADOutput_CID6034();
		this.objIntendedUseOfCADOutputCID6034.setIntendedUseOfCADOutput(enumIntendedUseOfCADOutput);

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

	/**
	 * Sets value for Nipple Characteristic.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumNippleCharacteristic Enumerated value for NippleCharacteristic.
	 */
	public void setNippleCharacteristic(int[] arrPosition, EnumCM_NippleCharacteristic enumNippleCharacteristic)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.NIPPLE_CHARACTERISTIC.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.NIPPLE_CHARACTERISTIC_111297.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Setting value for Rendering Intent.
		 */
		if(null== this.objNippleCharacteristicCID6039)
			this.objNippleCharacteristicCID6039 = new NippleCharacteristic_CID6039();
		this.objNippleCharacteristicCID6039.setNippleCharacteristic(enumNippleCharacteristic);

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

	
	/**
	 * Sets value for SingleImageFinding.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 */
	public void setSingleImageFinding(int[] arrPosition, EnumCM_MammographySingleImageFinding enumMammographySingleImageFinding)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.SINGLE_IMAGE_FINDING.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.SINGLE_IMAGE_FINDING_111059.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Setting value for MammographySingleImageFinding
		 */
		if(null== this.objMammographySingleImageFindingCID6014)
			this.objMammographySingleImageFindingCID6014 = new MammographySingleImageFinding_CID6014();
		this.objMammographySingleImageFindingCID6014.setMammographySingleImageFinding(enumMammographySingleImageFinding);

		String strCM = objMammographySingleImageFindingCID6014.getCodeMeaning();
		String strCV = objMammographySingleImageFindingCID6014.getCodeValue();
		String strCSD = objMammographySingleImageFindingCID6014.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, strCSDesg, strCV, strCSD, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets value for Calculated Value.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 * @param enumCalculatedValue Enumerated value for CalculatedValue
	 */
	public void setCalculatedValue(int[] arrPosition, EnumCM_CalculatedValue enumCalculatedValue, String[] arrNumericValue)
	{
		/**
		 * Setting value for MammographyQuantitativeTemporalDifferenceTypeCID6037
		 */
		if(null== this.objCalculatedValueCID6142)
			this.objCalculatedValueCID6142 = new CalculatedValue_CID6142();
		this.objCalculatedValueCID6142.setCalculatedValue(enumCalculatedValue);

		String strCM = objCalculatedValueCID6142.getCodeMeaning();
		String strCV = objCalculatedValueCID6142.getCodeValue();
		String strCSD = objCalculatedValueCID6142.getCodingSchemeDesignator();

		/**
		 * Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition, strCM, strCV, strCSD, arrNumericValue, "", "", "", "", "", "", "", "");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets value for Derivation.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue 
	 * @param enumCalculationMethods Enumerated value for CalculationMethods
	 */
	public void setDerivation(int[] arrPosition, EnumCM_CalculationMethods enumCalculationMethods)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.DERIVATION.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.DERIVATION_121401.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		/**
		 * Setting value for CalculationMethods
		 */
		if(null== this.objCalculationMethodsCID6140)
			this.objCalculationMethodsCID6140 = new CalculationMethods_CID6140();
		this.objCalculationMethodsCID6140.setCalculationMethods(enumCalculationMethods);

		String strCM = objCalculationMethodsCID6140.getCodeMeaning();
		String strCV = objCalculationMethodsCID6140.getCodeValue();
		String strCSD = objCalculationMethodsCID6140.getCodingSchemeDesignator();
		String strSNOMEDCTID = objCalculationMethodsCID6140.getSNOMEDCTID();

		/**
		 * Creating a node of Value Type NUM and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createCodeNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, strCV, strCSDesg, "", strCM,strSNOMEDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets Source of CAD Operating Point.
	 * @param arrPosition position at which the node will get added in the tree.
	 * @param arrNumericValue 
	 */
	public void setCADOperatingPoint(int[] arrPosition, String strRefSOPClassUID, String strRefSOPInstanceUID, short[] arrShReferencedWaveformChannels, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.CAD_OPERATING_POINT.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.CAD_OPERATING_POINT_111071.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 Calculation Description.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strValue 
	 */
	public void setCalculationDescription(int[] arrPosition,String strValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.CALCULATION_DESCRIPTION.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.CALCULATION_DESCRIPTION_112034.getValue();
		String strCSD = 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, strCSD, strValue);
		getSRTree().addChild(objContentSequenceItem);
		
	}
	/**
	 * Sets the value for Certainty of Finding.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strValue.
	 * @param arrNumericValue. 
	 */
	public void setCertaintyOfFinding(int[] arrPosition,String strValue, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.CERTAINTY_OF_FINDING.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.CERTAINTY_OF_FINDING_111012.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Creating a node of Value Type TEXT 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 Image Region.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrFlGraphicData 
	 * @param enumGraphicType 
	 * @param strValue.
	 * @param arrNumericValue. 
	 */
	public void setImageRegion(int[] arrPosition, String[] arrNumericValue, float[] arrFlGraphicData, EnumGraphicType enumGraphicType)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.IMAGE_REGION.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.IMAGE_REGION_111030.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Creating a node of Value Type SCOORD and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createSCOORDNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, arrFlGraphicData, enumGraphicType);
		getSRTree().addChild(objContentSequenceItem);
		
	}
	/**
	 * Sets the value for Probability of cancer.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strValue.
	 * @param arrNumericValue. 
	 */
	public void setProbabilityOfCancer(int[] arrPosition, String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_MammographyCADSingleImageFindingTemplate.PROBABILITY_OF_CANCER.getValue();
		String strCodeValue = EnumCV_MammographyCADSingleImageFindingTemplate.PROBABILITY_OF_CANCER_111047.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);
		
	}

}
