/*******************************************************************************
 *  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.masterfiles;

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;

/**
 * MFK_M07 - Master File Application Acknowledgment(Event M07).
 * <p>Represents a MFK_M01 message structure (see chapter 8.11.1). 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 Segment) <b>SINGLE_OPTIONAL</b><br>
 * 3: MSA (Message Acknowledgment Segment) <b>SINGLE_COMPULSARY</b><br>
 * 4: ERR (Error Segment) <b>MULTIPLE_OPTIONAL</b><br>
 * 5: MFI (Master File Identification Segment) <b>SINGLE_COMPULSARY</b><br>
 * 6: MFA (Master File Acknowledgment Segment) <b>MULTIPLE_OPTIONAL</b><br>
 * This class provides mechanism to validate message against HL7 v 2.8.2 standard.
 * The class provides accessors & mutators for the elements mentioned above.
 * These elements can be easily populated & populated values can be easily retrieved.
 * The class has validate method which validates Message against HL7 v 2.8.2 standard. 
 *
 * <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>MFK_M07 objM07 = (MFK_M07)MessageFactory.createInstance().createSendSupportedMessage("MFK", "M07");</p>
 */
public final class MFK_M07 extends MFK_M01_Common
{
	/**
	 * Constructs the MFK_M07 message.
	 * @param strTempTriggerEvent
	 */
	public MFK_M07(IMap objMessageMap)
	{
		super(objMessageMap, EnumMessageCode.MFK.getValue(), EnumTriggerEvent.M07.getValue(), EnumMessageStructure.MFK_M01.getValue());
	}
}

