/*******************************************************************************
 *  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.EnumAnatomicSNOMEDMap;
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_AbdominalOrganSegmentationTypes;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_AbdominalOrganSegmentationTypes;


/**
 * This class represents AbdominalOrganSegmentationTypes CID7154
 */
public class AbdominalOrganSegmentationTypes_CID7154 {

	/**
	 * 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 AbdominalOrganSegmentationTypes_CID7154 Template 
	 */
	public AbdominalOrganSegmentationTypes_CID7154()
	{

	}

	/**
	 * 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 enumAbdominalOrganSegmentationTypes Object of EnumCM_AbdominalOrganSegmentationTypes represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_AbdominalOrganSegmentationTypes enumAbdominalOrganSegmentationTypes)
	{
		switch(enumAbdominalOrganSegmentationTypes)
		{
		case ABDOMEN:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.ABDOMEN_T_D4000
					.getValue();
			break;
		case ABDOMINAL_CAVITY:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.ABDOMINAL_CAVITY_T_D4010
					.getValue();
			break;
		case ABDOMINAL_WALL_MUSCLE:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.ABDOMINAL_WALL_MUSCLE_T_14001
					.getValue();
			break;
		case ADRENAL_GLAND:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.ADRENAL_GLAND_T_B3000
					.getValue();
			break;
		case ABDOMINAL_AORTA:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.ABDOMINAL_AORTA_T_42500
					.getValue();
			break;
		case BILE_DUCT:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.BILE_DUCT_T_60610
					.getValue();
			break;
		case INFERIOR_VENA_CAVA:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.INFERIOR_VENA_CAVA_T_48710
					.getValue();
			break;
		case KIDNEY:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.KIDNEY_T_71000
					.getValue();
			break;
		case LIVER:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.LIVER_T_62000
					.getValue();
			break;
		case OMENTUM:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.OMENTUM_T_D4600
					.getValue();
			break;
		case PERITONEAL_CAVITY:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.PERITONEAL_CAVITY_T_D4425
					.getValue();
			break;
		case PERITIONEUM:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.PERITIONEUM_T_D4400
					.getValue();
			break;
		case RETROPERITONEAL_SPACE:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.RETROPERITONEAL_SPACE_T_D4900
					.getValue();
			break;
		case SKIN_OF_ABDOMEN:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.SKIN_OF_ABDOMEN_T_02480
					.getValue();
			break;
		case SMALL_INTESTINE:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.SMALL_INTESTINE_T_58000
					.getValue();
			break;
		case SPLEEN:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.SPLEEN_T_C3000
					.getValue();
			break;
		case URINARY_SYSTEM:
			this.strCodeValue = EnumCV_AbdominalOrganSegmentationTypes.URINARY_SYSTEM_T_70001
					.getValue();
			break;
		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumAbdominalOrganSegmentationTypes Object of EnumCM_AbdominalOrganSegmentationTypes represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_AbdominalOrganSegmentationTypes enumAbdominalOrganSegmentationTypes)
	{
		switch(enumAbdominalOrganSegmentationTypes)
		{
		case ABDOMEN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.ABDOMEN.getSNOMEDCTID();
			break;
		case ABDOMINAL_CAVITY:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.ABDOMINAL_CAVITY
					.getSNOMEDCTID();
			break;
		case ABDOMINAL_WALL_MUSCLE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.ABDOMINAL_WALL_MUSCLE
					.getSNOMEDCTID();
			break;
		case ADRENAL_GLAND:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.ADRENAL_GLAND
					.getSNOMEDCTID();
			break;
		case ABDOMINAL_AORTA:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.ABDOMINAL_AORTA
					.getSNOMEDCTID();
			break;
		case BILE_DUCT:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.BILE_DUCT.getSNOMEDCTID();
			break;
		case INFERIOR_VENA_CAVA:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.INFERIOR_VENA_CAVA
					.getSNOMEDCTID();
			break;
		case KIDNEY:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.KIDNEY.getSNOMEDCTID();
			break;
		case LIVER:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.LIVER.getSNOMEDCTID();
			break;
		case OMENTUM:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.OMENTUM.getSNOMEDCTID();
			break;
		case PERITONEAL_CAVITY:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.PERITONEAL_CAVITY
					.getSNOMEDCTID();
			break;
		case PERITIONEUM:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.PERITIONEUM.getSNOMEDCTID();
			break;
		case RETROPERITONEAL_SPACE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.RETROPERITONEAL_SPACE
					.getSNOMEDCTID();
			break;
		case SKIN_OF_ABDOMEN:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.SKIN_OF_ABDOMEN
					.getSNOMEDCTID();
			break;
		case SMALL_INTESTINE:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.SMALL_INTESTINE
					.getSNOMEDCTID();
			break;
		case SPLEEN:
			this.strSNOMEDCTID = EnumAnatomicSNOMEDMap.SPLEEN.getSNOMEDCTID();
			break;
		case URINARY_SYSTEM:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.URINARY_SYSTEM
					.getSNOMEDCTID();
			break;
		}
	}

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

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