package cdac.medinfo.sdk.hl7282.hl7model.messages.query;

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;

/**
 * RTB_Z92 - Response Grammar (Event Z92).
 * <p>Represents a RTB_Z92 message structure (see chapter 5.9.3.1). 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 segment) <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: ROW_DEFINITION (a Group of segment in RTB_Z92 message) <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.
 *
 * <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>RTB_Z92 objZ92 = (RTB_Z92)MessageFactory.createInstance().createSendSupportedMessage("RTB", "Z92");</p>
 */
public class RTB_Z92 extends RTB_K13_Common
{

	/**
	 * Constructs the RTB_Z92 message.
	 */
	RTB_Z92(IMap objMessageMap)
	{
		super(objMessageMap, EnumMessageCode.RTB.getValue(), EnumTriggerEvent.Z92.getValue(), EnumMessageStructure.RTB_K13.getValue());
	}
}
