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


/**
 * This class represents DiagnosticImagingReportDocumentTitles - CID7000
 */
public class DiagnosticImagingReportDocumentTitles_CID7000
{
	
	/**
	 * 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 DiagnosticImagingReportDocumentTitles_CID7000 Template 
	 */
	public DiagnosticImagingReportDocumentTitles_CID7000()
	{

	}

	/**
	 * 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 enumDiagnosticImagingReportDocumentTitles Object of EnumCM_DiagnosticImagingReportDocumentTitles represents Code Meaning.
	 */
	private void setCodeValue(EnumCM_DiagnosticImagingReportDocumentTitles enumDiagnosticImagingReportDocumentTitles)
	{
		switch(enumDiagnosticImagingReportDocumentTitles)
		{
		case CARDIAC_CATHETERIZATION_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.CARDIAC_CATHETERIZATION_REPORT_18745_0.getValue(); break;
		case CT_ABDOMEN_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.CT_ABDOMEN_REPORT_11540_2.getValue(); break;
		case CT_CHEST_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.CT_CHEST_REPORT_11538_6.getValue(); break;
		case CT_HEAD_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.CT_HEAD_REPORT_11539_4.getValue(); break;
		case CT_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.CT_REPORT_18747_6.getValue(); break;
		case DIAGNOSTIC_IMAGING_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.DIAGNOSTIC_IMAGING_REPORT_18748_4.getValue(); break;
		case ECHOCARDIOGRAPHY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.ECHOCARDIOGRAPHY_REPORT_11522_0.getValue(); break;
		case ULTRASOUND_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.ULTRASOUND_REPORT_18760_9.getValue(); break;
		case MRI_HEAD_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.MRI_HEAD_REPORT_11541_0.getValue(); break;
		case MRI_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.MRI_REPORT_18755_9.getValue(); break;
		case MRI_SPINE_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.MRI_SPINE_REPORT_18756_7.getValue(); break;
		case NUCLEAR_MEDICINE_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.NUCLEAR_MEDICINE_REPORT_18757_5.getValue(); break;
		case NUCLEAR_MEDICINE_THYROID_SCAN_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.NUCLEAR_MEDICINE_THYROID_SCAN_REPORT_17787_3.getValue(); break;
		case ULTRASOUND_OBSTETRIC_AND_GYN_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.ULTRASOUND_OBSTETRIC_AND_GYN_REPORT_11525_3.getValue(); break;
		case PET_SCAN_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.PET_SCAN_REPORT_18758_3.getValue(); break;
		case RADIOLOGY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.RADIOLOGY_REPORT_11528_7.getValue(); break;
		case CARDIAC_ELECTROPHYSIOLOGY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.CARDIAC_ELECTROPHYSIOLOGY_REPORT_18750_0.getValue(); break;
		case ECG_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.ECG_REPORT_11524_0.getValue(); break;
		case EXERCISE_STRESS_TEST_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.EXERCISE_STRESS_TEST_REPORT_18752_6.getValue(); break;
		case HOLTER_STUDY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.HOLTER_STUDY_REPORT_18754_2.getValue(); break;
		case X_RAY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.X_RAY_REPORT_43468_8.getValue(); break;
		case DEXA_SKELETAL_SYSTEM_STUDY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.DEXA_SKELETAL_SYSTEM_STUDY_REPORT_38269_7.getValue(); break;
		case BREAST_IMAGING_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.BREAST_IMAGING_REPORT_111400.getValue(); break;
		case MAMMOGRAPHY_SCREENING_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.MAMMOGRAPHY_SCREENING_REPORT_24606_6.getValue(); break;
		case FLUOROSCOPY_STUDY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.FLUOROSCOPY_STUDY_REPORT_49512_7.getValue(); break;
		case DIAGNOSTIC_INTERVENTIONAL_RADIOLOGY_REPORT: this.strCodeValue =EnumCV_DiagnosticImagingReportDocumentTitles.DIAGNOSTIC_INTERVENTIONAL_RADIOLOGY_REPORT_47048_4.getValue(); break;
		}
	}

	/**
	 * Sets the value for DiagnosticImagingReportDocumentTitles
	 * @param enumDiagnosticImagingReportDocumentTitles Object of EnumCM_DiagnosticImagingReportDocumentTitles.
	 */
	public void setDiagnosticImagingReportDocumentTitles(EnumCM_DiagnosticImagingReportDocumentTitles enumDiagnosticImagingReportDocumentTitles)
	{
		/**
		 * Retrieves the value for CodingSchemeDesignator, CodingSchemeVersion and Code Meaning and 
		 * sets the Code Value according to Code Meaning.
		 */
		this.strCodeMeaning = enumDiagnosticImagingReportDocumentTitles.getValue();
		if(strCodeMeaning.equalsIgnoreCase(EnumCM_DiagnosticImagingReportDocumentTitles.BREAST_IMAGING_REPORT.getValue()))
			this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.DCM.getValue();
		else
		this.strCodingSchemeDesignator = EnumCodingSchemeDesignator.LN.getValue();
		
		/**
		 * set code Value
		 */
		setCodeValue(enumDiagnosticImagingReportDocumentTitles);
	}
}
