/*******************************************************************************
 *  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.EnumChestCardiacSNOMEDMap;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeVersion;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_CoronaryArterySegments;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_CoronaryArterySegments;


/**
 * This class represents CoronaryArterySegments - CID3014
 */
public class CoronaryArterySegments_CID3014  
{
	
	/**
	 * The Code Value for template.
	 */
	private String strCodeValue = null;
	/**
	 * The SNOMED CT ID for template.
	 */
	private String strSNOMEDCTID = null;	
	/**
	 * The Code Meaning for template.
	 */
	private String strCodeMeaning = null;
	
	/**
	 * The Coding Scheme Designator for template.
	 */
	private String strCodingSchemeDesignator;
	
	/**
	 * The Coding Scheme Version for template.
	 */
	private String strCodingSchemeVersion = null;
	
	/**
	 * Instantiates a new CoronaryArterySegments_CID3014 Template 
	 */
	public CoronaryArterySegments_CID3014()
	{
		
	}
	
	/**
	 * Retrieves the value for Code Meaning.
	 * @return String value for Code Meaning.
	 */
	public String getCodeMeaning()
	{
		return strCodeMeaning;
	}

	/**
	 * Retrieves the value for SNOMED-CT ID.
	 * @return String value for SNOMED-CT ID.
	 */
	public String getSNOMEDCTID() 
	{
		return strSNOMEDCTID;
	}

	/**
	 * 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 Coding Scheme Version
	 * @return String value for Coding Scheme Version
	 */
	public String getCodingSchemeVersion() 
	{
		return strCodingSchemeVersion;
	}
	
	/**
	 * Sets the Code Value according to Code Meaning.
	 * @param enumCoronaryArterySegments Object of EnumCM_CoronaryArterySegments represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_CoronaryArterySegments enumCoronaryArterySegments)
	{
		switch(enumCoronaryArterySegments)
		{
		case FIRST_DIAGONAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_DIAGONAL_CORONARY_ARTERY_T_43117.getValue(); break;
		case FIRST_LEFT_POSTEROLATERAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_LEFT_POSTEROLATERAL_CORONARY_ARTERY_T_4312B.getValue(); break;
		case FIRST_MARGINAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_MARGINAL_CORONARY_ARTERY_T_43128.getValue(); break;
		case FIRST_RIGHT_POSTEROLATERAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_RIGHT_POSTEROLATERAL_CORONARY_ARTERY_T_43213.getValue(); break;
		case FIRST_SEPTAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_SEPTAL_CORONARY_ARTERY_T_43002.getValue(); break;
		case SECOND_DIAGONAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.SECOND_DIAGONAL_CORONARY_ARTERY_T_43118.getValue(); break;
		case SECONDLEFTPOSTEROLATERALCORONARYARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.SECONDLEFTPOSTEROLATERALCORONARYARTERY_T_4312C.getValue(); break;
		case SECOND_MARGINAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.SECOND_MARGINAL_CORONARY_ARTERY_T_43129.getValue(); break;
		case SECOND_RIGHT_POSTEROLATERAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.SECOND_RIGHT_POSTEROLATERAL_CORONARY_ARTERY_T_43214.getValue(); break;
		case THIRD_DIAGONAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.THIRD_DIAGONAL_CORONARY_ARTERY_T_43119.getValue(); break;
		case THIRDLEFTPOSTEROLATERALCORONARYARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.THIRDLEFTPOSTEROLATERALCORONARYARTERY_T_4312D.getValue(); break;
		case THIRD_MARGINAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.THIRD_MARGINAL_CORONARY_ARTERY_T_4312A.getValue(); break;
		case THIRDRIGHTPOSTEROLATERALCORONARYARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.THIRDRIGHTPOSTEROLATERALCORONARYARTERY_T_43215.getValue(); break;
		case MARGINAL_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.MARGINAL_CORONARY_ARTERY_T_43230.getValue(); break;
		case AV_GROOVE_CONTINUATION_OF_CIRCUMFLEX_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.AV_GROOVE_CONTINUATION_OF_CIRCUMFLEX_ARTERY_T_43124.getValue(); break;
		case DISTAL_CIRCUMFLEX_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.DISTAL_CIRCUMFLEX_CORONARY_ARTERY_T_43122.getValue(); break;
		case DISTAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.DISTAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY_T_43112.getValue(); break;
		case DISTAL_RIGHT_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.DISTAL_RIGHT_CORONARY_ARTERY_T_43202.getValue(); break;
		case FIRST_DIAGONAL_CORONARY_ARTERY_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_DIAGONAL_CORONARY_ARTERY_LATERALS_15A.getValue(); break;
		case FIRST_MARGINAL_CORONARY_ARTERY_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.FIRST_MARGINAL_CORONARY_ARTERY_LATERALS_20A.getValue(); break;
		case SECOND_DIAGONAL_CORONARY_ARTERY_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.SECOND_DIAGONAL_CORONARY_ARTERY_LATERALS_16A.getValue(); break;
		case SECOND_MARGINAL_CORONARY_ARTERY_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.SECOND_MARGINAL_CORONARY_ARTERY_LATERALS_21A.getValue(); break;
		case THIRD_DIAGONAL_CORONARY_ARTERY_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.THIRD_DIAGONAL_CORONARY_ARTERY_LATERALS_29A.getValue(); break;
		case THIRD_MARGINAL_CORONARY_ARTERY_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.THIRD_MARGINAL_CORONARY_ARTERY_LATERALS_22A.getValue(); break;
		case RAMUS_LATERALS: this.strCodeValue =EnumCV_CoronaryArterySegments.RAMUS_LATERALS_28A.getValue(); break;
		case LEFT_MAIN_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.LEFT_MAIN_CORONARY_ARTERY_T_43107.getValue(); break;
		case LEFT_MAIN_CORONARY_ARTERY_OSTIUM: this.strCodeValue =EnumCV_CoronaryArterySegments.LEFT_MAIN_CORONARY_ARTERY_OSTIUM_T_43105.getValue(); break;
		case LEFT_POSTERIOR_DESCENDING_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.LEFT_POSTERIOR_DESCENDING_ARTERY_T_43126.getValue(); break;
		case MID_CIRCUMFLEX_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.MID_CIRCUMFLEX_CORONARY_ARTERY_T_43127.getValue(); break;
		case MIDLEFTANTERIORDESCENDINGCORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.MIDLEFTANTERIORDESCENDINGCORONARY_ARTERY_T_43115.getValue(); break;
		case MID_RIGHT_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.MID_RIGHT_CORONARY_ARTERY_T_D6515.getValue(); break;
		case POSTERIOR_DESCENDING_RIGHT_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.POSTERIOR_DESCENDING_RIGHT_CORONARY_ARTERY_T_43210.getValue(); break;
		case POSTERIORDESCENDINGSEPTALPERFORATORS: this.strCodeValue =EnumCV_CoronaryArterySegments.POSTERIORDESCENDINGSEPTALPERFORATORS_9.getValue(); break;
		case PROXIMAL_CIRCUMFLEX_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.PROXIMAL_CIRCUMFLEX_CORONARY_ARTERY_T_43121.getValue(); break;
		case PROXIMAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.PROXIMAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY_T_43111.getValue(); break;
		case PROXIMAL_RIGHT_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.PROXIMAL_RIGHT_CORONARY_ARTERY_T_43201.getValue(); break;
		case INTERMEDIATE_ARTERY_RAMUS: this.strCodeValue =EnumCV_CoronaryArterySegments.INTERMEDIATE_ARTERY_RAMUS_T_43003.getValue(); break;
		case RIGHT_CORONARY_ARTERY_OSTIUM: this.strCodeValue =EnumCV_CoronaryArterySegments.RIGHT_CORONARY_ARTERY_OSTIUM_T_43205.getValue(); break;
		case RIGHT_POSTERIOR_AV_CORONARY_ARTERY: this.strCodeValue =EnumCV_CoronaryArterySegments.RIGHT_POSTERIOR_AV_CORONARY_ARTERY_T_43212.getValue(); break;
		}
	}
	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumCoronaryArterySegments Object of EnumCM_CoronaryArterySegments represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_CoronaryArterySegments enumCoronaryArterySegments)
	{
		switch(enumCoronaryArterySegments)
		{
		case FIRST_DIAGONAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FIRST_DIAGONAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case FIRST_LEFT_POSTEROLATERAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FIRST_LEFT_POSTEROLATERAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case FIRST_MARGINAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FIRST_MARGINAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case FIRST_RIGHT_POSTEROLATERAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FIRST_RIGHT_POSTEROLATERAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case FIRST_SEPTAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FIRST_SEPTAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case SECOND_DIAGONAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.SECOND_DIAGONAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case SECOND_MARGINAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.SECOND_MARGINAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case SECOND_RIGHT_POSTEROLATERAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.SECOND_RIGHT_POSTEROLATERAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case THIRD_DIAGONAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.THIRD_DIAGONAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case THIRD_MARGINAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.THIRD_MARGINAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case MARGINAL_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MARGINAL_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case AV_GROOVE_CONTINUATION_OF_CIRCUMFLEX_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.AV_GROOVE_CONTINUATION_OF_CIRCUMFLEX_ARTERY.getSNOMEDCTID(); break;
		case DISTAL_CIRCUMFLEX_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.DISTAL_CIRCUMFLEX_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case DISTAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.DISTAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case DISTAL_RIGHT_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.DISTAL_RIGHT_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case RAMUS_LATERALS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RAMUS_LATERALS.getSNOMEDCTID(); break;
		case LEFT_MAIN_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.LEFT_MAIN_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case LEFT_MAIN_CORONARY_ARTERY_OSTIUM : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.LEFT_MAIN_CORONARY_ARTERY_OSTIUM.getSNOMEDCTID(); break;
		case LEFT_POSTERIOR_DESCENDING_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.LEFT_POSTERIOR_DESCENDING_ARTERY.getSNOMEDCTID(); break;
		case MID_CIRCUMFLEX_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MID_CIRCUMFLEX_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case MIDLEFTANTERIORDESCENDINGCORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MIDLEFTANTERIORDESCENDINGCORONARY_ARTERY.getSNOMEDCTID(); break;
		case MID_RIGHT_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MID_RIGHT_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case POSTERIOR_DESCENDING_RIGHT_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.POSTERIOR_DESCENDING_RIGHT_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case POSTERIORDESCENDINGSEPTALPERFORATORS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.POSTERIORDESCENDINGSEPTALPERFORATORS.getSNOMEDCTID(); break;
		case PROXIMAL_CIRCUMFLEX_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PROXIMAL_CIRCUMFLEX_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case PROXIMAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PROXIMAL_LEFT_ANTERIOR_DESCENDING_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case PROXIMAL_RIGHT_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PROXIMAL_RIGHT_CORONARY_ARTERY.getSNOMEDCTID(); break;
		case INTERMEDIATE_ARTERY_RAMUS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.INTERMEDIATE_ARTERY_RAMUS.getSNOMEDCTID(); break;
		case RIGHT_CORONARY_ARTERY_OSTIUM : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RIGHT_CORONARY_ARTERY_OSTIUM.getSNOMEDCTID(); break;
		case RIGHT_POSTERIOR_AV_CORONARY_ARTERY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RIGHT_POSTERIOR_AV_CORONARY_ARTERY.getSNOMEDCTID(); break;
		}
	}

	
	/**
	 * Sets the value for Coronary Artery Segments
	 * @param enumCoronaryArterySegments Object of EnumCM_CoronaryArterySegments.
	 */
	public void setCoronaryArterySegments(EnumCM_CoronaryArterySegments enumCoronaryArterySegments)
	{
		this.strCodeMeaning = enumCoronaryArterySegments.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.BARI.getValue();
		this.strCodingSchemeVersion = EnumCodingSchemeVersion.CSV_1992.getValue();
		setCodeValue(enumCoronaryArterySegments);
		/**
		 * set SNOMED-CT ID
		 */
		setSNOMEDCTID(enumCoronaryArterySegments);
	}

	
}
