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


/**
 * This class represents ElectrodePlacementValues - CID3263
 */
public class ElectrodePlacementValues_CID3263
{

	/**
	 * 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 Coding Scheme Version
	 */
	private String strCodingSchemeVersion = null;

	/**
	 * Instantiates a new ElectrodePlacementValues_CID3263 Template.
	 */
	public ElectrodePlacementValues_CID3263() 
	{

	}

	/**
	 * Retrieves the value for CodeMeaning
	 * @return strCodeMeaning String value for CodeMeaning
	 */
	public String getCodeMeaning() 
	{
		return strCodeMeaning;
	}

	/**
	 * Retrieves the value for CodeValue
	 * @return strCodeValue String value for CodeValue
	 */
	public String getCodeValue() 
	{
		return strCodeValue;
	}

	/**
	 * Retrieves the value for CodingSchemeDesignator
	 * @return strCodingSchemeDesignator String value for CodingSchemeDesignator
	 */
	public String getCodingSchemeDesignator()
	{
		return strCodingSchemeDesignator;
	}

	/**
	 * Retrieves the value for CodingSchemeVersion
	 * @return
	 */
	public String getCodingSchemeVersion() {
		return strCodingSchemeVersion;
	}

	/**
	 * Sets the Code Value according to Code Meaning.
	 * @param enumElectrodePlacementValues Object of EnumCM_ElectrodePlacementValues represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_ElectrodePlacementValues enumElectrodePlacementValues)
	{
		switch(enumElectrodePlacementValues)
		{
		case MASON_LIKAR_POSITIONS_LIMB_LEADS_PLACED_ON_THE_TORSO:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.MASON_LIKAR_POSITIONS_LIMB_LEADS_PLACED_ON_THE_TORSO_5_4_5_33_1_2.getValue();
			break;
		case MASON_LIKAR_WITH_V_PAD_CHEST_LEADS_AS_A_SINGLE_PAD:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.MASON_LIKAR_WITH_V_PAD_CHEST_LEADS_AS_A_SINGLE_PAD_5_4_5_33_1_3.getValue();
			break;
		case SINGLE_ELECTRODE_PAD_ALL_ELECTRODES_IN_A_SINGLE_ELECTRODE_PAD:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.SINGLE_ELECTRODE_PAD_ALL_ELECTRODES_IN_A_SINGLE_ELECTRODE_PAD_5_4_5_33_1_4.getValue();
			break;
		case STANDARD_12_LEAD_POSITIONS_LIMB_LEADS_PLACED_AT_EXTREMITIES:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_POSITIONS_LIMB_LEADS_PLACED_AT_EXTREMITIES_5_4_5_33_1_1.getValue();
			break;
		case TWELVE_LEAD_ECG_DERIVED_FROM_FRANK_XYZ_LEADS:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.TWELVE_LEAD_ECG_DERIVED_FROM_FRANK_XYZ_LEADS_5_4_5_33_1_5.getValue();
			break;
		case TWELVE_LEAD_ECG_DERIVED_FROM_NON_STANDARD_LEADS:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.TWELVE_LEAD_ECG_DERIVED_FROM_NON_STANDARD_LEADS_5_4_5_33_1_6.getValue();
			break;
		case UNSPECIFIED:
			this.strCodeValue = EnumCV_ElectrodePlacementValues.UNSPECIFIED_5_4_5_33_1_0.getValue();
			break;
		case TWELVE_LEAD_DERIVED_FROM_NON_STANDARD_LEADS: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.TWELVE_LEAD_DERIVED_FROM_NON_STANDARD_LEADS_10_11270.getValue();
			break;
		case STANDARD_12_LEAD_POSITIONS_ONE_INTERCOSTAL_SPACE_HIGHER:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_POSITIONS_ONE_INTERCOSTAL_SPACE_HIGHER_10_11272.getValue(); 
			break;
		case UNSPECIFIED_XYZ_LEAD_SYSTEM:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.UNSPECIFIED_XYZ_LEAD_SYSTEM_10_11273.getValue(); 
			break;
		case FRANK_XYZ_LEAD_SYSTEM:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.FRANK_XYZ_LEAD_SYSTEM_10_11274.getValue(); 
			break;
		case MCFEE_PARUNGAO_XYZ_LEAD_SYSTEM:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.MCFEE_PARUNGAO_XYZ_LEAD_SYSTEM_10_11275.getValue(); 
			break;
		case CUBE_XYZ_LEAD_SYSTEM:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.CUBE_XYZ_LEAD_SYSTEM_10_11276.getValue(); 
			break;
		case BIPOLAR_UNCORRECTED_XYZ_LEAD_SYSTEM:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.BIPOLAR_UNCORRECTED_XYZ_LEAD_SYSTEM_10_11277.getValue(); 
			break;
		case PSEUDO_ORTHOGONAL_XYZ_LEAD_SYSTEM: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.PSEUDO_ORTHOGONAL_XYZ_LEAD_SYSTEM_10_11278.getValue(); 
			break;
		case XYZ_LEADS_DERIVED_FROM_STANDARD_TWELVE_LEAD:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.XYZ_LEADS_DERIVED_FROM_STANDARD_TWELVE_LEAD_10_11279.getValue(); 
			break;
		case NEHB_LEAD_SYSTEM:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.NEHB_LEAD_SYSTEM_10_11280.getValue(); 
			break;
		case TWELVE_LEAD_FROM_FRANK_LEADS_XYZ_LEADS_BY_DOWER_TRANSFORMATION: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.TWELVE_LEAD_FROM_FRANK_LEADS_XYZ_LEADS_BY_DOWER_TRANSFORMATION_10_11283.getValue(); 
			break;
		case TWELVE_LEAD_FROM_EASI_LEADS_BY_DOWER_EASI_TRANSFORMATION: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.TWELVE_LEAD_FROM_EASI_LEADS_BY_DOWER_EASI_TRANSFORMATION_10_11284.getValue(); 
			break;
		case TWELVE_LEAD_FROM_LIMB_LEADS_AND_ONE_OR_MORE_V_LEADS:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.TWELVE_LEAD_FROM_LIMB_LEADS_AND_ONE_OR_MORE_V_LEADS_10_11285.getValue(); 
			break;
		case STANDARD_12_LEAD_AND_XYZ: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_AND_XYZ_10_11286.getValue();
			break;
		case STANDARD_12_LEAD_AND_NEHB: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_AND_NEHB_10_11287.getValue();
			break;
		case STANDARD_12_LEAD_AND_CC5_CM5_ML: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_AND_CC5_CM5_ML_10_11288.getValue();
			break;
		case STANDARD_12_LEAD_AND_CM5_CC5_CH5:
			this.strCodeValue =EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_AND_CM5_CC5_CH5_10_11289.getValue(); 
			break;
		case STANDARD_12_LEAD_WITH_EXTRA_LEADS_TO_THE_RIGHT_AND_OR_LEFT_SIDES: 
			this.strCodeValue =EnumCV_ElectrodePlacementValues.STANDARD_12_LEAD_WITH_EXTRA_LEADS_TO_THE_RIGHT_AND_OR_LEFT_SIDES_10_11290.getValue(); 
			break;

		}
	}

	/**
	 * Sets the value for ElectrodePlacementValues
	 * @param enumElectrodePlacementValues Enum for ElectrodePlacementValues
	 */
	public void setElectrodePlacementValues(EnumCM_ElectrodePlacementValues enumElectrodePlacementValues)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumElectrodePlacementValues.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.MDC.getValue();

		/**
		 * set code Value
		 */
		setCodeValue(enumElectrodePlacementValues);
	}
}
