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

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;

/**
 * SIU_S15 - Notification of Appointment Cancellation  (Event S15).
 * This message is use to notifies appointment cancellation is sent by the filler application
 * to other applications when an existing appointment has been canceled.
 * <p>Represents a SIU_S12 message structure (see chapter 10.4). This structure contains the 
 * following elements: </p>
 * 0: MSH (Message Header segment) <b>SINGLE_COMPULSARY</b><br>
 * 1: SCH (Schedule Activity Information) <b>SINGLE_COMPULSARY</b><br>
 * 2: TQ1 (Timing/Quantity) <b>MULTIPLE_OPTIONAL</b><br>
 * 3: NTE (Notes and Comments for the SCH) <b>MULTIPLE_OPTIONAL</b><br>
 * 4: PATIENT (a Group in SIU_S12 message) <b>MULTIPLE_OPTIONAL</b><br>
 * 5: RESOURCES(a Group in SIU_S12 message) <b>MULTIPLE_COMPULSARY</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>SIU_S15 objS15 = (SIU_S15)MessageFactory.createInstance().createSendSupportedMessage("SIU", "S15");</p>
 */
public final class SIU_S15 extends SIU_S12_Common  
{
	/**
	 * Constructs the SIU_S15 message.
	 */
	SIU_S15(IMap objMessageMap)
	{
		super(objMessageMap, EnumMessageCode.SIU.getValue(), EnumTriggerEvent.S15.getValue(), EnumMessageStructure.SIU_S12.getValue());
	}
}