HIPAA Link Module Version 7.1 SP1.July 2011 | Understanding and Using HIPAA Link Module | Installing and Using HIPAA Link Module | Processing HIPAA Messages Sent to Integration Server | Before You Can Process Inbound HIPAA Messages | Defining a Processing Rule for an Envelope Document
 
Defining a Processing Rule for an Envelope Document
To specify how to process the envelope document, you must define a processing rule that includes the following actions, in order to comply with the HIPAA standard:
*Validates the ISA, GS, and ST segments.
*Responds with appropriate acknowledgments (for example, TA1, 997, or 824).
*To create a processing rule for the envelope
Create a processing rule in My webMethods. For information about how to create a processing rule, see the webMethods Trading Networks Administrator’s Guide for your release.
1. Set processing rule criteria. Set the following criteria on the Criteria tab of the processing rule:
Criteria tab field
Set to...
Sender
Any Senders. You can also select Selected Senders, if desired.
Receiver
Enterprise.
Important:
You must select Enterprise for this parameter so that the processing rule is only invoked when you are receiving an envelope document (and not when sending one).
Document Type
Selected Document Types. Select document type X12 Envelope
Specify X12 Envelope as the TN document type for the envelope document to ensure the processing rule is only invoked when processing an envelope document.
Important:
If the envelope validation fails, the EDI recognizer does not split the group and transaction documents from the HIPAA message. As a result, group and transaction documents are not processed. Only the envelope document is passed to Trading Networks for processing, so your logic can handle the error and send a TA1 technical acknowledgment, if appropriate. For more information about how the HIPAA message is split into envelope, group, and/or transaction documents, see Process Overview.
2. Set processing actions. On the Action tab of the processing rule do the following:
a. Select Perform the following actions.
b. Select Execute a service and specify a service that you created to process the envelope document.
Use the HIPAA Link Module wm.estd.hipaa.sample:processHipaaMessage sample service as a guideline for creating your own service. For details about this service, see the webMethods Module for HIPAA 9.0 Sample Package User's Guide .
3. For more information about the logic your service must use to meet HIPAA standards and the built-in services provided by HIPAA Link Module that you can use as guidelines, see Using Services to Process Inbound HIPAA Messages.