/*******************************************************************************
 *  Copyright 2017-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.cathlabclinicalreporttemplate;

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.IndicationsForCoronaryIntervention_CID3726;
import cdac.medinfo.sdk.dcm30_04.templates.cid.MITypes_CID3723;
import cdac.medinfo.sdk.dcm30_04.templates.cid.OrganizationalRoles_CID7452;
import cdac.medinfo.sdk.dcm30_04.templates.cid.PCIProcedureResult_CID3749;
import cdac.medinfo.sdk.dcm30_04.templates.cid.ProcedureUrgency_CID3414;
import cdac.medinfo.sdk.dcm30_04.templates.cid.YesNo_CID230;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_DefinedTerms;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_IndicationsForCoronaryIntervention;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_MITypes;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_OrganizationalRoles;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_PCIProcedureResult;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_PercutaneousCoronaryInterventionProcedure;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_ProcedureUrgency;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_Unit;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_YesNo;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_DefinedTerms;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_PercutaneousCoronaryInterventionProcedure;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_Unit;
import cdac.medinfo.sdk.dcm30_04.templates.generaltemplates.Template;

/**
 * This class represents PercutaneousCoronaryInterventionProcedure - TID3807
 */
public class PercutaneousCoronaryInterventionProcedure_TID3807 extends Template
{
	/**
	 * Object of YesNo_CID230
	 */
	private YesNo_CID230 objYesNoCID230;

	/**
	 * Object of OrganizationalRoles_CID7452
	 */
	private OrganizationalRoles_CID7452 objOrganizationalRolesCID7452;

	/**
	 * Object of ProcedureUrgency_CID3414
	 */
	private ProcedureUrgency_CID3414 objProcedureUrgencyCID3414;

	/**
	 * Object of IndicationsForCoronaryIntervention_CID3726
	 */
	private IndicationsForCoronaryIntervention_CID3726 objIndicationsForCoronaryInterventionCID3726;

	/**
	 * Object of MITypes_CID3723
	 */
	private MITypes_CID3723 objMiTypesCID3723;

	/**
	 * Object of PCIProcedureResult_CID3749
	 */
	private PCIProcedureResult_CID3749 objProcedureResultCID3749;

	/**
	 * Object of LesionInterventionInformation_TID3808
	 */

	private LesionInterventionInformation_TID3808 objLesionInterventionInformationTID3808;

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

	/**
	 * Retrieves LesionInterventionInformation 
	 * @return objLesionInterventionInformationTID3808 Object of LesionInterventionInformation_TID3808 
	 */
	public LesionInterventionInformation_TID3808 getLesionInterventionInformation() 
	{
		if(null == this.objLesionInterventionInformationTID3808)
			this.objLesionInterventionInformationTID3808 = new LesionInterventionInformation_TID3808(getSRTree());
		return this.objLesionInterventionInformationTID3808;
	}

	/**
	 * 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 strCM = EnumCM_DefinedTerms.PERCUTANEOUS_CORONARY_INTERVENTUON.getValue();
		String strCV = EnumCV_DefinedTerms.PERCUTANEOUS_CORONARY_INTERVENTUON_122061.getValue();
		String strCSD1 = EnumCodingSchemeDesignator.DCM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.PROCEDURE_REPORTED.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.PROCEDURE_REPORTED_121058.getValue();
		String strCSD2 = 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 , strCSD2, strCV, strCSD1, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Performing Physician.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strPerformingPhysician String value for PerformingPhysician
	 */
	public void setPerformingPhysician(int[] arrPosition, String strPerformingPhysician)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.PERFORMING_PHYSICIAN.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.PERFORMING_PHYSICIAN_121114.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

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

	/**
	 * Sets the value for Fellow.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strFellow String value for Fellow
	 */
	public void setFellow(int[] arrPosition, String strFellow)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.FELLOW.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.FELLOW_121088.getValue();
		String strCSD = EnumCodingSchemeDesignator.DCM.getValue();

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

	/**
	 * Sets the value for Organizational Roles
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumOrganizationalRoles Enum value for OrganizationalRoles
	 * @param strPname String value for Organizational Roles.
	 */
	public void setOrganizationalRoles(int[] arrPosition,EnumCM_OrganizationalRoles enumOrganizationalRoles, String strPname)
	{
		if(null== this.objOrganizationalRolesCID7452)
			this.objOrganizationalRolesCID7452 = new OrganizationalRoles_CID7452();
		this.objOrganizationalRolesCID7452.setOrganizationalRoles(enumOrganizationalRoles);

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = objOrganizationalRolesCID7452.getCodeMeaning();
		String strCodeValue = objOrganizationalRolesCID7452.getCodeValue();
		String strCSD = objOrganizationalRolesCID7452.getCodingSchemeDesignator();

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

	/**
	 * Sets the value for Procedure Priority.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumProcedureUrgency Enum value for ProcedureUrgency
	 */
	public void setProcedurePriority(int[] arrPosition, EnumCM_ProcedureUrgency enumProcedureUrgency)
	{
		/**
		 * Sets the value for Primary Intervention Device.
		 */
		if(null== this.objProcedureUrgencyCID3414)
			this.objProcedureUrgencyCID3414 = new ProcedureUrgency_CID3414();
		this.objProcedureUrgencyCID3414.setProcedureUrgency(enumProcedureUrgency);

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCM = this.objProcedureUrgencyCID3414.getCodeMeaning();
		String strCV = this.objProcedureUrgencyCID3414.getCodeValue();
		String strCSD1 = this.objProcedureUrgencyCID3414.getCodingSchemeDesignator();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.PROCEDURE_PRIORITY.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.PROCEDURE_PRIORITY_G_C09C.getValue();
		String strCSD2 = EnumCodingSchemeDesignator.SRT.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 , strCSD2, strCV, strCSD1, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Indications for Procedure
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumContinuityOfContent Enumerated Value for ContinuityOfContent.
	 */
	public void setIndicationsForProcedure(int[] arrPosition, EnumContinuityOfContent enumContinuityOfContent)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.INDICATIONS_FOR_PROCEDURE.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.INDICATIONS_FOR_PROCEDURE_18785_6.getValue();
		String strCSD = EnumCodingSchemeDesignator.LN.getValue();

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

	/**
	 * Sets the value for Finding.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumIndicationsForCoronaryIntervention Enum value for IndicationsForCoronaryIntervention
	 */
	public void setFinding(int[] arrPosition, EnumCM_IndicationsForCoronaryIntervention enumIndicationsForCoronaryIntervention)
	{
		/**
		 * Sets the value for Primary Intervention Device.
		 */
		if(null== this.objIndicationsForCoronaryInterventionCID3726)
			this.objIndicationsForCoronaryInterventionCID3726 = new IndicationsForCoronaryIntervention_CID3726();
		this.objIndicationsForCoronaryInterventionCID3726.setIndicationsForCoronaryIntervention(enumIndicationsForCoronaryIntervention);

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCM = this.objIndicationsForCoronaryInterventionCID3726.getCodeMeaning();
		String strCV = this.objIndicationsForCoronaryInterventionCID3726.getCodeValue();
		String strCSD1 = this.objIndicationsForCoronaryInterventionCID3726.getCodingSchemeDesignator();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.FINDING.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.FINDING_121071.getValue();
		String strCSD2 = 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 , strCSD2, strCV, strCSD1, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Acute MI Present.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumYesNo Enum value for Yes-No.
	 */
	public void setAcuteMIPresent(int[] arrPosition, EnumCM_YesNo enumYesNo)
	{
		/**
		 * Sets the value for Primary Intervention Device.
		 */
		if(null== this.objYesNoCID230)
			this.objYesNoCID230 = new YesNo_CID230();
		this.objYesNoCID230.setYesNo(enumYesNo);

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCM = this.objYesNoCID230.getCodeMeaning();
		String strCV = this.objYesNoCID230.getCodeValue();
		String strCSD1 = this.objYesNoCID230.getCodingSchemeDesignator();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.ACUTE_MI_PRESENT.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.ACUTE_MI_PRESENT_122172.getValue();
		String strCSD2 = 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 , strCSD2, strCV, strCSD1, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Type of Myocardial Infarction.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumMITypes Enum value for MITypes
	 */
	public void setTypeOfMyocardialInfarction(int[] arrPosition, EnumCM_MITypes enumMITypes)
	{
		/**
		 * Sets the value for Primary Intervention Device.
		 */
		if(null== this.objMiTypesCID3723)
			this.objMiTypesCID3723 = new MITypes_CID3723();
		this.objMiTypesCID3723.setMITypes(enumMITypes);

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCM = this.objMiTypesCID3723.getCodeMeaning();
		String strCV = this.objMiTypesCID3723.getCodeValue();
		String strCSD1 = this.objMiTypesCID3723.getCodingSchemeDesignator();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.TYPE_OF_MYOCARDIAL_INFARCTION.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.TYPE_OF_MYOCARDIAL_INFARCTION_122170.getValue();
		String strCSD2 = 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 , strCSD2, strCV, strCSD1, "", strCM);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for ST Elevation Onset Datetime.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strSTElevationOnsetDatetime String value for DateTime of Intervention
	 */
	public void setSTElevationOnsetDatetime(int[] arrPosition, String strSTElevationOnsetDatetime)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.ST_ELEVATION_ONSET_DATETIME.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.ST_ELEVATION_ONSET_DATETIME_122173.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, strSTElevationOnsetDatetime);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Finding
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strFinding String value for Finding.
	 */
	public void setFinding(int[] arrPosition, String strFinding)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.FINDING.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.FINDING_121071.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, strFinding);
		getSRTree().addChild(objContentSequenceItem);
	}

	/**
	 * Sets the value for Number of lesion interventions attempted.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue String array for Numeric Value.
	 */
	public void setNumberOfLesionInterventionsAttempted(int[] arrPosition,String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCMForUnit = EnumCM_Unit.NOUNITS.getValue();
		String strCVForUnit = EnumCV_Unit.NOUNITS.getValue();
		String strCSDForUnit = EnumCodingSchemeDesignator.UCUM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.NUMBER_OF_LESION_INTERVENTIONS_ATTEMPTED.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.NUMBER_OF_LESION_INTERVENTIONS_ATTEMPTED_122175.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 Number of lesion interventions successful.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param arrNumericValue String array for Numeric Value.
	 */
	public void setNumberOfLesionInterventionsSuccessful(int[] arrPosition,String[] arrNumericValue)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCMForUnit = EnumCM_Unit.NOUNITS.getValue();
		String strCVForUnit = EnumCV_Unit.NOUNITS.getValue();
		String strCSDForUnit = EnumCodingSchemeDesignator.UCUM.getValue();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.NUMBER_OF_LESION_INTERVENTIONS_SUCCESSFUL.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.NUMBER_OF_LESION_INTERVENTIONS_SUCCESSFUL_122176.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 Procedure Result.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strProcedureResult String value for Description Of Material.
	 */
	public void setProcedureResult(int[] arrPosition, String strProcedureResult)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.PROCEDURE_RESULT.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.PROCEDURE_RESULT_122177.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, strProcedureResult);
		getSRTree().addChild(objContentSequenceItem);
	}
	/**
	 * Sets the value for Current Procedure Descriptions.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param strProcedureResult String value for Description Of Material.
	 * @param enumContinuityOfContent 
	 */
	public void setCurrentProcedureDescriptions(int[] arrPosition, EnumContinuityOfContent enumContinuityOfContent)
	{
		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.CURRENT_PROCEDURE_DESCRIPTIONS.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.CURRENT_PROCEDURE_DESCRIPTIONS_55111_9.getValue();
		String strCSD = EnumCodingSchemeDesignator.LN.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);
	}

	/**
	 * Sets the value for Procedure Result.
	 * @param arrPosition Identifier which shows the position of the node in the SR Tree.
	 * @param enumPCIProcedureResult Enum value for PCIProcedureResult
	 */
	public void setProcedureResult(int[] arrPosition, EnumCM_PCIProcedureResult enumPCIProcedureResult)
	{
		/**
		 * Sets the value for Primary Intervention Device.
		 */
		if(null== this.objProcedureResultCID3749)
			this.objProcedureResultCID3749 = new PCIProcedureResult_CID3749();
		this.objProcedureResultCID3749.setPCIProcedureResult(enumPCIProcedureResult);

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCM = this.objProcedureResultCID3749.getCodeMeaning();
		String strCV = this.objProcedureResultCID3749.getCodeValue();
		String strCSD1 = this.objProcedureResultCID3749.getCodingSchemeDesignator();
		String strCSV = this.objProcedureResultCID3749.getCodingSchemeVersion();

		/**
		 * Retrieves the corresponding values of CodeMeaning,CodeValue and CodingSchemeDesignator.
		 */
		String strCodeMeaning = EnumCM_PercutaneousCoronaryInterventionProcedure.PROCEDURE_RESULT.getValue();
		String strCodeValue = EnumCV_PercutaneousCoronaryInterventionProcedure.PROCEDURE_RESULT_122177.getValue();
		String strCSD2 = 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 , strCSD2, strCV, strCSD1, strCSV, strCM);
		getSRTree().addChild(objContentSequenceItem);
	}
}
