The HC_SaveOrder collaboration template processes EMR_UPDATE business objects. The HC_SaveOrder collaboration template uses data contained in the EMR_UPDATE business object to save the input pharmacy order information to a database table. The collaboration then builds and populates an X12_A1_270 business object and sends it to an external source (for instance, the HIPAA 270 collaboration) to determine the patient's eligibility for the ordered medication.
This collaboration object performs the following tasks:
This section includes information on port bindings and required steps for setting up collaboration objects based on HC_SaveOrder. 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_SaveOrder'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 |
---|---|---|---|
X12_A1_270 | 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 |
---|---|---|---|
EMR_UPDATE | Source application's connector or calling collaboration object. | Receives the triggering business object. | Create |
Business object | Bound to | Function | Verbs used |
---|---|---|---|
X12_A1_270 | Destination application's connector | Sends the HIPAA 270 request message business object out of the collaboration object. | Create |
To set up HC_SaveOrder 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
Save Request and Check Authorization diagram
Save Portal App Data diagram
Create HIPAA 270 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 database table key used to save the medical order information. This string should be no more than 3 characters in length.
Default value | Usage |
---|---|
OMP | Part of a unique key used to save the medical order information to a database table. |
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 |