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

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.CommonAnatomicRegions_CID4031;
import cdac.medinfo.sdk.dcm30_04.templates.cid.DXAnatomyImaged_CID4009;
import cdac.medinfo.sdk.dcm30_04.templates.cid.DXViewModifier_CID4011;
import cdac.medinfo.sdk.dcm30_04.templates.cid.DXView_CID4010;
import cdac.medinfo.sdk.dcm30_04.templates.cid.EquipmentPlaneIdentification_CID10003;
import cdac.medinfo.sdk.dcm30_04.templates.cid.IrradiationEventTypes_CID10002;
import cdac.medinfo.sdk.dcm30_04.templates.cid.LabelTypes_CID10022;
import cdac.medinfo.sdk.dcm30_04.templates.cid.Laterality_CID244;
import cdac.medinfo.sdk.dcm30_04.templates.cid.PatientEquipmentRelationship_CID21;
import cdac.medinfo.sdk.dcm30_04.templates.cid.PatientOrientationModifier_CID20;
import cdac.medinfo.sdk.dcm30_04.templates.cid.PatientOrientation_CID19;
import cdac.medinfo.sdk.dcm30_04.templates.cid.ProjectionEponymousName_CID4012;
import cdac.medinfo.sdk.dcm30_04.templates.cid.RadiationDoseReferencePoints_CID10025;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_CommonAnatomicRegions;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_DXView;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_DXViewModifier;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_EquipmentPlaneIdentification;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_IrradiationEventTypes;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_IrradiationEventXRayData;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_LabelTypes;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_Laterality;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_PatientEquipmentRelationship;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_PatientOrientation;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_PatientOrientationModifier;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_ProjectionEponymousName;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_RadiationDoseReferencePoints;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_Unit;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_IrradiationEventXRayData;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_Unit;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.PersonParticipant_TID1020;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Template;
import cdac.medinfo.sdk.dcm30_04.templates.mammographycadsriodtemplates.MammographyCADBreastCompositionTemplate_TID4007;


/**
 * This class represents IrradiationEventXRayData_TID10003
 */
public class IrradiationEventXRayData_TID10003 extends Template{
	
	/**
	 * Object of DXAnatomyImaged_CID4009
	 */
	private CommonAnatomicRegions_CID4031 objCommonAnatomicRegions_CID4031;
	
private PatientEquipmentRelationship_CID21 objPatientEquipmentRelationship_CID21;
	
	private ProjectionEponymousName_CID4012 objProjectionEponymousName_CID4012;
	
	private RadiationDoseReferencePoints_CID10025 objRadiationDoseReferencePoints_CID10025;
	
	private IrradiationEventTypes_CID10002 objIrradiationEventTypes_CID10002;
	
private PatientOrientationModifier_CID20 objPatientOrientationModifier_CID20;
	
	private PatientOrientation_CID19 objPatientOrientation_CID19;
	
private DXViewModifier_CID4011 objDXViewModifier_CID4011;
	
	private DXView_CID4010 objDXView_CID4010;
	
private Laterality_CID244 objLaterality_CID244;
	
	private DXAnatomyImaged_CID4009 objDXAnatomyImaged_CID4009;

	/**
	 * Object of LabelTypes_CID10022
	 */
	private LabelTypes_CID10022 objLabelTypes_CID10022 ;
	/**
	 * Object of EquipmentPlaneIdentification_CID10003
	 */
	private EquipmentPlaneIdentification_CID10003 objEquipmentPlaneIdentification_CID10003 ;
	
	/**
	 * Object of IrradiationEventXRayMechanicalData_TID10003C
	 */
	private IrradiationEventXRayMechanicalData_TID10003C objIrradiationEventXRayMechanicalData_TID10003C ;
	/**
	 * Object of IrradiationEventXRaySourceData_TID10003B
	 */
	private IrradiationEventXRaySourceData_TID10003B objIrradiationEventXRaySourceData_TID10003B ;
	
	/**
	 * Object of IrradiationEventXRayDetectorData_TID10003A
	 */
	private IrradiationEventXRayDetectorData_TID10003A objIrradiationEventXRayDetectorData_TID10003A ;
	
	/**
	 * Object of PersonParticipant_TID1020
	 */
	private PersonParticipant_TID1020 objPersonParticipant_TID1020 ;
	/**
	 * Object of MammographyCADBreastCompositionTemplate_TID4007
	 */
	private MammographyCADBreastCompositionTemplate_TID4007 objMammographyCADBreastCompositionTemplate_TID4007 ;
	
	/**
	 * Instantiates a new IrradiationEventXRayData_TID10003 Template.
	 * @param objTree Object of SRTree.
	 */
	public IrradiationEventXRayData_TID10003(SRTree objTree)
	{
		super(objTree);
	}
	/**
	 * Retrieves IrradiationEventXRayMechanicalData_TID10003C 
	 * @return objIrradiationEventXRayMechanicalData_TID10003C Object of IrradiationEventXRayMechanicalData_TID10003C 
	 */
	public IrradiationEventXRayMechanicalData_TID10003C getIrradiationEventXRayMechanicalData() 
	{
		if(null == this.objIrradiationEventXRayMechanicalData_TID10003C)
			this.objIrradiationEventXRayMechanicalData_TID10003C = new IrradiationEventXRayMechanicalData_TID10003C(getSRTree());
		return this.objIrradiationEventXRayMechanicalData_TID10003C;
	}
	/**
	 * Retrieves IrradiationEventXRaySourceData_TID10003B 
	 * @return objIrradiationEventXRaySourceData_TID10003B Object of IrradiationEventXRaySourceData_TID10003B 
	 */
	public IrradiationEventXRaySourceData_TID10003B getIrradiationEventXRaySourceData() 
	{
		if(null == this.objIrradiationEventXRaySourceData_TID10003B)
			this.objIrradiationEventXRaySourceData_TID10003B = new IrradiationEventXRaySourceData_TID10003B(getSRTree());
		return this.objIrradiationEventXRaySourceData_TID10003B;
	}
	/**
	 * Retrieves PersonParticipant_TID1020 
	 * @return objPersonParticipant_TID1020 Object of PersonParticipant_TID1020 
	 */
	public PersonParticipant_TID1020 getPersonParticipant() 
	{
		if(null == this.objPersonParticipant_TID1020)
			this.objPersonParticipant_TID1020 = new PersonParticipant_TID1020(getSRTree());
		return this.objPersonParticipant_TID1020;
	}
	/**
	 * Retrieves MammographyCADBreastCompositionTemplate_TID4007 
	 * @return objMammographyCADBreastCompositionTemplate_TID4007 Object of MammographyCADBreastCompositionTemplate_TID4007 
	 */
	public MammographyCADBreastCompositionTemplate_TID4007 getMammographyCADBreastCompositionTemplate() 
	{
		if(null == this.objMammographyCADBreastCompositionTemplate_TID4007)
			this.objMammographyCADBreastCompositionTemplate_TID4007 = new MammographyCADBreastCompositionTemplate_TID4007(getSRTree());
		return this.objMammographyCADBreastCompositionTemplate_TID4007;
	}
	/**
	 * Retrieves IrradiationEventXRayDetectorData_TID10003A 
	 * @return objIrradiationEventXRayDetectorData_TID10003A Object of IrradiationEventXRayDetectorData_TID10003A 
	 */
	public IrradiationEventXRayDetectorData_TID10003A getIrradiationEventXRayDetectorData() 
	{
		if(null == this.objIrradiationEventXRayDetectorData_TID10003A)
			this.objIrradiationEventXRayDetectorData_TID10003A = new IrradiationEventXRayDetectorData_TID10003A(getSRTree());
		return this.objIrradiationEventXRayDetectorData_TID10003A;
	}
	/**
	 * Sets the value for Irradiation Event X-RayData
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumContinuityOfContent Enumerated Value for ContinuityOfContent.
	 */
	public void setIrradiationEventXRayData(int[] arrPosition, EnumContinuityOfContent enumContinuityOfContent)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.IRRADIATION_EVENT_X_RAYDATA.getValue();
		String strCodeValue = EnumCM_IrradiationEventXRayData.IRRADIATION_EVENT_X_RAYDATA.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Creating a node of Value Type Container and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createContainer(arrPosition, strCodeMeaning, strCodeValue, strCSD, enumContinuityOfContent);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	public void setIrradiationEventType(int[] arrPosition,EnumCM_IrradiationEventTypes enumIrradiationEventTypes)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.IRRADIATION_EVENT_TYPE.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.IRRADIATION_EVENT_TYPE_113721.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD,strSNMDCTID;

		if(null== this.objIrradiationEventTypes_CID10002)
			this.objIrradiationEventTypes_CID10002 = new IrradiationEventTypes_CID10002();
		this.objIrradiationEventTypes_CID10002.setIrradiationEventTypes(enumIrradiationEventTypes);
			 strCM = objIrradiationEventTypes_CID10002.getCodeMeaning();
			 strCV = objIrradiationEventTypes_CID10002.getCodeValue();
			 strCSD = objIrradiationEventTypes_CID10002.getCodingSchemeDesignator();
			 strSNMDCTID = objIrradiationEventTypes_CID10002.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	public void setLabelType(int[] arrPosition,EnumCM_LabelTypes enumLabelTypes)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.LABEL_TYPE.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.LABEL_TYPE_113606.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD;

		
		if(null== this.objLabelTypes_CID10022)
			this.objLabelTypes_CID10022 = new LabelTypes_CID10022();
		this.objLabelTypes_CID10022.setLabelTypes(enumLabelTypes);
			 strCM = objLabelTypes_CID10022.getCodeMeaning();
			 strCV = objLabelTypes_CID10022.getCodeValue();
			 strCSD = objLabelTypes_CID10022.getCodingSchemeDesignator();
			// strSNMDCTID = objLabelTypes_CID10022.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, strCSDesg, strCV, strCSD, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}
	public void setAcquisitionPlane(int[] arrPosition,EnumCM_EquipmentPlaneIdentification enumEquipmentPlaneIdentification)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.ACQUISITION_PLANE.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.ACQUISITION_PLANE_113764.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD;

		
		if(null== this.objEquipmentPlaneIdentification_CID10003)
			this.objEquipmentPlaneIdentification_CID10003 = new EquipmentPlaneIdentification_CID10003();
		this.objEquipmentPlaneIdentification_CID10003.setEquipmentPlaneIdentification(enumEquipmentPlaneIdentification);
			 strCM = objEquipmentPlaneIdentification_CID10003.getCodeMeaning();
			 strCV = objEquipmentPlaneIdentification_CID10003.getCodeValue();
			 strCSD = objEquipmentPlaneIdentification_CID10003.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 the value for Irradiation Event Label
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strMeasurementMethod String value for Comment.
	 */
	public void setIrradiationEventLabel(int[] arrPosition, String strMeasurementMethod)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.IRRADIATION_EVENT_LABEL.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.IRRADIATION_EVENT_LABEL_113605.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, strMeasurementMethod);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Acquisition Protocol
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strMeasurementMethod String value for Comment.
	 */
	public void setAcquisitionProtocol(int[] arrPosition, String strMeasurementMethod)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.ACQUISITION_PROTOCOL.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.ACQUISITION_PROTOCOL_125203.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, strMeasurementMethod);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Reference PointDefinition
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strMeasurementMethod String value for Comment.
	 */
	public void setReferencePointDefinition(int[] arrPosition, String strMeasurementMethod)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.REFERENCE_POINT_DEFINITION.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.REFERENCE_POINT_DEFINITION_113780.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, strMeasurementMethod);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Comment
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strMeasurementMethod String value for Comment.
	 */
	public void setComment(int[] arrPosition, String strMeasurementMethod)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.COMMENT.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.COMMENT_121106.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, strMeasurementMethod);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for DoseArea Product
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue String array for Numeric Value.
	 */
	public void setDoseAreaProduct(int[] arrPosition,String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCMForUnit = EnumCM_Unit.GY_DOT_MTwo.getValue();
		String strCVForUnit = EnumCV_Unit.GY_DOT_MTwo.getValue();
		String strCSDForUnit = EnumCodingSchemeDesignator.UCUM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.DOSE_AREA_PRODUCT.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.DOSE_AREA_PRODUCT_122130.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition,strCodeMeaning,strCodeValue,strCSD,arrNumericValue,strCVForUnit,strCSDForUnit,"",strCMForUnit,"","","","");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for HalfValue Layer
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue String array for Numeric Value.
	 */
	public void setHalfValueLayer(int[] arrPosition,String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCMForUnit = EnumCM_Unit.MM.getValue();
		String strCVForUnit = EnumCV_Unit.MM.getValue();
		String strCSDForUnit = EnumCodingSchemeDesignator.UCUM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.DOSE_AREA_PRODUCT.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.DOSE_AREA_PRODUCT_122130.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition,strCodeMeaning,strCodeValue,strCSD,arrNumericValue,strCVForUnit,strCSDForUnit,"",strCMForUnit,"","","","");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for PatientEquivalent Thickness
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue String array for Numeric Value.
	 */
	public void setPatientEquivalentThickness(int[] arrPosition,String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCMForUnit = EnumCM_Unit.MM.getValue();
		String strCVForUnit = EnumCV_Unit.MM.getValue();
		String strCSDForUnit = EnumCodingSchemeDesignator.UCUM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.PATIENT_EQUIVALENT_THICKNESS.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.PATIENT_EQUIVALENT_THICKNESS_111638.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition,strCodeMeaning,strCodeValue,strCSD,arrNumericValue,strCVForUnit,strCSDForUnit,"",strCMForUnit,"","","","");
		getSRTree().addChild(objContentSequenceItem);
	}
	
	/**
	 * Sets the value for Entrance Exposure atRP
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue String array for Numeric Value.
	 */
	public void setEntranceExposureatRP(int[] arrPosition,String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCMForUnit = EnumCM_Unit.MM.getValue();
		String strCVForUnit = EnumCV_Unit.MM.getValue();
		String strCSDForUnit = EnumCodingSchemeDesignator.UCUM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.ENTRANCE_EXPOSURE_AT_RP.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.ENTRANCE_EXPOSURE_AT_RP_111636.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

		ContentSequenceItem objContentSequenceItem = getSRTree().createNumNode(arrPosition,strCodeMeaning,strCodeValue,strCSD,arrNumericValue,strCVForUnit,strCSDForUnit,"",strCMForUnit,"","","","");
		getSRTree().addChild(objContentSequenceItem);
	}
	public void setIrradiationEventUID(int[] arrPosition, String strTrackingUniqueIdentifier)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.IRRADIATION_EVENT_UID.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.IRRADIATION_EVENT_UID_113769.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();
		
		/**
		 * Creating a node of Value Type UIDREF and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createUIDREFNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, strTrackingUniqueIdentifier);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	public void setDateTimeStarted(int[] arrPosition, String strRadiopharmaceuticalStopDateTime)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.DATE_TIME_STARTED.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.DATE_TIME_STARTED_111526.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();
		
		/**
		 * Creating a node of Value Type UIDREF and adding this node at specified identifier in the SR Tree.
		 */
		ContentSequenceItem objContentSequenceItem = getSRTree().createDateTimeNode(arrPosition, strCodeMeaning, strCodeValue, strCSD, strRadiopharmaceuticalStopDateTime);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	
	public void setPatientOrientationModifier(int[] arrPosition,EnumCM_PatientOrientationModifier enumPatientOrientationModifier)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.PATIENTORIENTATION_MODIFIER.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.PATIENTORIENTATION_MODIFIER_113744.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD,strSNMDCTID;

		if(null== this.objPatientOrientationModifier_CID20)
			this.objPatientOrientationModifier_CID20 = new PatientOrientationModifier_CID20();
		this.objPatientOrientationModifier_CID20.setPatientOrientationModifier(enumPatientOrientationModifier);
		 strCM = objPatientOrientationModifier_CID20.getCodeMeaning();
		 strCV = objPatientOrientationModifier_CID20.getCodeValue();
		 strCSD = objPatientOrientationModifier_CID20.getCodingSchemeDesignator();
		 strSNMDCTID = objPatientOrientationModifier_CID20.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	public void setTargetRegion(int[] arrPosition,EnumCM_CommonAnatomicRegions enumCommonAnatomicRegions)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.TARGET_REGION.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.TARGET_REGION_123014.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD,strSNMDCTID;

		if(null== this.objCommonAnatomicRegions_CID4031)
			this.objCommonAnatomicRegions_CID4031 = new CommonAnatomicRegions_CID4031();
		this.objCommonAnatomicRegions_CID4031.setCommonAnatomicRegions(enumCommonAnatomicRegions);
		 strCM = objCommonAnatomicRegions_CID4031.getCodeMeaning();
		 strCV = objCommonAnatomicRegions_CID4031.getCodeValue();
		 strCSD = objCommonAnatomicRegions_CID4031.getCodingSchemeDesignator();
		 strSNMDCTID = objCommonAnatomicRegions_CID4031.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	public void setReferencePointDefinition(int[] arrPosition,EnumCM_RadiationDoseReferencePoints enumRadiationDoseReferencePoints)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.REFERENCE_POINT_DEFINITION.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.REFERENCE_POINT_DEFINITION_113780.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD;
		if(null== this.objRadiationDoseReferencePoints_CID10025)
			this.objRadiationDoseReferencePoints_CID10025 = new RadiationDoseReferencePoints_CID10025();
		this.objRadiationDoseReferencePoints_CID10025.setRadiationDoseReferencePoints(enumRadiationDoseReferencePoints);
		
		 strCM = objRadiationDoseReferencePoints_CID10025.getCodeMeaning();
		 strCV = objRadiationDoseReferencePoints_CID10025.getCodeValue();
		 strCSD = objRadiationDoseReferencePoints_CID10025.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);
	}
	public void setPatientOrientation(int[] arrPosition,EnumCM_PatientOrientation enumPatientOrientation)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.PATIENT_ORIENTATION.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.PATIENT_ORIENTATION_113743.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD,strSNMDCTID;
		if(null== this.objPatientOrientation_CID19)
			this.objPatientOrientation_CID19 = new PatientOrientation_CID19();
		this.objPatientOrientation_CID19.setPatientOrientation(enumPatientOrientation);
		
		 strCM = objPatientOrientation_CID19.getCodeMeaning();
		 strCV = objPatientOrientation_CID19.getCodeValue();
		 strCSD = objPatientOrientation_CID19.getCodingSchemeDesignator();
		 strSNMDCTID = objPatientOrientation_CID19.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	public void setProjectionEponymousName(int[] arrPosition,EnumCM_ProjectionEponymousName enumProjectionEponymousName)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.PROJECTION_EPONYMOUS_NAME.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.PROJECTION_EPONYMOUS_NAME_113946.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD,strSNMDCTID;
		if(null== this.objProjectionEponymousName_CID4012)
			this.objProjectionEponymousName_CID4012 = new ProjectionEponymousName_CID4012();
		this.objProjectionEponymousName_CID4012.setProjectionEponymousName(enumProjectionEponymousName);
		
		 strCM = objProjectionEponymousName_CID4012.getCodeMeaning();
		 strCV = objProjectionEponymousName_CID4012.getCodeValue();
		 strCSD = objProjectionEponymousName_CID4012.getCodingSchemeDesignator();
		 strSNMDCTID = objProjectionEponymousName_CID4012.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	public void setPatientTableRelationship(int[] arrPosition,EnumCM_PatientEquipmentRelationship enumPatientEquipmentRelationship)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.PATIENT_TABLE_RELATIONSHIP.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.PATIENT_TABLE_RELATIONSHIP_113745.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD;
		if(null== this.objPatientEquipmentRelationship_CID21)
			this.objPatientEquipmentRelationship_CID21 = new PatientEquipmentRelationship_CID21();
		this.objPatientEquipmentRelationship_CID21.setPatientEquipmentRelationship(enumPatientEquipmentRelationship);
		
		 strCM = objPatientEquipmentRelationship_CID21.getCodeMeaning();
		 strCV = objPatientEquipmentRelationship_CID21.getCodeValue();
		 strCSD = objPatientEquipmentRelationship_CID21.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);
	}

	public void setImageView(int[] arrPosition,EnumCM_DXView enumDXView)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.IMAGE_VIEW.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.IMAGE_VIEW_111031.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD,strSNMDCTID;
		if(null== this.objDXView_CID4010)
			this.objDXView_CID4010 = new DXView_CID4010();
		this.objDXView_CID4010.setDXView(enumDXView);
		
		 strCM = objDXView_CID4010.getCodeMeaning();
		 strCV = objDXView_CID4010.getCodeValue();
		 strCSD = objDXView_CID4010.getCodingSchemeDesignator();
		 strSNMDCTID = objDXView_CID4010.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	public void setImageViewModifier(int[] arrPosition,EnumCM_DXViewModifier enumDXViewModifier)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.IMAGE_VIEW_MODIFIER.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.IMAGE_VIEW_MODIFIER_111032.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.DCM.getValue();
		String strCM,strCV,strCSD;
		if(null== this.objDXViewModifier_CID4011)
			this.objDXViewModifier_CID4011 = new DXViewModifier_CID4011();
		this.objDXViewModifier_CID4011.setDXViewModifier(enumDXViewModifier);
		
		 strCM = objDXViewModifier_CID4011.getCodeMeaning();
		 strCV = objDXViewModifier_CID4011.getCodeValue();
		 strCSD = objDXViewModifier_CID4011.getCodingSchemeDesignator();
		String strSNMDCTID = objDXViewModifier_CID4011.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}
	
	public void setAnatomicalstructure(int[] arrPosition,Enum enumValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.ANATOMICAL_STRUCTURE.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.ANATOMICAL_STRUCTURE_T_D0005.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		String strCM,strCV,strCSD;
		if(null== this.objDXAnatomyImaged_CID4009)
			this.objDXAnatomyImaged_CID4009 = new DXAnatomyImaged_CID4009();
		this.objDXAnatomyImaged_CID4009.setDXAnatomyImaged(enumValue);
		
		 strCM = objDXAnatomyImaged_CID4009.getCodeMeaning();
		 strCV = objDXAnatomyImaged_CID4009.getCodeValue();
		 strCSD = objDXAnatomyImaged_CID4009.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);
	}
	
	public void setLaterality(int[] arrPosition,EnumCM_Laterality enumLaterality)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_IrradiationEventXRayData.LATERALITY.getValue();
		String strCodeValue = EnumCV_IrradiationEventXRayData.LATERALITY_G_C171.getValue();
		String strCSDesg = EnumCodingSchemeDesignator.SRT.getValue();
		String strCM,strCV,strCSD;
		if(null== this.objLaterality_CID244)
			this.objLaterality_CID244 = new Laterality_CID244();
		this.objLaterality_CID244.setLaterality(enumLaterality);
		
		 strCM = objLaterality_CID244.getCodeMeaning();
		 strCV = objLaterality_CID244.getCodeValue();
		 strCSD = objLaterality_CID244.getCodingSchemeDesignator();
		String  strSNMDCTID = objLaterality_CID244.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, strCSDesg, strCV, strCSD, "", strCM,strSNMDCTID);
		getSRTree().addChild(objContentSequenceItem);
	}

}
