Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Tutorials — Getting Started : CAQH Sample

CAQH Sample
TIBCO BusinessConnect EDI protocol powered by Instream supports CAQH connectivity rules, including Phase II (version 2.2.0) and Phase IV (version 4.0.0) of the CAQH connectivity rules.
There are 2 type of envelope specifications - HTTP MIME Multipart and SOAP + WSDL. Phase II (version 2.2.0) connectivity rules support both envelopes, but Phase IV (version 4.0.0) only support SOAP + WSDL envelope.
SOAP + WSDL Envelope
In this tutorial, you can use TIBCO ActiveMatrix BusinessWorks and TIBCO BusinessConnect EDI Protocol powered by Instream running on one machine to send an X12 270 batch transaction to a trading partner.
The transaction set identifier information is as follows:
CAQH Batch Interaction
When you run the tutorial, the following operations occur at the Initiator end:
1.
TIBCO Designer/TIBCO Business Studio parses the XML data, and sends the XML data to TIBCO BusinessConnect EDI Protocol powered by Instream.
TIBCO BusinessConnect EDI Protocol powered by Instream converts the XML data to X12 data.
2.
3.
4.
5.
6.
Processes Overview
Process names are slightly different in TIBCO Designer and TIBCO Business Studio. For example, the Send 270 Request to BC process in TIBCO Designer equals the Send_270_Request_to_BC process in TIBCO Business Studio. The following description takes processes in TIBCO Designer as an example.
The CAQH_SOAP_EDI project contains several processes in folders: Batch/Initiator/Explicit PayloadType Batch/CAQH_SOAP and Batch/Responder.
The Batch/Initiator/Explicit PayloadType Batch folder contains the following processes:
This process reads a file containing the XML equivalent of a 270 transaction, and sends the XML data to TIBCO BusinessConnect as a CAQH batch submission request.
This process sends a CAQH batch response retrieval request to get the 271 response from the trading partner.
This process sends a CAQH acknowledgment retrieval request to get the 824 acknowledgment from the trading partner.
This process sends a CAQH acknowledgment retrieval request to get the 999 acknowledgment from the trading partner.
This process sends a CAQH acknowledgment retrieval request to get the TA1 acknowledgment from the trading partner.
This process simulate Initiator send all CAQH request with the same PayloadID and expect that batch response/acknowledgment retrieval request only get data which is corresponding to the original batch request.
The Batch/Responder folder contains the following processes:
This process receive batch submission 270 request and sends back 271 data as batch response.
Prerequisites
Before running this tutorial, you must complete the tasks of Importing Operations and Configuring Trading Partner and Host.
Importing Operations
You must import the following operations:
BC_HOME/protocols/soap/samples/caqh/caqh.csx
BC_HOME/protocols/tibedi/samples/interfaces/HIPAA-RT-00501-270-271.csx
Change the transaction name to 270R before importing 270 notify operations
a.
Click the X12 link.
b.
In the Edit Operations: X12 dialog, click the topmost expand all to display all operations.
c.
Click 00501 > 005010X279A1 > 270 transaction link.
d.
Click the Notification Transaction tab.
e.
Click the General tab.
f.
g.
Click Save.
h.
Click Done.
BC_HOME/protocols/tibedi/samples/interfaces/HIPAA-00501.csx
Configuring Trading Partner and Host
You must do the following to configure the Trading Partner and Host. The below configuration is applicable both for the Initiator and Responder.
1.
Click Partner > Protocols > SOAP > General tab.
2.
On the General tab, select the Send CAQH Message To EDI Protocol check box.
3.
Click Host > Protocols > X12 > General tab.
4.
In the CAQH UserName to authenticate at Partner field, enter Test.
5.
In the CAQH Password to authenticate at Partner field, enter Test.
6.
Click Host > Protocols > X12 > Advanced tab.
7.
Click CAQH > Store location and specify the file directory.
8.
Click System Settings > User Authentication Configuration.
9.
Click the Add button.
10.
Select BC Database.
11.
Click OK and then click Done.
12.
Click User Management > Users > External tab.
13.
Click the Add button.
14.
In the Email field, enter Test.
15.
From the Belongs to Partner list, select Trading Partner.
16.
Set Password to Test.
17.
Click OK and then click Save.
Running a Tutorial
To run the tutorial, you must run the following processes from TIBCO Designer and check the results.
Start Receive 270 Request process.
Send a 270 Request transaction from TIBCO Designer.
See Sending the 270 Request.
See Expected Results and Viewing the Audit Log.
Sending the 270 Request
You must send a 270 Request from TIBCO Designer. This transaction is used for sending the CAQH batch submission request.
To see the Send 270 Request, click Project > Batch > Initiator > Explicit PayloadType Batch > CAQH_SOAP > Send 270 Request.
Send 270 Request shows the Send 270 Request to BC process.
Figure 18 Send 270 Request
This process performs the following operations:
1.
2.
3.
Running the Process
This procedure describes how to run the process.
1.
2.
In the Tester tab, click Start testing viewed process .
Figure 19 Select Process to Load
3.
In the Select Processes to Load dialog, select the check box next to Send 270 Request To BC in the X12 Message Processes folder.
4.
Click Load Selected to run the process.
If everything is configured and runs properly, you can get the result shown in XML 270 Transaction Read from a File.
Figure 20 XML 270 Transaction Read from a File
Expected Results
When the 270 transaction is received by TIBCO BusinessConnect EDI Protocol powered by Instream, several operations are performed.
1.
2.
3.
4.
5.
6.
What you can observe:
Viewing the Audit Log
This procedure describes how to view the audit log on the Initiator machine.
1.
2.
In the left panel, expand BusinessConnect > Log Viewer.
3.
In the right panel, click the X12 link to view the X12 logs.
In the right panel, click the SOAP link to view the SOAP logs.
4.
Select items from the following lists: Status, Connection, and Date Range.
5.
Click Search to search for the matching audit logs.
Figure 21 Send 270 Request To BC X12 Audit Log at the Initiator end
Figure 22 Send 270 Request To BC SOAP Audit Log at the Initiator end
Figure 23 Send 270 Request To BC X12 Audit Log at the Responder end
Figure 24 Send 270 Request To BC SOAP Audit Log at the Responder end
6.
Click Details in the search results area for a specific operation to view details of the transaction.
 
Figure 25 Transaction Details for the Send 270 Request To BC X12 Audit Log
 
7.
Figure 26 Detailed View of Transaction at RECEIVED_FROM_PP state
The Detail View provides you with all message details. It also indicates whether a particular message can be resent or saved.
CAQH Real-time Interaction
When you run the tutorial, the following operations occur:
1.
2.
3.
4.
5.
6.
Process Overview
Process names are slightly different in TIBCO Designer and TIBCO Business Studio. For example, the Send 270 Request to BC process in TIBCO Designer equals the Send_270_Request_to_BC process in TIBCO Business Studio. The following description takes processes in TIBCO Designer as an example.
The CAQH_SOAP_EDI project contains several processes in folders: Realtime/Initiator and Realtime/Responder.
The Realtime/Initiator/V220 folder contains the following processes:
This process reads a file containing the XML equivalent of a 270 transaction, and sends the XML data to TIBCO BusinessConnect as a CAQH batch submission request of CAQH Phase II.
The Realtime/Initiator/V400 folder contains the following processes:
This process reads a file containing the XML equivalent of a 270 transaction, and sends the XML data to TIBCO BusinessConnect as a CAQH batch submission request of CAQH Phase IV.
The Realtime/Initiator folder contains the following processes:
This process receives the CAQH Advisory messages that has been sent to SOAP.
This process receives the CAQH Advisory messages that has been sent to EDI.
The Realtime/Responder folder contains the following processes:
This process receives the 270 Synchronous Request and sends back 271as a Synchronous Response to BC.
This process receives the CAQH Advisory messages that has been sent to EDI
This process receives the CAQH Advisory messages that has been sent to SOAP.
Prerequisites
Before running this tutorial, you must complete the tasks of Importing Operations and Configuring Trading Partner and Host that are specified in CAQH Batch Interactions.
Running the Tutorial
To run the tutorial, you must run the following processes from TIBCO Designer and check the results.
Start "Receive 270 Request and Send 271 Response" process.
Then, from the Initiator side run the following processes as shown below:
Start "Send 270 Sync Request" available in Realtime/Initiator/V220.
Send a 270 Sync Request transaction from TIBCO Designer.
See Send 270 Sync Request.
See Expected Results and Viewing the Audit Log.
Send 270 Sync Request
You must send a 270 Request from TIBCO Designer. This transaction is used for sending the CAQH real-time request.
To see the Send 270 Sync Request, click Project > Realtime > Initiator > V220 > Send 270 Sync Request.
Figure 27 shows the Send 270 Request to BC process.
Figure 27 Send 270 Sync Request
This process performs the following operations:
1.
2.
3.
Running the Process
This procedure describes how to run the process.
1.
2.
In the Tester tab, click Start testing viewed process
Figure 28 Select process to Load
3.
In the Select Processes to Load dialog, select the check box next to Send 270 Sync Request To BC in the X12 Message Processes folder.
4.
Click Load Selected to run the process.
If everything is configured and runs properly, you can get the result shown in Send 270 Sync Transaction.
Figure 29 Send 270 Sync Transaction
Expected Results
When the 270 transaction is received by TIBCO BusinessConnect EDI Protocol powered by Instream, several operations are performed.
1.
2.
3.
4.
5.
Viewing the Audit Log
This procedure describes how to view the audit log on the Initiator machine.
1.
2.
In the left panel, expand BusinessConnect > Log Viewer.
3.
In the right panel, click the X12 link to view the X12 logs.
In the right panel, click the SOAP link to view the SOAP logs.
4.
Select items from the following lists: Status, Connection, and Date Range.
5.
Click Search to search for the matching audit logs.
Figure 30 Send 270 Sync Request to BC X12 Audit Log at Initiator
Figure 31 Send 270 Sync Request to BC SOAP Audit Log at Initiator
 
Figure 32 Send 270 Sync Request to BC X12 Audit Log at Responder
 
Figure 33 Send 270 Sync Request to BC SOAP Audit Log at Responder
6.
Click Details in the search results area for a specific operation to view details of the transaction.
Figure 34 Transaction Details for Receive 270 Request at BC SOAP
Figure 35 Transaction Details for Receive 270 Request at BC X12
 
7.
Figure 36 SYNC_REQUEST_FROM_SOAP
HTTP MIME Multipart Envelope
In this tutorial, you can use TIBCO ActiveMatrix BusinessWorks and TIBCO BusinessConnect EDI Protocol powered by Instream running on one machine to send an X12 270 batch transaction to a trading partner.
The transaction set identifier information is as follows:
CAQH Batch Interaction
When you run the tutorial, the following operations occur at the Initiator end:
1.
TIBCO Designer/TIBCO Business Studio parses the XML data, and sends the XML data to TIBCO BusinessConnect EDI Protocol powered by Instream.
TIBCO BusinessConnect EDI Protocol powered by Instream converts the XML data to X12 data.
2.
3.
4.
5.
6.
7.
Processes Overview
Process names are slightly different in TIBCO Designer and TIBCO Business Studio. For example, the Send 270 Request to BC process in TIBCO Designer equals the Send_270_Request_to_BC process in TIBCO Business Studio. The following description takes processes in TIBCO Designer as an example.
The CAQH_SOAP_EDI project contains several processes in folders: Batch/Initiator/Explicit PayloadType Batch/CAQH_MIME and Batch/Responder.
The Batch/Initiator/Explicit PayloadType Batch folder contains the following processes:
This process reads a file containing the XML equivalent of a 270 transaction, and sends the XML data to TIBCO BusinessConnect as a CAQH batch submission request.
This process sends a CAQH batch response retrieval request to get the 271 response from the trading partner.
This process sends a CAQH acknowledgment retrieval request to get the 824 acknowledgment from the trading partner.
This process sends a CAQH acknowledgment retrieval request to get the 999 acknowledgment from the trading partner.
This process sends a CAQH acknowledgment retrieval request to get the TA1 acknowledgment from the trading partner.
This process simulates Initiator and sends all CAQH requests with the same PayloadID and expects that batch response/acknowledgment retrieval request only get the data which is corresponding to the original batch request.The Batch/Responder folder contains the following processes:
This process receives batch submission 270 request and sends back 271 data as batch response.
Prerequisites
Before running this tutorial, complete the tasks of Importing Operations and Configuring Trading Partner and Host that are specified in CAQH tutorial with SOAP+WSDL implementation.
While performing tasks of Importing Operations, it is not necessary to import CAQH operation of SOAP protocol.
While performing the tasks of Configuring Trading Partner and Host, it is not necessary to configure SOAP protocol settings for TP that are mentioned below.
Click Partner > Protocols > SOAP > General tab.
On the General tab, select the Send CAQH Message To EDI Protocol check box.
Click Partner> Protocols > X12 > Transports tab.
Create HTTP/HTTPS outbound transport and provide the below query string in HTTP/HTTPS transport URL.
package = x12-caqh-mime
For example:
server1.company.example.com:6700/X12?package=x12- caqh-mime
Running a Tutorial
To run the tutorial, you must run the following processes from TIBCO Designer and check the sending results.
Start Receive 270 Request process.
Send a 270 Request transaction from TIBCO Designer.
Sending the 270 Request
You must send a 270 Request from TIBCO Designer. This transaction is used for sending the CAQH batch submission request.
To see the Send 270 Request, click Project > Batch > Initiator > Explicit PayloadType Batch > CAQH_MIME > Send 270 Request.
Running the Process
This procedure describes how to run the process.
1.
2.
In the Tester tab, click Start testing viewed process .
3.
In the Select Processes to Load dialog, select the check box next to Send 270 Request To BC in the X12 Message Processes folder.
4.
Click Load Selected to run the process.
Expected Results
When the 270 transaction is received by TIBCO BusinessConnect EDI Protocol powered by Instream, several operations are performed.
1.
2.
3.
4.
5.
6.
7.
Viewing the Audit Log
This procedure describes how to view the audit log on the Initiator machine.
1.
2.
In the left panel, expand BusinessConnect > Log Viewer.
3.
In the right panel, click the X12 link to view the X12 logs.
4.
Select items from the following lists: Status, Connection, and Date Range.
5.
Click Search to search for the matching audit logs.
Figure 37 Send 270 Request To BC X12 Audit Log at the Initiator end
Figure 38 Send 270 Request To BC X12 Audit Log at the Responder end
6.
Click Details in the search results area for a specific operation to view details of the transaction
Figure 39 Transaction Details for the Send 270 Request To BC X12 Audit Log
7.
CAQH Real-time Interaction
When you run the tutorial, the following operations occur:
1.
TIBCO Designer/TIBCO Business Studio parses the XML data, and sends the XML data to TIBCO BusinessConnect EDI Protocol powered by Instream.
TIBCO BusinessConnect EDI Protocol powered by Instream converts the XML data to X12 data.
2.
3.
4.
5.
Process Overview
The process information is similar to Process Overview pertaining to Real-time Interaction with SOAP+WSDL tutorial.
Prerequisites
To run this tutorial, Prerequisites tasks are similar to Prerequisites section available in Batch Interaction with HTTP MIME Multipart.
Running a Tutorial
This tutorial is similar to Running the Tutorial section provided in the Real-time Interaction of CAQH with SOAP+WSDL.
Expected Results
When the 270 transaction is received by TIBCO BusinessConnect EDI Protocol powered by Instream, several operations are performed.
1.
2.
3.
4.
5.
Viewing the Audit Logs
This procedure describes how to view the audit log on the Initiator machine.
1.
2.
In the left panel, expand BusinessConnect > Log Viewer.
3.
In the right panel, click the X12 link to view the X12 logs.
4.
Select items from the following lists: Status, Connection, and Date Range.
5.
Click Search to search for the matching audit logs
Figure 40 Send 270 as Sync Request to BC Audit Log at the Initiator
 
Figure 41 Receive 270 Sync Request and send271 Response Audit Log at Responder
 
6.
Click Details in the search results area for a specific operation to view details of the transaction
Figure 42 Transaction Details for Send 271 as a Synchronous Response at Responder
 
7.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved