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


/**
 * This class represents ColonNonLesionObjectType CID6203
 */
public class ColonNonLesionObjectType_CID6203 {

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

	}

	/**
	 * 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 enumColonNonLesionObjectType Object of EnumCM_ColonNonLesionObjectType represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_ColonNonLesionObjectType enumColonNonLesionObjectType)
	{
		switch(enumColonNonLesionObjectType) 
		{
		case BULLET:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.BULLET_A_32110
					.getValue();
			break;
		case STAPLE:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.STAPLE_A_13600
					.getValue();
			break;
		case SUTURE_MATERIAL:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.SUTURE_MATERIAL_A_13510
					.getValue();
			break;
		case SCAR_TISSUE:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.SCAR_TISSUE_M_78060
					.getValue();
			break;
		case CATHETER:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.CATHETER_A_26800
					.getValue();
			break;
		case CHEST_TUBE:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.CHEST_TUBE_112173
					.getValue();
			break;
		case VENA_CAVA_FILTER:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.VENA_CAVA_FILTER_A_14611
					.getValue();
			break;
		case PROSTHESIS:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.PROSTHESIS_A_04000
					.getValue();
			break;
		case JEJUNOSTOMY_TUBE:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.JEJUNOSTOMY_TUBE_A_26434
					.getValue();
			break;
		case KIDNEY_STENT:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.KIDNEY_STENT_112175
					.getValue();
			break;
		case URETERAL_STENT:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.URETERAL_STENT_A_11C08
					.getValue();
			break;
		case PANCREATIC_STENT:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.PANCREATIC_STENT_112176
					.getValue();
			break;
		case JEWELRY:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.JEWELRY_A_61000
					.getValue();
			break;
		case COIN:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.COIN_112178
					.getValue();
			break;
		case PIN:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.PIN_A_12024
					.getValue();
			break;
		case NEEDLE:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.NEEDLE_A_30360
					.getValue();
			break;
		case FIDUCIAL_MARK:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.FIDUCIAL_MARK_112171
					.getValue();
			break;
		case COLOSTOMY_SET:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.COLOSTOMY_SET_A_120DD
					.getValue();
			break;
		case COLOSTOMY_BAG:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.COLOSTOMY_BAG_A_10DBC
					.getValue();
			break;
		case ILEOSTOMY_SET:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.ILEOSTOMY_SET_A_1009E
					.getValue();
			break;
		case ILEOSTOMY_BAG:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.ILEOSTOMY_BAG_A_10029
					.getValue();
			break;
		case UROSTOMY_SET:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.UROSTOMY_SET_A_10703
					.getValue();
			break;
		case UROSTOMY_BAG:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.UROSTOMY_BAG_A_105E3
					.getValue();
			break;
		case RECTAL_TUBE:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.RECTAL_TUBE_A_26440
					.getValue();
			break;
		case URETHRAL_CATHETER:
			this.strCodeValue = EnumCV_ColonNonLesionObjectType.URETHRAL_CATHETER_A_26864
					.getValue();
			break;

		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumColonNonLesionObjectType Object of EnumCM_ColonNonLesionObjectType represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_ColonNonLesionObjectType enumColonNonLesionObjectType)
	{
		switch(enumColonNonLesionObjectType)
		{
		case BULLET:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.BULLET.getSNOMEDCTID();
			break;
		case STAPLE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.STAPLE.getSNOMEDCTID();
			break;
		case SUTURE_MATERIAL:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.SUTURE_MATERIAL
					.getSNOMEDCTID();
			break;
		case SCAR_TISSUE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.SCAR_TISSUE.getSNOMEDCTID();
			break;
		case CATHETER:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.CATHETER.getSNOMEDCTID();
			break;
		case VENA_CAVA_FILTER:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.VENA_CAVA_FILTER
					.getSNOMEDCTID();
			break;
		case PROSTHESIS:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.PROSTHESIS.getSNOMEDCTID();
			break;
		case JEJUNOSTOMY_TUBE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.JEJUNOSTOMY_TUBE
					.getSNOMEDCTID();
			break;
		case URETERAL_STENT:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.URETERAL_STENT
					.getSNOMEDCTID();
			break;
		case PANCREATIC_STENT:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.PANCREATIC_STENT
					.getSNOMEDCTID();
			break;
		case JEWELRY:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.JEWELRY.getSNOMEDCTID();
			break;
		case PIN:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.PIN.getSNOMEDCTID();
			break;
		case NEEDLE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.NEEDLE.getSNOMEDCTID();
			break;
		case COLOSTOMY_SET:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.COLOSTOMY_SET
					.getSNOMEDCTID();
			break;
		case COLOSTOMY_BAG:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.COLOSTOMY_BAG
					.getSNOMEDCTID();
			break;
		case ILEOSTOMY_SET:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.ILEOSTOMY_SET
					.getSNOMEDCTID();
			break;
		case ILEOSTOMY_BAG:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.ILEOSTOMY_BAG
					.getSNOMEDCTID();
			break;
		case UROSTOMY_SET:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.UROSTOMY_SET
					.getSNOMEDCTID();
			break;
		case UROSTOMY_BAG:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.UROSTOMY_BAG
					.getSNOMEDCTID();
			break;
		case RECTAL_TUBE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.RECTAL_TUBE.getSNOMEDCTID();
			break;
		case URETHRAL_CATHETER:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.URETHRAL_CATHETER
					.getSNOMEDCTID();
			break;

		}
	}

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

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