HC_271RSP Collaboration Template

The HC_271RSP collaboration template processes X12_A1_271 business objects. The HC_271RSP collaboration template uses data contained in the X12_A1_271 business object to determine if the sender of the HIPAA 271 message authorized the ordered patient medication. The collaboration then builds an MQWF_EMR business object and populates it with the previously saved medication information. The MQWF_EMR business object is sent to WebSphere MQ Workflow to start an Electronic Medical Record process that will execute the order for medication and notify the ordering physician of its completion.

This collaboration object performs the following tasks:

Collaboration object setup

This section includes information on port bindings and required steps for setting up collaboration objects based on HC_271RSP. For information on standard features, ports, and configuration properties for collaboration templates, and for general information on creating collaboration objects, refer to the documents listed in Required Documents for Creating Collaboration Objects.

Port information

The following diagram lists HC_271RSP's ports:

List of this collaboration's ports

Note: To keep the collaboration object from using a port, bind that port to the Port connector. Doing so indicates that the port is unused without causing the collaboration object to provide additional functionality.

DestinationAppRetreive
Business object Bound to Function Verbs used
MQWF_EMR Source application's connector or calling collaboration object. Sends a reference-valued business object to retrieve the full-valued business object. The result determines which verb is used. Retrieve
From
Business object Bound to Function Verbs used
X12_A1_271 Source application's connector or calling collaboration object. Receives the triggering business object. Create
To
Business object Bound to Function Verbs used
MQWF_EMR Destination application's connector Sends the WebSphere MQ Workflow business object out of the collaboration object. Create
ToEmail
Business object Bound to Function Verbs used
EMR_Struct_OMP_Email HC_EMR_Email collaboration Send an e-mail business object out of the collaboration indicating that the HIPAA 271 authorization failed Create

Setting up HC_271RSP as a stand-alone object

To set up HC_271RSP as a stand-alone collaboration object, complete the following steps:

  1. Create the HC_271RSP collaboration object.
  2. Bind all ports as described in Port information.
  3. Configure HC_271RSP as described in Configuration properties.

Collaboration template processes

This section illustrates the business processing logic for this collaboration template:

Overall process logic

This section illustrates this collaboration template's process logic for the supported verb, Create.

Create

The following diagrams show the process logic for this collaboration template's Create verb.

Diagram showing this collaboration's SyncLogic process

     SyncLogic diagram

     Process Order Message diagram

     Check For Saved Order diagram

     Error Send Email diagram

     Create MQ Workflow Message diagram

     Send Email diagram

Standard process logic

This collaboration template uses the following standard business processes:

Configuration properties

This section describes the standard and specific configuration properties for this collaboration:

Standard properties

This collaboration template uses the following standard configuration properties:

Collaboration-specific properties

This collaboration template has the following configuration properties specific to it:

DB_CONN_POOL_NAME

This property specifies the database connection pool.

DB_CONN_POOL_NAME configuration property
Default value Usage
HEALTHCARE_DB Defines the database connection pool used by the collaboration.

WORKFLOW_PROCESS

This property specifies the WebSphere MQ Workflow process name which this collaboration should include in the MQ Workflow business object it sends telling MQ Workflow which process to execute.

WORKFLOW_PROCESS configuration property
Default value Usage
ElectronicMedicalRecord Name of the WebSphere MQ Workflow process this collaboration needs to execute.

WORKFLOW_USERID

This property specifies the value of the UserId parameter included in the WebSphere MQ Workflow business object created by this collaboration.

WORKFLOW_USERID configuration property
Default value Usage
ADMIN UserId to be passed to the WebSphere MQ Workflow process this collaboration needs to execute.

Related reference

Copyright IBM Corp. 2002, 2003