/*******************************************************************************
 *  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.dicomsnomedmap.EnumDICOMSNOMEDMap;
import cdac.medinfo.sdk.dcm30_04.templates.enums.EnumCodingSchemeDesignator;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cm.EnumCM_MixedBreeds;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_MixedBreeds;


/**
 * This class represents MixedBreeds CID7486
 */
public class MixedBreeds_CID7486 {

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

	}

	/**
	 * 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 enumMixedBreeds Object of EnumCM_MixedBreeds represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_MixedBreeds enumMixedBreeds)
	{
		switch(enumMixedBreeds) 
		{
		case MIXED_BREED_CAT:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_CAT_L_80A74
					.getValue();
			break;
		case MIXED_BREED_GOAT:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_GOAT_L_80217
					.getValue();
			break;
		case MIXED_BREED_DOG:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_DOG_L_809DF
					.getValue();
			break;
		case MIXED_BREED_HORSE:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_HORSE_L_8A10F
					.getValue();
			break;
		case MIXED_BREED_SHEEP:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_SHEEP_L_8C33A
					.getValue();
			break;
		case MIXED_BREED_CHICKEN:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_CHICKEN_L_93791
					.getValue();
			break;
		case MIXED_BREED_CATTLE:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_CATTLE_L_8B947
					.getValue();
			break;
		case MIXED_BREED_PIG:
			this.strCodeValue = EnumCV_MixedBreeds.MIXED_BREED_PIG_L_8B103
					.getValue();
			break;
		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumMixedBreeds Object of EnumCM_MixedBreeds represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_MixedBreeds enumMixedBreeds)
	{
		switch(enumMixedBreeds)
		{
		case MIXED_BREED_CAT:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_CAT
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_GOAT:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_GOAT
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_DOG:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_DOG
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_HORSE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_HORSE
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_SHEEP:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_SHEEP
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_CHICKEN:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_CHICKEN
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_CATTLE:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_CATTLE
					.getSNOMEDCTID();
			break;
		case MIXED_BREED_PIG:
			this.strSNOMEDCTID = EnumDICOMSNOMEDMap.MIXED_BREED_PIG
					.getSNOMEDCTID();
			break;
		}
	}

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

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