/*******************************************************************************
 *  Copyright 2017 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.hl7282.hl7model.messages.medicalrecords;

import cdac.medinfo.sdk.hl7282.utils.EnumMessageCode;
import cdac.medinfo.sdk.hl7282.utils.EnumMessageStructure;
import cdac.medinfo.sdk.hl7282.utils.EnumTriggerEvent;
import cdac.medinfo.sdk.hl7282.utils.IMap;

/**
 * MDM_T08 - Document Edit Notification and Content (Event T08)
 * This event sent a notification of an edit to a document with the accompanying content. 
 * <p>Represents a MDM_T02 message structure (see chapter 9.6.8). This structure contains the 
 * following elements: </p>
 * 0: MSH (Message Header Segment) <b>SINGLE_COMPULSARY</b><br>
 * 1: SFT (Software Segment) <b>MULTIPLE_OPTIONAL</b><br>
 * 2: UAC (User Authentication Credential) <b>SINGLE OPTIONAL</b><br/>
 * 3: EVN (Event Type Segment) <b>SINGLE_COMPULSARY</b><br>
 * 4: PID (Patient Identification Segment) <b>SINGLE_COMPULSARY</b><br>
 * 5: PV1 (Patient Visit Segment) <b>SINGLE_COMPULSARY</b><br>
 * 6: COMMON_ORDER (a Group of segment in MDM_T02 Message Structure) <b>MULTIPLE_OPTIONAL</b><br>
 * 7: TXA (Transcription Document Header Segment) <b>SINGLE_COMPULSARY</b><br>
 * 8: CON (Consent Segment) <b>MULTIPLE_OPTIONAL</b><br>
 * 9: OBSERVATION (a Group of segment in MDM_T02 Message Structure) <b>MULTIPLE_COMPULSARY</b><br>
 * This class provides mechanism to serialize, parse and to validate message against HL7 v 2.8.2 standards.
 * The class provides accessor & mutators methods for the elements mentioned above.
 * These elements can be easily populated & populated values can be easily retrieved.
 * The class has validate method which should be used to validate Message against HL7 v 2.8.2 standards.
 * It provides user with serialize method to serialize message object to file & 
 * parse method to obtain fully populated & validated Message object from file. 
 *
 * <p>Following is the step to create message<br>
 * Before that, respective Message Source and Message Recipient to be set on Message Factory.</p>
 * <p>MDM_T08 objT08 = (MDM_T08)MessageFactory.createInstance().createSendSupportedMessage("MDM", "T08");</p>
 */
public final class MDM_T08 extends MDM_T02_Common  
{



	/**
	 * Constructs the MDM_T08 message.
	 */
	MDM_T08(IMap objMessageMap)
	{
		super(objMessageMap, EnumMessageCode.MDM.getValue(), EnumTriggerEvent.T08.getValue(), EnumMessageStructure.MDM_T02.getValue());
	}
}