HL7 Module 10.5 | Understanding and Using HL7 Module | Installing and Using HL7 Module | webMethods HL7 Module Services | WmHL7 Package | wm.ip.hl7.service:generateACK
 
wm.ip.hl7.service:generateACK
Generates an Acknowledgement message for a given HL7 message.
Input Parameters
message
Object The HL7 message for which to generate an acknowledgement.
mode
String Optional. Determines the way in which the acknowledgement is generated. Valid values are:
*Enhanced - HL7 Module will use the value in the MSH-15 field to determine the way in which the acknowledgement is generated, as per the HL7 standard. This is the default.
*Original - HL7 Module will always generate an acknowledgement for the message it receives, regardless of whether the MSH-15 field is present or what value it has, and without depending on any other constraints from the message.
schemeID
String Optional. The unique message scheme ID. If you do not specify a message scheme ID, HL7 Module uses the default message scheme, wm.ip.hl7.docType.
charsetEncoding
String Optional. Used to determine the encoding when reading the HL7 message. Valid values for this parameter are the Java charset encoding values supported by the HL7 standard. The default value is UTF-8.
generateAs
String Optional. The format in which you want to create the ACK message. Select either bytes, string, or document. The default value is string.
Output Parameters
ack
Document The ACK message in either bytes, string, or document data type, as specified in the generateAs input parameter.