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


/**
 * This class represents BodySurfaceAreaEquations - CID3663
 */
public class BodySurfaceAreaEquations_CID3663 
{
	
	/**
	 * 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;

	/**
	 * Instantiates a new BodySurfaceAreaEquations_CID3663 Template 
	 */
	public BodySurfaceAreaEquations_CID3663()
	{

	}

	/**
	 * 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 enumBodySurfaceAreaEquations Object of EnumCM_BodySurfaceAreaEquations represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_BodySurfaceAreaEquations enumBodySurfaceAreaEquations)
	{
		switch(enumBodySurfaceAreaEquations) 
		{
		case BSA_0_003207_WT_0_7285_0_0188_LOG_WT_HT_0_3: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_003207_WT_0_7285_0_0188_LOG_WT_HT_0_3_122240.getValue(); break;
		case BSA_0_007184_WT_0_425_HT_0_725: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_007184_WT_0_425_HT_0_725_122241.getValue(); break;
		case BSA_0_0235_WT_0_51456_HTCM_0_42246: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_0235_WT_0_51456_HTCM_0_42246_122242.getValue(); break;
		case BSA_0_024265_WT_0_5378_HTCM_0_3964: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_024265_WT_0_5378_HTCM_0_3964_122243.getValue(); break;
		case BSA_HT_WT_36_0_5: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_HT_WT_36_0_5_122244.getValue(); break;
		case BSA_1321_0_3433_WT: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_1321_0_3433_WT_122245.getValue(); break;
		case BSA_0_0004688_WT_0_8168_0_0154_LOG_WT: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_0004688_WT_0_8168_0_0154_LOG_WT_122246.getValue(); break;
		case BSA_0_007358_WT_0_425_HT_0_725: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_007358_WT_0_425_HT_0_725_122266.getValue(); break;
		case BSA_0_010265_WT_0_423_HT_0_651: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_010265_WT_0_423_HT_0_651_122267.getValue(); break;
		case BSA_0_008883_WT_0_444_HT_0_663: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_008883_WT_0_444_HT_0_663_122268.getValue(); break;
		case BSA_0_038189_WT_0_423_HT_0_362: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_038189_WT_0_423_HT_0_362_122269.getValue(); break;
		case BSA_0_009568_WT_0_473_HT_0_655: this.strCodeValue =EnumCV_BodySurfaceAreaEquations.BSA_0_009568_WT_0_473_HT_0_655_122270.getValue(); break;
		}
	}

	/**
	 * Sets the value for BodySurfaceAreaEquations
	 * @param enumBodySurfaceAreaEquations Object of EnumCM_BodySurfaceAreaEquations.
	 */
	public void setBodySurfaceAreaEquations(EnumCM_BodySurfaceAreaEquations enumBodySurfaceAreaEquations)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumBodySurfaceAreaEquations.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.DCM.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumBodySurfaceAreaEquations);
	}
}
