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


/**
 * This class represents CathDiagnosis - CID3700
 */
public class CathDiagnosis_CID3700 
{
	
	/**
	 * 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 CathDiagnosis_CID3700 Template 
	 */
	public CathDiagnosis_CID3700()
	{

	}

	/**
	 * 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 enumCathDiagnosis Object of EnumCM_CathDiagnosis represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_CathDiagnosis enumCathDiagnosis)
	{
		switch(enumCathDiagnosis)
		{
		case CORONARY_ARTERY_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.CORONARY_ARTERY_DISEASE_D3_13000.getValue(); break;
		case ACUTE_MYOCARDIAL_INFARCTION: this.strCodeValue =EnumCV_CathDiagnosis.ACUTE_MYOCARDIAL_INFARCTION_D3_15100.getValue(); break;
		case ATYPICAL_CHEST_PAIN: this.strCodeValue =EnumCV_CathDiagnosis.ATYPICAL_CHEST_PAIN_F_37012.getValue(); break;
		case STABLE_ANGINA: this.strCodeValue =EnumCV_CathDiagnosis.STABLE_ANGINA_D3_13020.getValue(); break;
		case ATYPICAL_ANGINA_VARIANT_ANGINA: this.strCodeValue =EnumCV_CathDiagnosis.ATYPICAL_ANGINA_VARIANT_ANGINA_D3_12400.getValue(); break;
		case UNSTABLE_ANGINA_PROGRESSIVE_ANGINA: this.strCodeValue =EnumCV_CathDiagnosis.UNSTABLE_ANGINA_PROGRESSIVE_ANGINA_D3_12700.getValue(); break;
		case POST_INFARCTION_ANGINA: this.strCodeValue =EnumCV_CathDiagnosis.POST_INFARCTION_ANGINA_D3_13014.getValue(); break;
		case RECURRENT_ANGINA_POST_PTCA: this.strCodeValue =EnumCV_CathDiagnosis.RECURRENT_ANGINA_POST_PTCA_R_00368.getValue(); break;
		case RECURRENT_ANGINA_POST_DCA: this.strCodeValue =EnumCV_CathDiagnosis.RECURRENT_ANGINA_POST_DCA_R_00367.getValue(); break;
		case RECURRENT_ANGINA_POST_ROTATIONAL_ATHERECTOMY: this.strCodeValue =EnumCV_CathDiagnosis.RECURRENT_ANGINA_POST_ROTATIONAL_ATHERECTOMY_R_00369.getValue(); break;
		case RECURRENT_ANGINA_POST_STENT: this.strCodeValue =EnumCV_CathDiagnosis.RECURRENT_ANGINA_POST_STENT_R_00366.getValue(); break;
		case RECURRENT_ANGINA_POST_CABG: this.strCodeValue =EnumCV_CathDiagnosis.RECURRENT_ANGINA_POST_CABG_R_00365.getValue(); break;
		case CONGESTIVE_HEART_FAILURE: this.strCodeValue =EnumCV_CathDiagnosis.CONGESTIVE_HEART_FAILURE_D3_16010.getValue(); break;
		case PULMONARY_EDEMA: this.strCodeValue =EnumCV_CathDiagnosis.PULMONARY_EDEMA_D2_61100.getValue(); break;
		case CARDIOGENIC_SHOCK: this.strCodeValue =EnumCV_CathDiagnosis.CARDIOGENIC_SHOCK_D3_00200.getValue(); break;
		case ACUTE_VENTRICULAR_SEPTAL_RUPTURE: this.strCodeValue =EnumCV_CathDiagnosis.ACUTE_VENTRICULAR_SEPTAL_RUPTURE_R_002CB.getValue(); break;
		case MITRAL_VALVE_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.MITRAL_VALVE_DISEASE_D3_29010.getValue(); break;
		case MITRAL_STENOSIS: this.strCodeValue =EnumCV_CathDiagnosis.MITRAL_STENOSIS_D3_29011.getValue(); break;
		case MITRAL_REGURGITATION: this.strCodeValue =EnumCV_CathDiagnosis.MITRAL_REGURGITATION_D3_29012.getValue(); break;
		case ACUTE_MITRAL_REGURGITATION: this.strCodeValue =EnumCV_CathDiagnosis.ACUTE_MITRAL_REGURGITATION_D3_29096.getValue(); break;
		case SILENT_ISCHEMIA: this.strCodeValue =EnumCV_CathDiagnosis.SILENT_ISCHEMIA_D3_13021.getValue(); break;
		case S_P_MI_POSITIVE_STRESS_FOR_ISCHEMIA: this.strCodeValue =EnumCV_CathDiagnosis.S_P_MI_POSITIVE_STRESS_FOR_ISCHEMIA_R_00336.getValue(); break;
		case MYOCARDITIS: this.strCodeValue =EnumCV_CathDiagnosis.MYOCARDITIS_D3_26000.getValue(); break;
		case SUBACUTE_BACTERIAL_ENDOCARDITIS: this.strCodeValue =EnumCV_CathDiagnosis.SUBACUTE_BACTERIAL_ENDOCARDITIS_D3_28012.getValue(); break;
		case IDIOPATHIC_HYPERTROPHIC_SUBAORTIC_STENOSIS: this.strCodeValue =EnumCV_CathDiagnosis.IDIOPATHIC_HYPERTROPHIC_SUBAORTIC_STENOSIS_D3_2906A.getValue(); break;
		case PULMONARY_HYPERTENSION: this.strCodeValue =EnumCV_CathDiagnosis.PULMONARY_HYPERTENSION_D3_40300.getValue(); break;
		case TRICUSPID_VALVE_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.TRICUSPID_VALVE_DISEASE_D3_29040.getValue(); break;
		case TRICUSPID_REGURGITATION: this.strCodeValue =EnumCV_CathDiagnosis.TRICUSPID_REGURGITATION_D3_29042.getValue(); break;
		case MITRAL_VALVE_PROLAPSE: this.strCodeValue =EnumCV_CathDiagnosis.MITRAL_VALVE_PROLAPSE_D3_29013.getValue(); break;
		case VENTRICULAR_TACHYCARDIA: this.strCodeValue =EnumCV_CathDiagnosis.VENTRICULAR_TACHYCARDIA_D3_31700.getValue(); break;
		case VENTRICULAR_FIBRILLATION: this.strCodeValue =EnumCV_CathDiagnosis.VENTRICULAR_FIBRILLATION_D3_31720.getValue(); break;
		case CONGESTIVE_CARDIOMYOPATHY: this.strCodeValue =EnumCV_CathDiagnosis.CONGESTIVE_CARDIOMYOPATHY_D3_21000.getValue(); break;
		case HYPERTENSIVE_HEART_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.HYPERTENSIVE_HEART_DISEASE_D3_02500.getValue(); break;
		case RESTRICTIVE_CARDIOMYOPATHY: this.strCodeValue =EnumCV_CathDiagnosis.RESTRICTIVE_CARDIOMYOPATHY_D3_22100.getValue(); break;
		case PERICARDIAL_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.PERICARDIAL_DISEASE_D3_90000.getValue(); break;
		case PERICARDIAL_TAMPONADE: this.strCodeValue =EnumCV_CathDiagnosis.PERICARDIAL_TAMPONADE_D3_90100.getValue(); break;
		case AORTIC_VALVE_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.AORTIC_VALVE_DISEASE_D3_29020.getValue(); break;
		case AORTIC_STENOSIS: this.strCodeValue =EnumCV_CathDiagnosis.AORTIC_STENOSIS_D3_29021.getValue(); break;
		case AORTIC_INSUFFICIENCY: this.strCodeValue =EnumCV_CathDiagnosis.AORTIC_INSUFFICIENCY_D3_29025.getValue(); break;
		case ATRIAL_SEPTAL_DEFECT: this.strCodeValue =EnumCV_CathDiagnosis.ATRIAL_SEPTAL_DEFECT_D4_31220.getValue(); break;
		case AORTIC_DISSECTION: this.strCodeValue =EnumCV_CathDiagnosis.AORTIC_DISSECTION_D3_80016.getValue(); break;
		case PULMONIC_VALVE_DISEASE: this.strCodeValue =EnumCV_CathDiagnosis.PULMONIC_VALVE_DISEASE_D3_29050.getValue(); break;
		case VENTRICULAR_SEPTAL_DEFECT: this.strCodeValue =EnumCV_CathDiagnosis.VENTRICULAR_SEPTAL_DEFECT_D4_31159.getValue(); break;
		case AORTIC_ANEURYSM: this.strCodeValue =EnumCV_CathDiagnosis.AORTIC_ANEURYSM_D3_83300.getValue(); break;
		case ARHYTHMIA_EVALUATION: this.strCodeValue =EnumCV_CathDiagnosis.ARHYTHMIA_EVALUATION_R_10042.getValue(); break;
		case ATRIAL_FIBRILLATION: this.strCodeValue =EnumCV_CathDiagnosis.ATRIAL_FIBRILLATION_D3_31520.getValue(); break;
		case HEART_DISEASE_CONGENITAL: this.strCodeValue =EnumCV_CathDiagnosis.HEART_DISEASE_CONGENITAL_D4_31000.getValue(); break;
		case CONSTRICTIVE_PERICARDITIS: this.strCodeValue =EnumCV_CathDiagnosis.CONSTRICTIVE_PERICARDITIS_D3_91030.getValue(); break;
		}
	}
	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumCathDiagnosis Object of EnumCM_CathDiagnosis represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_CathDiagnosis enumCathDiagnosis)
	{
		switch(enumCathDiagnosis)
		{
		case CORONARY_ARTERY_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.CORONARY_ARTERY_DISEASE.getSNOMEDCTID(); break;
		case ACUTE_MYOCARDIAL_INFARCTION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ACUTE_MYOCARDIAL_INFARCTION.getSNOMEDCTID(); break;
		case ATYPICAL_CHEST_PAIN : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ATYPICAL_CHEST_PAIN.getSNOMEDCTID(); break;
		case STABLE_ANGINA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.STABLE_ANGINA.getSNOMEDCTID(); break;
		case ATYPICAL_ANGINA_VARIANT_ANGINA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ATYPICAL_ANGINA_VARIANT_ANGINA.getSNOMEDCTID(); break;
		case UNSTABLE_ANGINA_PROGRESSIVE_ANGINA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.UNSTABLE_ANGINA_PROGRESSIVE_ANGINA.getSNOMEDCTID(); break;
		case POST_INFARCTION_ANGINA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.POST_INFARCTION_ANGINA.getSNOMEDCTID(); break;
		case RECURRENT_ANGINA_POST_PTCA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RECURRENT_ANGINA_POST_PTCA.getSNOMEDCTID(); break;
		case RECURRENT_ANGINA_POST_DCA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RECURRENT_ANGINA_POST_DCA.getSNOMEDCTID(); break;
		case RECURRENT_ANGINA_POST_ROTATIONAL_ATHERECTOMY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RECURRENT_ANGINA_POST_ROTATIONAL_ATHERECTOMY.getSNOMEDCTID(); break;
		case RECURRENT_ANGINA_POST_STENT : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RECURRENT_ANGINA_POST_STENT.getSNOMEDCTID(); break;
		case RECURRENT_ANGINA_POST_CABG : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RECURRENT_ANGINA_POST_CABG.getSNOMEDCTID(); break;
		case CONGESTIVE_HEART_FAILURE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.CONGESTIVE_HEART_FAILURE.getSNOMEDCTID(); break;
		case PULMONARY_EDEMA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PULMONARY_EDEMA.getSNOMEDCTID(); break;
		case CARDIOGENIC_SHOCK : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.CARDIOGENIC_SHOCK.getSNOMEDCTID(); break;
		case ACUTE_VENTRICULAR_SEPTAL_RUPTURE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ACUTE_VENTRICULAR_SEPTAL_RUPTURE.getSNOMEDCTID(); break;
		case MITRAL_VALVE_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MITRAL_VALVE_DISEASE.getSNOMEDCTID(); break;
		case MITRAL_STENOSIS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MITRAL_STENOSIS.getSNOMEDCTID(); break;
		case MITRAL_REGURGITATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MITRAL_REGURGITATION.getSNOMEDCTID(); break;
		case ACUTE_MITRAL_REGURGITATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ACUTE_MITRAL_REGURGITATION.getSNOMEDCTID(); break;
		case SILENT_ISCHEMIA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.SILENT_ISCHEMIA.getSNOMEDCTID(); break;
		case S_P_MI_POSITIVE_STRESS_FOR_ISCHEMIA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.S_P_MI_POSITIVE_STRESS_FOR_ISCHEMIA.getSNOMEDCTID(); break;
		case MYOCARDITIS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MYOCARDITIS.getSNOMEDCTID(); break;
		case SUBACUTE_BACTERIAL_ENDOCARDITIS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.SUBACUTE_BACTERIAL_ENDOCARDITIS.getSNOMEDCTID(); break;
		case IDIOPATHIC_HYPERTROPHIC_SUBAORTIC_STENOSIS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.IDIOPATHIC_HYPERTROPHIC_SUBAORTIC_STENOSIS.getSNOMEDCTID(); break;
		case PULMONARY_HYPERTENSION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PULMONARY_HYPERTENSION.getSNOMEDCTID(); break;
		case TRICUSPID_VALVE_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.TRICUSPID_VALVE_DISEASE.getSNOMEDCTID(); break;
		case TRICUSPID_REGURGITATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.TRICUSPID_REGURGITATION.getSNOMEDCTID(); break;
		case MITRAL_VALVE_PROLAPSE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.MITRAL_VALVE_PROLAPSE.getSNOMEDCTID(); break;
		case VENTRICULAR_TACHYCARDIA : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.VENTRICULAR_TACHYCARDIA.getSNOMEDCTID(); break;
		case VENTRICULAR_FIBRILLATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.VENTRICULAR_FIBRILLATION.getSNOMEDCTID(); break;
		case CONGESTIVE_CARDIOMYOPATHY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.CONGESTIVE_CARDIOMYOPATHY.getSNOMEDCTID(); break;
		case HYPERTENSIVE_HEART_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.HYPERTENSIVE_HEART_DISEASE.getSNOMEDCTID(); break;
		case RESTRICTIVE_CARDIOMYOPATHY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.RESTRICTIVE_CARDIOMYOPATHY.getSNOMEDCTID(); break;
		case PERICARDIAL_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PERICARDIAL_DISEASE.getSNOMEDCTID(); break;
		case PERICARDIAL_TAMPONADE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PERICARDIAL_TAMPONADE.getSNOMEDCTID(); break;
		case AORTIC_VALVE_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.AORTIC_VALVE_DISEASE.getSNOMEDCTID(); break;
		case AORTIC_STENOSIS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.AORTIC_STENOSIS.getSNOMEDCTID(); break;
		case AORTIC_INSUFFICIENCY : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.AORTIC_INSUFFICIENCY.getSNOMEDCTID(); break;
		case ATRIAL_SEPTAL_DEFECT : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ATRIAL_SEPTAL_DEFECT.getSNOMEDCTID(); break;
		case AORTIC_DISSECTION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.AORTIC_DISSECTION.getSNOMEDCTID(); break;
		case PULMONIC_VALVE_DISEASE : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.PULMONIC_VALVE_DISEASE.getSNOMEDCTID(); break;
		case VENTRICULAR_SEPTAL_DEFECT : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.VENTRICULAR_SEPTAL_DEFECT.getSNOMEDCTID(); break;
		case AORTIC_ANEURYSM : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.AORTIC_ANEURYSM.getSNOMEDCTID(); break;
		case ARHYTHMIA_EVALUATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ARHYTHMIA_EVALUATION.getSNOMEDCTID(); break;
		case ATRIAL_FIBRILLATION : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.ATRIAL_FIBRILLATION.getSNOMEDCTID(); break;
		case HEART_DISEASE_CONGENITAL : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.HEART_DISEASE_CONGENITAL.getSNOMEDCTID(); break;
		case CONSTRICTIVE_PERICARDITIS : this.strSNOMEDCTID =EnumChestCardiacSNOMEDMap.CONSTRICTIVE_PERICARDITIS.getSNOMEDCTID(); break;
		}
	}
	/**
	 * Sets the value for CathDiagnosis
	 * @param enumCathDiagnosis Object of EnumCM_CathDiagnosis.
	 */
	public void setCathDiagnosis(EnumCM_CathDiagnosis enumCathDiagnosis)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumCathDiagnosis.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.SRT.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumCathDiagnosis);
		/**
		 * set SNOMED-CT ID
		 */
		setSNOMEDCTID(enumCathDiagnosis);
	}
}
