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


/**
 * This class represents OphthalmicAnatomicStructureImaged - CID4209
 */
public class OphthalmicAnatomicStructureImaged_CID4209 
{
	
	/**
	 * 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 OphthalmicAnatomicStructureImaged_CID4209 Template 
	 */
	public OphthalmicAnatomicStructureImaged_CID4209()
	{

	}

	/**
	 * 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 enumOphthalmicAnatomicStructureImaged Object of EnumCM_OphthalmicAnatomicStructureImaged represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_OphthalmicAnatomicStructureImaged enumOphthalmicAnatomicStructureImaged)
	{
		switch(enumOphthalmicAnatomicStructureImaged)
		{
		case ANTERIOR_CHAMBER_OF_EYE: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.ANTERIOR_CHAMBER_OF_EYE_T_AA050.getValue();break;
		case BOTH_EYES: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.BOTH_EYES_T_AA180.getValue();break;
		case CHOROID_OF_EYE: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.CHOROID_OF_EYE_T_AA310.getValue();break;
		case CILIARY_BODY: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.CILIARY_BODY_T_AA400.getValue();break;
		case CONJUNCTIVA: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.CONJUNCTIVA_T_AA860.getValue();break;
		case CORNEA: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.CORNEA_T_AA200.getValue();break;
		case EYE: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.EYE_T_AA000.getValue();break;
		case EYELID: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.EYELID_T_AA810.getValue();break;
		case FOVEA_CENTRALIS: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.FOVEA_CENTRALIS_T_AA621.getValue();break;
		case IRIS: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.IRIS_T_AA500.getValue();break;
		case LACRIMAL_CARUNCLE: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.LACRIMAL_CARUNCLE_T_AA862.getValue();break;
		case LACRIMAL_GLAND: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.LACRIMAL_GLAND_T_AA910.getValue();break;
		case LACRIMAL_SAC: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.LACRIMAL_SAC_T_AA940.getValue();break;
		case LENS: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.LENS_T_AA700.getValue();break;
		case LOWER_EYELID: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.LOWER_EYELID_T_AA830.getValue();break;
		case OPHTHALMIC_ARTERY: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.OPHTHALMIC_ARTERY_T_45400.getValue();break;
		case OPTIC_NERVE_HEAD: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.OPTIC_NERVE_HEAD_T_AA630.getValue();break;
		case RETINA: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.RETINA_T_AA610.getValue();break;
		case SCLERA: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.SCLERA_T_AA110.getValue();break;
		case UPPER_EYELID: this.strCodeValue = EnumCV_OphthalmicAnatomicStructureImaged.UPPER_EYELID_T_AA820.getValue();break;

		}
	}
	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumOphthalmicAnatomicStructureImaged Object of EnumCM_OphthalmicAnatomicStructureImaged represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_OphthalmicAnatomicStructureImaged enumOphthalmicAnatomicStructureImaged)
	{
		switch(enumOphthalmicAnatomicStructureImaged)
		{
		case ANTERIOR_CHAMBER_OF_EYE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.ANTERIOR_CHAMBER_OF_EYE.getSNOMEDCTID(); break;
		case BOTH_EYES : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.BOTH_EYES.getSNOMEDCTID(); break;
		case CHOROID_OF_EYE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.CHOROID_OF_EYE.getSNOMEDCTID(); break;
		case CILIARY_BODY : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.CILIARY_BODY.getSNOMEDCTID(); break;
		case CONJUNCTIVA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.CONJUNCTIVA.getSNOMEDCTID(); break;
		case CORNEA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.CORNEA.getSNOMEDCTID(); break;
		case EYE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.EYE.getSNOMEDCTID(); break;
		case EYELID : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.EYELID.getSNOMEDCTID(); break;
		case FOVEA_CENTRALIS : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.FOVEA_CENTRALIS.getSNOMEDCTID(); break;
		case IRIS : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.IRIS.getSNOMEDCTID(); break;
		case LACRIMAL_CARUNCLE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.LACRIMAL_CARUNCLE.getSNOMEDCTID(); break;
		case LACRIMAL_GLAND : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.LACRIMAL_GLAND.getSNOMEDCTID(); break;
		case LACRIMAL_SAC : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.LACRIMAL_SAC.getSNOMEDCTID(); break;
		case LENS : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.LENS.getSNOMEDCTID(); break;
		case LOWER_EYELID : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.LOWER_EYELID.getSNOMEDCTID(); break;
		case OPHTHALMIC_ARTERY : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.OPHTHALMIC_ARTERY.getSNOMEDCTID(); break;
		case OPTIC_NERVE_HEAD : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.OPTIC_NERVE_HEAD.getSNOMEDCTID(); break;
		case RETINA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.RETINA.getSNOMEDCTID(); break;
		case SCLERA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.SCLERA.getSNOMEDCTID(); break;
		case UPPER_EYELID : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.UPPER_EYELID.getSNOMEDCTID(); break;
		}
	}
	/**
	 * Sets the value for OphthalmicAnatomicStructureImaged
	 * @param enumOphthalmicAnatomicStructureImaged Object of EnumCM_OphthalmicAnatomicStructureImaged.
	 */
	public void setOphthalmicAnatomicStructureImaged(EnumCM_OphthalmicAnatomicStructureImaged enumOphthalmicAnatomicStructureImaged)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumOphthalmicAnatomicStructureImaged.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.SRT.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumOphthalmicAnatomicStructureImaged);
		/**
		 * set SNOMED-CT ID
		 */
		setSNOMEDCTID(enumOphthalmicAnatomicStructureImaged);
	}
}
