The HC_OMP_O09 collaboration template processes MQWF_OMP_O09 business objects. The HC_OMP_O09 collaboration template uses data contained in the MQWF_OMP_O09 business object to build and populate an HL7 MTOMP request business object. The collaboration is generally used as one of a pair of closely coupled request/response collaborations. Data stored by HC_OMP_O09 (the request) is used by the HC_ORP_O10 collaboration (the response). The OMP/ORP request/response message pair is used to process pharmacy orders.
IBM WebSphere MQ Workflow context data is stored in the PROCESSCONTEXT table.
This collaboration object performs the following tasks:
HC_OMP_O09 uses the generic MTOMP business object to represent an HL7 Pharmacy Order message.
This section includes information on port bindings and required steps for setting up collaboration objects based on HC_OMP_O09. 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.
The following diagram illustrates HC_OMP_O09'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.
Business object | Bound to | Function | Verbs used |
---|---|---|---|
MTOMP | 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 to use. | Retrieve |
Business object | Bound to | Function | Verbs used |
---|---|---|---|
MQWF_OMP_O09 | Source application's connector or calling collaboration object. | Receives the triggering business object. | Create |
Business object | Bound to | Function | Verbs used |
---|---|---|---|
MTOMP | Destination application's connector | Sends the HL7 message business object out of the collaboration object. | Create |
To set up HC_OMP_O09 as a stand-alone collaboration object, complete the following steps:
This section illustrates the business processing logic for this collaboration template:
This section illustrates this collaboration template's process logic for the supported verb, Create.
The following diagrams show the process logic for this collaboration template's Create verb.
SYNC_LOGIC diagram
Process HL7 Message diagram
Save Workflow Process Context diagram
Create HL7 Message Diagram
This collaboration template uses the following standard business processes:
This section describes the standard and specific configuration properties for this collaboration:
This collaboration template uses the following standard configuration properties:
This collaboration template has the following configuration properties specific to it:
This property specifies the database connection pool.
Default value | Usage |
---|---|
HEALTHCARE_DB | Defines the database connection pool used by the collaboration. |
This property specifies a value used in the creation of a runtime process context key. This string should be no more than 3 characters in length.
Default value | Usage |
---|---|
O09 | Used as part of a unique process context database key. This ID is also used as the HL7 message trigger event ID. As a convention, use the HL7 message event trigger. |
This property defines the database duplicate row insert error code. It is used in the processing of the unique process context key.
Default value | Usage |
---|---|
SQL0803 | Database error code returned in the event of a duplicate row insertion |