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


/**
 * This class represents OsseousAnatomyModifiers - CID6115
 */
public class OsseousAnatomyModifiers_CID6115 
{
	
	/**
	 * 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;
	
	/**
	 * Retrieves the value for SNOMED-CT ID.
	 * @return String value for SNOMED-CT ID.
	 */
	public String getSNOMEDCTID() 
	{
		return strSNOMEDCTID;
	}
	/**
	 * Instantiates a new OsseousAnatomyModifiers_CID6115 Template 
	 */
	public OsseousAnatomyModifiers_CID6115()
	{

	}

	/**
	 * 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;
	}

	/**
	 * Sets the Code Value according to Code Meaning.
	 * @param enumOsseousAnatomyModifiers Object of EnumCM_OsseousAnatomyModifiers represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_OsseousAnatomyModifiers enumOsseousAnatomyModifiers)
	{
		switch(enumOsseousAnatomyModifiers)
		{
		case ACROMION_PROCESS_OF_SCAPULA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.ACROMION_PROCESS_OF_SCAPULA_T_12281.getValue(); break;
		case ANGLE_OF_RIB: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.ANGLE_OF_RIB_T_11307.getValue(); break;
		case ARCH_OF_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.ARCH_OF_VERTEBRA_T_11511.getValue(); break;
		case BODY_OF_STERNUM: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.BODY_OF_STERNUM_T_11220.getValue(); break;
		case CLAVICULAR_NOTCH_OF_STERNUM: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.CLAVICULAR_NOTCH_OF_STERNUM_T_11219.getValue(); break;
		case CORACOID_PROCESS_OF_SCAPULA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.CORACOID_PROCESS_OF_SCAPULA_T_12282.getValue(); break;
		case COSTAL_GROOVE: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.COSTAL_GROOVE_T_11308.getValue(); break;
		case DORSAL_ASPECT_OF_SCAPULA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.DORSAL_ASPECT_OF_SCAPULA_T_12287.getValue(); break;
		case GLENOID_CAVITY_OF_SCAPULA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.GLENOID_CAVITY_OF_SCAPULA_T_1228A.getValue(); break;
		case HEAD_OF_RIB: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.HEAD_OF_RIB_T_11301.getValue(); break;
		case INFERIOR_ARTICULAR_FACET_OF_AXIS: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.INFERIOR_ARTICULAR_FACET_OF_AXIS_T_116EF.getValue(); break;
		case INFERIOR_ARTICULAR_PROCESS_OF_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.INFERIOR_ARTICULAR_PROCESS_OF_VERTEBRA_T_1153F.getValue(); break;
		case LAMINA_OF_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.LAMINA_OF_VERTEBRA_T_11514.getValue(); break;
		case MANUBRIUM_OF_STERNUM: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.MANUBRIUM_OF_STERNUM_T_11211.getValue(); break;
		case NECK_OF_RIB: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.NECK_OF_RIB_T_11303.getValue(); break;
		case PECTORAL_GIRDLE: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.PECTORAL_GIRDLE_T_D2236.getValue(); break;
		case PEDICLE_OF_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.PEDICLE_OF_VERTEBRA_T_11515.getValue(); break;
		case RIB_SCALENE_TUBERCLE: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.RIB_SCALENE_TUBERCLE_112096.getValue(); break;
		case SCAPULAR_INFRASPINATUS_FOSSA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SCAPULAR_INFRASPINATUS_FOSSA_112101.getValue(); break;
		case SCAPULAR_SPINE: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SCAPULAR_SPINE_112099.getValue(); break;
		case SCAPULAR_SUPRASPINATUS_FOSSA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SCAPULAR_SUPRASPINATUS_FOSSA_112100.getValue(); break;
		case SHAFT_OF_RIB: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SHAFT_OF_RIB_T_11309.getValue(); break;
		case SPINOUS_PROCESS_OF_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SPINOUS_PROCESS_OF_VERTEBRA_T_11512.getValue(); break;
		case STERNAL_ANGLE: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.STERNAL_ANGLE_T_11221.getValue(); break;
		case SUBSCAPULAR_FOSSA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SUBSCAPULAR_FOSSA_112098.getValue(); break;
		case SUPERIOR_ARTICULAR_FACET_OF_AXIS: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SUPERIOR_ARTICULAR_FACET_OF_AXIS_T_116EE.getValue(); break;
		case SUPERIOR_ARTICULAR_PROCESS_OF_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SUPERIOR_ARTICULAR_PROCESS_OF_VERTEBRA_T_1153E.getValue(); break;
		case SUPRASTERNAL_NOTCH: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.SUPRASTERNAL_NOTCH_T_11218.getValue(); break;
		case TRANSVERSE_PROCESS_OR_VERTEBRA: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.TRANSVERSE_PROCESS_OR_VERTEBRA_T_11513.getValue(); break;
		case TUBERCLE_OF_RIB: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.TUBERCLE_OF_RIB_T_11304.getValue(); break;
		case VERTEBRAL_CANAL: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.VERTEBRAL_CANAL_T_1151F.getValue(); break;
		case VERTEBRAL_FORAMEN: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.VERTEBRAL_FORAMEN_T_11531.getValue(); break;
		case VERTEBRAL_INTERVERTEBRAL_NOTCH: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.VERTEBRAL_INTERVERTEBRAL_NOTCH_112097.getValue(); break;
		case XIPHOID_PROCESS_OF_STERNUM: this.strCodeValue =EnumCV_OsseousAnatomyModifiers.XIPHOID_PROCESS_OF_STERNUM_T_11227.getValue(); break;
		}
	}
	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumOsseousAnatomyModifiers Object of EnumCM_OsseousAnatomyModifiers represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_OsseousAnatomyModifiers enumOsseousAnatomyModifiers)
	{
		switch(enumOsseousAnatomyModifiers)
		{
		case ACROMION_PROCESS_OF_SCAPULA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.ACROMION_PROCESS_OF_SCAPULA.getSNOMEDCTID(); break;
		case ANGLE_OF_RIB : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.ANGLE_OF_RIB.getSNOMEDCTID(); break;
		case ARCH_OF_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.ARCH_OF_VERTEBRA.getSNOMEDCTID(); break;
		case BODY_OF_STERNUM : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.BODY_OF_STERNUM.getSNOMEDCTID(); break;
		case CLAVICULAR_NOTCH_OF_STERNUM : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.CLAVICULAR_NOTCH_OF_STERNUM.getSNOMEDCTID(); break;
		case CORACOID_PROCESS_OF_SCAPULA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.CORACOID_PROCESS_OF_SCAPULA.getSNOMEDCTID(); break;
		case COSTAL_GROOVE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.COSTAL_GROOVE.getSNOMEDCTID(); break;
		case DORSAL_ASPECT_OF_SCAPULA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.DORSAL_ASPECT_OF_SCAPULA.getSNOMEDCTID(); break;
		case GLENOID_CAVITY_OF_SCAPULA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.GLENOID_CAVITY_OF_SCAPULA.getSNOMEDCTID(); break;
		case HEAD_OF_RIB : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.HEAD_OF_RIB.getSNOMEDCTID(); break;
		case INFERIOR_ARTICULAR_FACET_OF_AXIS : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.INFERIOR_ARTICULAR_FACET_OF_AXIS.getSNOMEDCTID(); break;
		case INFERIOR_ARTICULAR_PROCESS_OF_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.INFERIOR_ARTICULAR_PROCESS_OF_VERTEBRA.getSNOMEDCTID(); break;
		case LAMINA_OF_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.LAMINA_OF_VERTEBRA.getSNOMEDCTID(); break;
		case MANUBRIUM_OF_STERNUM : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.MANUBRIUM_OF_STERNUM.getSNOMEDCTID(); break;
		case NECK_OF_RIB : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.NECK_OF_RIB.getSNOMEDCTID(); break;
		case PECTORAL_GIRDLE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.PECTORAL_GIRDLE.getSNOMEDCTID(); break;
		case PEDICLE_OF_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.PEDICLE_OF_VERTEBRA.getSNOMEDCTID(); break;
		case SHAFT_OF_RIB : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.SHAFT_OF_RIB.getSNOMEDCTID(); break;
		case SPINOUS_PROCESS_OF_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.SPINOUS_PROCESS_OF_VERTEBRA.getSNOMEDCTID(); break;
		case STERNAL_ANGLE : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.STERNAL_ANGLE.getSNOMEDCTID(); break;
		case SUPERIOR_ARTICULAR_FACET_OF_AXIS : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.SUPERIOR_ARTICULAR_FACET_OF_AXIS.getSNOMEDCTID(); break;
		case SUPERIOR_ARTICULAR_PROCESS_OF_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.SUPERIOR_ARTICULAR_PROCESS_OF_VERTEBRA.getSNOMEDCTID(); break;
		case SUPRASTERNAL_NOTCH : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.SUPRASTERNAL_NOTCH.getSNOMEDCTID(); break;
		case TRANSVERSE_PROCESS_OR_VERTEBRA : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.TRANSVERSE_PROCESS_OR_VERTEBRA.getSNOMEDCTID(); break;
		case TUBERCLE_OF_RIB : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.TUBERCLE_OF_RIB.getSNOMEDCTID(); break;
		case VERTEBRAL_CANAL : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.VERTEBRAL_CANAL.getSNOMEDCTID(); break;
		case VERTEBRAL_FORAMEN : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.VERTEBRAL_FORAMEN.getSNOMEDCTID(); break;
		case XIPHOID_PROCESS_OF_STERNUM : this.strSNOMEDCTID =EnumAnatomicSNOMEDMap.XIPHOID_PROCESS_OF_STERNUM.getSNOMEDCTID(); break;
		}
	}
	/**
	 * Sets the value for OsseousAnatomyModifiers
	 * @param enumOsseousAnatomyModifiers Object of EnumCM_OsseousAnatomyModifiers.
	 */
	public void setOsseousAnatomyModifiers(EnumCM_OsseousAnatomyModifiers enumOsseousAnatomyModifiers)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumOsseousAnatomyModifiers.getValue();
		if(strCodeMeaning.equalsIgnoreCase(EnumCM_OsseousAnatomyModifiers.RIB_SCALENE_TUBERCLE.getValue())
				|| strCodeMeaning.equalsIgnoreCase(EnumCM_OsseousAnatomyModifiers.SCAPULAR_INFRASPINATUS_FOSSA.getValue())
				|| strCodeMeaning.equalsIgnoreCase(EnumCM_OsseousAnatomyModifiers.SUBSCAPULAR_FOSSA.getValue())
				|| strCodeMeaning.equalsIgnoreCase(EnumCM_OsseousAnatomyModifiers.SCAPULAR_SPINE.getValue())
				|| strCodeMeaning.equalsIgnoreCase(EnumCM_OsseousAnatomyModifiers.SCAPULAR_SUPRASPINATUS_FOSSA.getValue())
				|| strCodeMeaning.equalsIgnoreCase(EnumCM_OsseousAnatomyModifiers.VERTEBRAL_INTERVERTEBRAL_NOTCH.getValue()))
			this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.DCM.getValue();
		else
			this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.SRT.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumOsseousAnatomyModifiers);
		/**
		 * set SNOMED-CT ID
		 */
		setSNOMEDCTID(enumOsseousAnatomyModifiers);
	}
}
