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


import cdac.medinfo.sdk.dcm30_04.templates.dicomsnomedmap.EnumChestCardiacSNOMEDMap;
import cdac.medinfo.sdk.dcm30_04.templates.dicomsnomedmap.EnumDICOMSNOMEDMap;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_NonInvasiveVascularProcedures;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_NonInvasiveVascularProcedures;


/**
 * This class represents NonInvasiveVascularProcedures_CID3820
 */
public class NonInvasiveVascularProcedures_CID3820 {
	/**
	 * The Code Value for template.
	 */
	private String strCodeValue = null;

	/**
	 * The Code Meaning for template.
	 */
	private String strCodeMeaning = null;

	/**
	 * The Coding Scheme Designator for template.
	 */
	private String strCodingSchemeDesignator;

	/**
	 * The SNOMED CT ID for template.
	 */
	private String strSNOMEDCTID = null;
	/**
	 * Instantiates a new NonInvasiveVascularProcedures_CID3820 Template 
	 */
	public NonInvasiveVascularProcedures_CID3820()
	{

	}

	/**
	 * Retrieves the value for Code Meaning.
	 * @return String value for Code Meaning.
	 */
	public String getCodeMeaning()
	{
		return strCodeMeaning;
	}

	/**
	 * Retrieves the value for Code Value.
	 * @return String value for Code Value.
	 */
	public String getCodeValue() 
	{
		return strCodeValue;
	}

	/**
	 * Retrieves the value for Coding Scheme Designator.
	 * @return String value for Coding Scheme Designator.
	 */
	public String getCodingSchemeDesignator() 
	{
		return strCodingSchemeDesignator;
	}
	
	/**
	 * Retrieves the value for SNOMED-CT ID.
	 * @return String value for SNOMED-CT ID.
	 */
	public String getSNOMEDCTID() 
	{
		return strSNOMEDCTID;
	}
	/**
	 * Sets the Code Value according to Code Meaning.
	 * @param enumNonInvasiveVascularProcedures Object of EnumCM_NonInvasiveVascularProcedures represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_NonInvasiveVascularProcedures enumNonInvasiveVascularProcedures)
	{
		switch(enumNonInvasiveVascularProcedures)
		{
		case VASCULAR_MRI:
			this.strCodeValue = EnumCV_NonInvasiveVascularProcedures.VASCULAR_MRI_P5_0903A
					.getValue();
			break;
		case CARDIAC_MRI:
			this.strCodeValue = EnumCV_NonInvasiveVascularProcedures.CARDIAC_MRI_P5_09011
					.getValue();
			break;
		case CARDIOVASCULAR_CT:
			this.strCodeValue = EnumCV_NonInvasiveVascularProcedures.CARDIOVASCULAR_CT_P5_0807F
					.getValue();
			break;
		case CT_OF_ABDOMINAL_AORTA:
			this.strCodeValue = EnumCV_NonInvasiveVascularProcedures.CT_OF_ABDOMINAL_AORTA_P5_0802B
					.getValue();
			break;
		case TRUNK_ANGIOGRAPHY:
			this.strCodeValue = EnumCV_NonInvasiveVascularProcedures.TRUNK_ANGIOGRAPHY_P5_00A0D
					.getValue();
			break;
		case PERIPHERAL_ANGIOGRAPHY:
			this.strCodeValue = EnumCV_NonInvasiveVascularProcedures.PERIPHERAL_ANGIOGRAPHY_P5_009BF
					.getValue();
			break;

		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumNonInvasiveVascularProcedures Object of EnumCM_NonInvasiveVascularProcedures represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_NonInvasiveVascularProcedures enumNonInvasiveVascularProcedures)
	{
		switch(enumNonInvasiveVascularProcedures)
		{
		case VASCULAR_MRI:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.VASCULAR_MRI
					.getSNOMEDCTID();
			break;
		case CARDIAC_MRI:
			this.strSNOMEDCTID = EnumChestCardiacSNOMEDMap.CARDIAC_MRI.getSNOMEDCTID();
			break;
		case CARDIOVASCULAR_CT:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.CARDIOVASCULAR_CT
					.getSNOMEDCTID();
			break;
		case CT_OF_ABDOMINAL_AORTA:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.CT_OF_ABDOMINAL_AORTA
					.getSNOMEDCTID();
			break;
		case TRUNK_ANGIOGRAPHY:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.TRUNK_ANGIOGRAPHY
					.getSNOMEDCTID();
			break;
		case PERIPHERAL_ANGIOGRAPHY:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.PERIPHERAL_ANGIOGRAPHY
					.getSNOMEDCTID();
			break;

		}
	}

	/**
	 * Sets the value for NonInvasiveVascularProcedures
	 * @param enumNonInvasiveVascularProcedures Object of EnumCM_NonInvasiveVascularProcedures.
	 */
	public void setNonInvasiveVascularProcedures(EnumCM_NonInvasiveVascularProcedures enumNonInvasiveVascularProcedures)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumNonInvasiveVascularProcedures.getValue();
			this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.SRT.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumNonInvasiveVascularProcedures);

		/**
		 * set SNOMED-CT ID
		 */
		setSNOMEDCTID(enumNonInvasiveVascularProcedures);
	}
}
