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

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;

/**
 * RSP_K24 - Allocate Identifiers Response (RSP) (Events Q24).
 * This event is designed for interaction between a client system and an MPI (Master
 * Person Index).
* <p>Represents a RSP_K23 message structure (see chapter 3.2.59). This structure contains the 
 * following elements: </p>
 * 0: MSH (Message Header) <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: MSA (Message Acknowledgment) <b>SINGLE_COMPULSARY</b><br>
 * 4: ERR (Error) <b>SINGLE_OPTIONAL</b><br>
 * 5: QAK (Query Acknowledgment) <b>SINGLE_COMPULSARY</b><br>
 * 6: QPD (Query Parameter Definition) <b>SINGLE_COMPULSARY</b><br>
 * 7: RSP_K23_QUERY_RESPONSE (a Group object) <b>SINGLE_OPTIONAL</b><br>
 * 8: DSC (Continuation Pointer) <b>SINGLE_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.
 */
public final class RSP_K24 extends RSP_K23_Common 
{
	/**
	 * Constructs the RSP_K24 message.
	 */
	RSP_K24(IMap objMessageMap)
	{
		super(objMessageMap, EnumMessageCode.RSP.getValue(), EnumTriggerEvent.K24.getValue(), EnumMessageStructure.RSP_K23.getValue());
	}
}