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


import cdac.medinfo.sdk.dcm30_04.templates.dicomsnomedmap.EnumAnatomicSNOMEDMap;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_AbdominalVeinsLateral;
//import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_NuclearCardiologyProtocols;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_AbdominalVeinsLateral;


/**
 * This class represents AbdominalVeinsLateral - CID12113
 */
public class AbdominalVeinsLateral_CID12113
{
	
	/**
	 * 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 AbdominalVeinsLateral_CID12113 Template 
	 */
	public AbdominalVeinsLateral_CID12113()
	{

	}

	/**
	 * 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 enumAbdominalVeinsLateral Object of EnumCM_AbdominalVeinsLateral represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_AbdominalVeinsLateral enumAbdominalVeinsLateral)
	{
		switch(enumAbdominalVeinsLateral)
		{
		case COMMON_ILIAC_VEIN:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.COMMON_ILIAC_VEIN_T_48920
					.getValue();
			break;
		case GASTRIC_VEIN:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.GASTRIC_VEIN_T_48820
					.getValue();
			break;
		case ILEAL_VEIN:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.ILEAL_VEIN_G_0370
					.getValue();
			break;
		case OVARIAN_VEIN:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.OVARIAN_VEIN_T_48780
					.getValue();
			break;
		case TESTICULAR_VEIN:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.TESTICULAR_VEIN_T_48770
					.getValue();
			break;
		case FIRST_LUMBAR_ARTERY:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.FIRST_LUMBAR_ARTERY_G_035E
					.getValue();
			break;
		case SECOND_LUMBAR_ARTERY:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.SECOND_LUMBAR_ARTERY_G_035F
					.getValue();
			break;
		case THIRD_LUMBAR_ARTERY:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.THIRD_LUMBAR_ARTERY_G_0360
					.getValue();
			break;
		case FOURTH_LUMBAR_ARTERY:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.FOURTH_LUMBAR_ARTERY_G_0361
					.getValue();
			break;
		case FIFTH_LUMBAR_ARTERY:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.FIFTH_LUMBAR_ARTERY_G_0362
					.getValue();
			break;
		case SIXTH_LUMBAR_ARTERY:
			this.strCodeValue = EnumCV_AbdominalVeinsLateral.SIXTH_LUMBAR_ARTERY_G_0363
					.getValue();
			break;
		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumAbdominalVeinsLateral Object of EnumCM_AbdominalVeinsLateral represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_AbdominalVeinsLateral enumAbdominalVeinsLateral)
	{
		switch(enumAbdominalVeinsLateral)
		{
		case COMMON_ILIAC_VEIN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.COMMON_ILIAC_VEIN
					.getSNOMEDCTID();
			break;
		case GASTRIC_VEIN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.GASTRIC_VEIN
					.getSNOMEDCTID();
			break;
		case ILEAL_VEIN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.ILEAL_VEIN.getSNOMEDCTID();
			break;
		case OVARIAN_VEIN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.OVARIAN_VEIN
					.getSNOMEDCTID();
			break;
		case TESTICULAR_VEIN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.TESTICULAR_VEIN
					.getSNOMEDCTID();
			break;
		case FIRST_LUMBAR_ARTERY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.FIRST_LUMBAR_ARTERY
					.getSNOMEDCTID();
			break;
		case SECOND_LUMBAR_ARTERY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.SECOND_LUMBAR_ARTERY
					.getSNOMEDCTID();
			break;
		case THIRD_LUMBAR_ARTERY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.THIRD_LUMBAR_ARTERY
					.getSNOMEDCTID();
			break;
		case FOURTH_LUMBAR_ARTERY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.FOURTH_LUMBAR_ARTERY
					.getSNOMEDCTID();
			break;
		case FIFTH_LUMBAR_ARTERY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.FIFTH_LUMBAR_ARTERY
					.getSNOMEDCTID();
			break;
		case SIXTH_LUMBAR_ARTERY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.SIXTH_LUMBAR_ARTERY
					.getSNOMEDCTID();
			break;

		}
	}
	/**
	 * Sets the value for AbdominalVeinsLateral.
	 * @param enumAbdominalVeinsLateral Object of EnumCM_AbdominalVeinsLateral.
	 */
	public void setAbdominalVeinsLateral(EnumCM_AbdominalVeinsLateral enumAbdominalVeinsLateral)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumAbdominalVeinsLateral.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.SRT.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumAbdominalVeinsLateral);
		/**
		 * set SNOMED-CT ID
		 */
		setSNOMEDCTID(enumAbdominalVeinsLateral);
	}
}
