/*******************************************************************************
 *  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.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_EndoscopyAnatomicRegions;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_EndoscopyAnatomicRegions;
import cdac.medinfo.sdk.dcm30_04.templates.dicomsnomedmap.EnumDICOMSNOMEDMap;

/**
 * This class represents EndoscopyAnatomicRegions CID4040
 */
public class EndoscopyAnatomicRegions_CID4040 {

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

	}

	/**
	 * 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 enumEndoscopyAnatomicRegions Object of EnumCM_EndoscopyAnatomicRegions represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_EndoscopyAnatomicRegions enumEndoscopyAnatomicRegions)
	{
		switch(enumEndoscopyAnatomicRegions)
		{
		case ABDOMEN: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.ABDOMEN_T_D4000.getValue(); break;
		case ANUS_RECTUM_AND_SIGMOID_COLON: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.ANUS_RECTUM_AND_SIGMOID_COLON_T_59490.getValue(); break;
		case BILE_DUCT: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.BILE_DUCT_T_60610.getValue(); break;
		case BLADDER: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.BLADDER_T_74000.getValue(); break;
		case BLADDER_AND_URETHRA: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.BLADDER_AND_URETHRA_T_DD123.getValue(); break;
		case BRONCHUS: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.BRONCHUS_T_26000.getValue(); break;
		case CERVIX: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.CERVIX_T_83200.getValue(); break;
		case CHEST: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.CHEST_T_D3000.getValue(); break;
		case ESOPHAGUS_STOMACH_AND_DUODENUM: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.ESOPHAGUS_STOMACH_AND_DUODENUM_T_DD163.getValue(); break;
		case EXTERNAL_AUDITORY_CANAL: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.EXTERNAL_AUDITORY_CANAL_T_AB200.getValue(); break;
		case GALLBLADDER: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.GALLBLADDER_T_63000.getValue(); break;
		case INGUINAL_REGION: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.INGUINAL_REGION_T_D7000.getValue(); break;
		case JOINT: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.JOINT_T_15001.getValue(); break;
		case KIDNEY: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.KIDNEY_T_71000.getValue(); break;
		case KNEE: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.KNEE_T_D9200.getValue(); break;
		case LARGE_INTESTINE: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.LARGE_INTESTINE_T_59000.getValue(); break;
		case LARYNX: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.LARYNX_T_24100.getValue(); break;
		case LUMEN_OF_BLOOD_VESSEL: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.LUMEN_OF_BLOOD_VESSEL_T_40230.getValue(); break;
		case MEDIASTINUM: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.MEDIASTINUM_T_D3300.getValue(); break;
		case NASO_PHARYNX: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.NASO_PHARYNX_T_2300C.getValue(); break;
		case PARANASAL_SINUS: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.PARANASAL_SINUS_T_22000.getValue(); break;
		case PHARYNX: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.PHARYNX_T_55000.getValue(); break;
		case PHARYNX_AND_LARYNX: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.PHARYNX_AND_LARYNX_T_20101.getValue(); break;
		case RECTUM: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.RECTUM_T_59600.getValue(); break;
		case SHOULDER: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.SHOULDER_T_D2220.getValue(); break;
		case SIGMOID_COLON: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.SIGMOID_COLON_T_59470.getValue(); break;
		case SPINE: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.SPINE_T_D0146.getValue(); break;
		case TRACHEA_AND_BRONCHUS: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.TRACHEA_AND_BRONCHUS_T_DD006.getValue(); break;
		case UPPER_URINARY_TRACT: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.UPPER_URINARY_TRACT_T_70010.getValue(); break;
		case URETER: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.URETER_T_73000.getValue(); break;
		case UTERUS_AND_FALLOPIAN_TUBES: this.strCodeValue =EnumCV_EndoscopyAnatomicRegions.UTERUS_AND_FALLOPIAN_TUBES_T_88920.getValue(); break;
		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumEndoscopyAnatomicRegions Object of EnumCM_EndoscopyAnatomicRegions represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_EndoscopyAnatomicRegions enumEndoscopyAnatomicRegions)
	{
		switch(enumEndoscopyAnatomicRegions)
		{
		case ABDOMEN : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.ABDOMEN.getSNOMEDCTID(); break;
		case ANUS_RECTUM_AND_SIGMOID_COLON : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.ANUS_RECTUM_AND_SIGMOID_COLON.getSNOMEDCTID(); break;
		case BILE_DUCT : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.BILE_DUCT.getSNOMEDCTID(); break;
		case BLADDER : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.BLADDER.getSNOMEDCTID(); break;
		case BLADDER_AND_URETHRA : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.BLADDER_AND_URETHRA.getSNOMEDCTID(); break;
		case BRONCHUS : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.BRONCHUS.getSNOMEDCTID(); break;
		case CERVIX : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.CERVIX.getSNOMEDCTID(); break;
		case CHEST : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.CHEST.getSNOMEDCTID(); break;
		case ESOPHAGUS_STOMACH_AND_DUODENUM : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.ESOPHAGUS_STOMACH_AND_DUODENUM.getSNOMEDCTID(); break;
		case EXTERNAL_AUDITORY_CANAL : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.EXTERNAL_AUDITORY_CANAL.getSNOMEDCTID(); break;
		case GALLBLADDER : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.GALLBLADDER.getSNOMEDCTID(); break;
		case INGUINAL_REGION : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.INGUINAL_REGION.getSNOMEDCTID(); break;
		case JOINT : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.JOINT.getSNOMEDCTID(); break;
		case KIDNEY : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.KIDNEY.getSNOMEDCTID(); break;
		case KNEE : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.KNEE.getSNOMEDCTID(); break;
		case LARGE_INTESTINE : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.LARGE_INTESTINE.getSNOMEDCTID(); break;
		case LARYNX : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.LARYNX.getSNOMEDCTID(); break;
		case LUMEN_OF_BLOOD_VESSEL : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.LUMEN_OF_BLOOD_VESSEL.getSNOMEDCTID(); break;
		case MEDIASTINUM : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.MEDIASTINUM.getSNOMEDCTID(); break;
		case NASO_PHARYNX : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.NASO_PHARYNX.getSNOMEDCTID(); break;
		case PARANASAL_SINUS : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.PARANASAL_SINUS.getSNOMEDCTID(); break;
		case PHARYNX : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.PHARYNX.getSNOMEDCTID(); break;
		case PHARYNX_AND_LARYNX : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.PHARYNX_AND_LARYNX.getSNOMEDCTID(); break;
		case RECTUM : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.RECTUM.getSNOMEDCTID(); break;
		case SHOULDER : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.SHOULDER.getSNOMEDCTID(); break;
		case SIGMOID_COLON : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.SIGMOID_COLON.getSNOMEDCTID(); break;
		case SPINE : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.SPINE.getSNOMEDCTID(); break;
		case TRACHEA_AND_BRONCHUS : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.TRACHEA_AND_BRONCHUS.getSNOMEDCTID(); break;
		case UPPER_URINARY_TRACT : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.UPPER_URINARY_TRACT.getSNOMEDCTID(); break;
		case URETER : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.URETER.getSNOMEDCTID(); break;
		case UTERUS_AND_FALLOPIAN_TUBES : this.strSNOMEDCTID =EnumDICOMSNOMEDMap.UTERUS_AND_FALLOPIAN_TUBES.getSNOMEDCTID(); break;
		}
	}

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

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