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


/**
 * This class represents DiagnosticImagingReportHeadings - CID7001
 */
public class DiagnosticImagingReportHeadings_CID7001 
{
	
	/**
	 * 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 DiagnosticImagingReportHeadings_CID7001 Template 
	 */
	public DiagnosticImagingReportHeadings_CID7001()
	{

	}

	/**
	 * 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 enumDiagnosticImagingReportHeadings Object of EnumCM_DiagnosticImagingReportHeadings represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_DiagnosticImagingReportHeadings enumDiagnosticImagingReportHeadings)
	{
		switch(enumDiagnosticImagingReportHeadings)
		{
		case HISTORY: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.HISTORY_11329_0.getValue(); break;
		case REQUEST: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.REQUEST_55115_0.getValue(); break;
		case CURRENT_PROCEDURE_DESCRIPTIONS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.CURRENT_PROCEDURE_DESCRIPTIONS_55111_9.getValue(); break;
		case PRIOR_PROCEDURE_DESCRIPTIONS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.PRIOR_PROCEDURE_DESCRIPTIONS_55114_3.getValue(); break;
		case PREVIOUS_FINDINGS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.PREVIOUS_FINDINGS_18834_2.getValue(); break;
		case FINDINGS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.FINDINGS_59776_5.getValue(); break;
		case IMPRESSIONS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.IMPRESSIONS_19005_8.getValue(); break;
		case RECOMMENDATIONS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.RECOMMENDATIONS_18783_1.getValue(); break;
		case CONCLUSIONS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.CONCLUSIONS_55110_1.getValue(); break;
		case ADDENDUM: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.ADDENDUM_55107_7.getValue(); break;
		case INDICATIONS_FOR_PROCEDURE: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.INDICATIONS_FOR_PROCEDURE_18785_6.getValue(); break;
		case PATIENT_PRESENTATION: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.PATIENT_PRESENTATION_55108_5.getValue(); break;
		case COMPLICATIONS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.COMPLICATIONS_55109_3.getValue(); break;
		case SUMMARY: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.SUMMARY_55112_7.getValue(); break;
		case KEY_IMAGES: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.KEY_IMAGES_55113_5.getValue(); break;
		case RADIATION_EXPOSURE_AND_PROTECTION_INFORMATION: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.RADIATION_EXPOSURE_AND_PROTECTION_INFORMATION_73569_6.getValue(); break;
		case CLINICAL_INFORMATION: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.CLINICAL_INFORMATION_55752_0.getValue(); break;
		case MEDICATIONS_ADMINISTERED: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.MEDICATIONS_ADMINISTERED_29549_3.getValue(); break;
		case COMMUNICATION_OF_CRITICAL_RESULTS: this.strCodeValue =EnumCV_DiagnosticImagingReportHeadings.COMMUNICATION_OF_CRITICAL_RESULTS_73568_8.getValue(); break;
		}
	}

	/**
	 * Sets the value for DiagnosticImagingReportHeadings
	 * @param enumDiagnosticImagingReportHeadings Object of EnumCM_DiagnosticImagingReportHeadings.
	 */
	public void setDiagnosticImagingReportHeadings(EnumCM_DiagnosticImagingReportHeadings enumDiagnosticImagingReportHeadings)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumDiagnosticImagingReportHeadings.getValue();
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.LN.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumDiagnosticImagingReportHeadings);
	}
}
