/*******************************************************************************
 *  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.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_CardiacUltrasoundVenousReturnSystemicFindingSites;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites;
import cdac.medinfo.sdk.dcm30_04.templates.dicomsnomedmap.EnumChestCardiacSNOMEDMap;

/**
 * This class represents CardiacUltrasoundVenousReturnSystemicFindingSites CID12282
 */
public class CardiacUltrasoundVenousReturnSystemicFindingSites_CID12282 {

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

	}

	/**
	 * 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 enumCardiacUltrasoundVenousReturnSystemicFindingSites Object of EnumCM_CardiacUltrasoundVenousReturnSystemicFindingSites represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_CardiacUltrasoundVenousReturnSystemicFindingSites enumCardiacUltrasoundVenousReturnSystemicFindingSites)
	{
		switch(enumCardiacUltrasoundVenousReturnSystemicFindingSites) //CV
		{
		case SUPERIOR_VENA_CAVA: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.SUPERIOR_VENA_CAVA_T_48610.getValue(); break;
		case RIGHT_SUPERIOR_VENA_CAVA: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.RIGHT_SUPERIOR_VENA_CAVA_M_2460D.getValue(); break;
		case LEFT_SUPERIOR_VENA_CAVA: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.LEFT_SUPERIOR_VENA_CAVA_T_48611.getValue(); break;
		case INFERIOR_VENA_CAVA: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.INFERIOR_VENA_CAVA_T_48710.getValue(); break;
		case HEPATIC_VEIN: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.HEPATIC_VEIN_T_48720.getValue(); break;
		case HEMI_FONTAN_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.HEMI_FONTAN_PATHWAY_T_D087E.getValue(); break;
		case GLENN_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.GLENN_PATHWAY_T_D0884.getValue(); break;
		case FONTAN_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.FONTAN_PATHWAY_T_D087C.getValue(); break;
		case FONTAN_INFERIOR_VENA_CAVA_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.FONTAN_INFERIOR_VENA_CAVA_PATHWAY_T_D087D.getValue(); break;
		case FONTAN_FENESTRATION: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.FONTAN_FENESTRATION_T_D0882.getValue(); break;
		case FONTAN_PULMONARY_ARTERY_CONNECTION: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.FONTAN_PULMONARY_ARTERY_CONNECTION_T_D0880.getValue(); break;
		case FONTAN_BAFFLE_LEAK: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.FONTAN_BAFFLE_LEAK_DD_66228.getValue(); break;
		case MUSTARD_OR_SENNING_SUPERIOR_VENA_CAVA_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.MUSTARD_OR_SENNING_SUPERIOR_VENA_CAVA_PATHWAY_T_D0887.getValue(); break;
		case MUSTARD_OR_SENNING_INFERIOR_VENA_CAVA_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.MUSTARD_OR_SENNING_INFERIOR_VENA_CAVA_PATHWAY_T_D0888.getValue(); break;
		case MUSTARD_OR_SENNING_COMMON_SYSTEMIC_VENOUS_PATHWAY: this.strCodeValue =EnumCV_CardiacUltrasoundVenousReturnSystemicFindingSites.MUSTARD_OR_SENNING_COMMON_SYSTEMIC_VENOUS_PATHWAY_T_D0885.getValue(); break;
		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumCardiacUltrasoundVenousReturnSystemicFindingSites Object of EnumCM_CardiacUltrasoundVenousReturnSystemicFindingSites represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_CardiacUltrasoundVenousReturnSystemicFindingSites enumCardiacUltrasoundVenousReturnSystemicFindingSites)
	{
		switch(enumCardiacUltrasoundVenousReturnSystemicFindingSites)
		{
		case SUPERIOR_VENA_CAVA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.SUPERIOR_VENA_CAVA.getSNOMEDCTID(); break;
		case RIGHT_SUPERIOR_VENA_CAVA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RIGHT_SUPERIOR_VENA_CAVA.getSNOMEDCTID(); break;
		case LEFT_SUPERIOR_VENA_CAVA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.LEFT_SUPERIOR_VENA_CAVA.getSNOMEDCTID(); break;
		case INFERIOR_VENA_CAVA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.INFERIOR_VENA_CAVA.getSNOMEDCTID(); break;
		case HEPATIC_VEIN : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.HEPATIC_VEIN.getSNOMEDCTID(); break;
		case HEMI_FONTAN_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.HEMI_FONTAN_PATHWAY.getSNOMEDCTID(); break;
		case GLENN_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.GLENN_PATHWAY.getSNOMEDCTID(); break;
		case FONTAN_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FONTAN_PATHWAY.getSNOMEDCTID(); break;
		case FONTAN_INFERIOR_VENA_CAVA_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FONTAN_INFERIOR_VENA_CAVA_PATHWAY.getSNOMEDCTID(); break;
		case FONTAN_FENESTRATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FONTAN_FENESTRATION.getSNOMEDCTID(); break;
		case FONTAN_PULMONARY_ARTERY_CONNECTION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FONTAN_PULMONARY_ARTERY_CONNECTION.getSNOMEDCTID(); break;
		case FONTAN_BAFFLE_LEAK : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.FONTAN_BAFFLE_LEAK.getSNOMEDCTID(); break;
		case MUSTARD_OR_SENNING_SUPERIOR_VENA_CAVA_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MUSTARD_OR_SENNING_SUPERIOR_VENA_CAVA_PATHWAY.getSNOMEDCTID(); break;
		case MUSTARD_OR_SENNING_INFERIOR_VENA_CAVA_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MUSTARD_OR_SENNING_INFERIOR_VENA_CAVA_PATHWAY.getSNOMEDCTID(); break;
		case MUSTARD_OR_SENNING_COMMON_SYSTEMIC_VENOUS_PATHWAY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MUSTARD_OR_SENNING_COMMON_SYSTEMIC_VENOUS_PATHWAY.getSNOMEDCTID(); break;
		}
	}

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

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