/*******************************************************************************
 *  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_BreastTissueSpecimenTypes;
import cdac.medinfo.sdk.dcm30_04.templates.enums.cv.EnumCV_BreastTissueSpecimenTypes;
import cdac.medinfo.sdk.dcm30_04.templates.dicomsnomedmap.BreastGYNMammoSNOMEDMap;

/**
 * This class represents BreastTissueSpecimenTypes CID8104
 */
public class BreastTissueSpecimenTypes_CID8104 {

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

	}

	/**
	 * 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 enumBreastTissueSpecimenTypes Object of EnumCM_BreastTissueSpecimenTypes represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_BreastTissueSpecimenTypes enumBreastTissueSpecimenTypes)
	{
		switch(enumBreastTissueSpecimenTypes)
		{
		case BREAST_DUCT_SAMPLE: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.BREAST_DUCT_SAMPLE_G_8346.getValue(); break;
		case FROZEN_SECTION_BREAST_SAMPLE: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.FROZEN_SECTION_BREAST_SAMPLE_G_8339.getValue(); break;
		case LUMPECTOMY_BREAST_SAMPLE: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.LUMPECTOMY_BREAST_SAMPLE_G_833D.getValue(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_EXCISION: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SPECIMEN_FROM_BREAST_OBTAINED_BY_EXCISION_G_8430.getValue(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_TOTAL_MASTECTOMY: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SPECIMEN_FROM_BREAST_OBTAINED_BY_TOTAL_MASTECTOMY_G_8311.getValue(); break;
		case SEGMENTECTOMY_BREAST_SAMPLE: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SEGMENTECTOMY_BREAST_SAMPLE_G_833F.getValue(); break;
		case BREAST_TRU_CUT_BIOPSY_SAMPLE: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.BREAST_TRU_CUT_BIOPSY_SAMPLE_G_832D.getValue(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_CORE_NEEDLE_BIOPSY: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SPECIMEN_FROM_BREAST_OBTAINED_BY_CORE_NEEDLE_BIOPSY_G_8318.getValue(); break;
		case SPECIMEN_FROM_BREAST_STEREOTACTICALLY_GUIDED_CORE_NEEDLE_BIOPSY: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SPECIMEN_FROM_BREAST_STEREOTACTICALLY_GUIDED_CORE_NEEDLE_BIOPSY_G_8319.getValue(); break;
		case SPECIMEN_FROM_BREAST_BY_INCISIONAL_BIOPSY_OF_BREAST_MASS: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SPECIMEN_FROM_BREAST_BY_INCISIONAL_BIOPSY_OF_BREAST_MASS_G_831B.getValue(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_IMAGE_GUIDED_CORE_BIOPSY: this.strCodeValue =EnumCV_BreastTissueSpecimenTypes.SPECIMEN_FROM_BREAST_OBTAINED_BY_IMAGE_GUIDED_CORE_BIOPSY_R_003AC.getValue(); break;
		}
	}

	/**
	 * Sets the SNOMED-CT ID.
	 * @param enumBreastTissueSpecimenTypes Object of EnumCM_BreastTissueSpecimenTypes represents Code Meaning.
	 */
	private void setSNOMEDCTID(EnumCM_BreastTissueSpecimenTypes enumBreastTissueSpecimenTypes)
	{
		switch(enumBreastTissueSpecimenTypes)
		{
		case BREAST_DUCT_SAMPLE : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.BREAST_DUCT_SAMPLE.getSNOMEDCTID(); break;
		case FROZEN_SECTION_BREAST_SAMPLE : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.FROZEN_SECTION_BREAST_SAMPLE.getSNOMEDCTID(); break;
		case LUMPECTOMY_BREAST_SAMPLE : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.LUMPECTOMY_BREAST_SAMPLE.getSNOMEDCTID(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_EXCISION : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SPECIMEN_FROM_BREAST_OBTAINED_BY_EXCISION.getSNOMEDCTID(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_TOTAL_MASTECTOMY : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SPECIMEN_FROM_BREAST_OBTAINED_BY_TOTAL_MASTECTOMY.getSNOMEDCTID(); break;
		case SEGMENTECTOMY_BREAST_SAMPLE : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SEGMENTECTOMY_BREAST_SAMPLE.getSNOMEDCTID(); break;
		case BREAST_TRU_CUT_BIOPSY_SAMPLE : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.BREAST_TRU_CUT_BIOPSY_SAMPLE.getSNOMEDCTID(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_CORE_NEEDLE_BIOPSY : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SPECIMEN_FROM_BREAST_OBTAINED_BY_CORE_NEEDLE_BIOPSY.getSNOMEDCTID(); break;
		case SPECIMEN_FROM_BREAST_STEREOTACTICALLY_GUIDED_CORE_NEEDLE_BIOPSY : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SPECIMEN_FROM_BREAST_STEREOTACTICALLY_GUIDED_CORE_NEEDLE_BIOPSY.getSNOMEDCTID(); break;
		case SPECIMEN_FROM_BREAST_BY_INCISIONAL_BIOPSY_OF_BREAST_MASS : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SPECIMEN_FROM_BREAST_BY_INCISIONAL_BIOPSY_OF_BREAST_MASS.getSNOMEDCTID(); break;
		case SPECIMEN_FROM_BREAST_OBTAINED_BY_IMAGE_GUIDED_CORE_BIOPSY : this.strSNOMEDCTID =BreastGYNMammoSNOMEDMap.SPECIMEN_FROM_BREAST_OBTAINED_BY_IMAGE_GUIDED_CORE_BIOPSY.getSNOMEDCTID(); break;
		}
	}

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

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