Inbound Processing Discrepancy
Healthcare Integrations (automated data exchanges between healthcare-related source systems and ORMB) routinely move many records through an inbound message queue. In such kind of setup, the time ORMB system receives an inbound message may differ from the time the source system created the original record.
When multiple messages reach the ORMB system at nearly the same time, relying only on ORMB creation timestamp may process those inbound messages based on the arrival timing instead of the order in which they were created in the source system. To counter such scenario, the Pricing Discrepancy design resolves this issue by storing the source system transaction timestamp in the inbound message record. The goal is to process batch records in the most accurate available time sequence, while using a consistent fallback whenever timestamps are missing or identical.
Timing Distinctions - Driving the Design
The system design maintains two timestamps, each serving a distinct purpose. The CRE_DTTM column continues to store the system date, whereas the newly introduced TXN_DTTM column stores the exact timestamp when the inbound message is created in the source system. For instance, if Person A is created in the source system on 01 August 2026 at 09:00:00 A.M. and Person B is created on the same day at 09:15:00 A.M., and the source system creates a single inbound message for both the persons on the same day at 09:30:00 A.M., where that inbound message arrives in the ORMB application at 09:45:00 A.M. Now, in this scenario, the system does the following:
-
Stores the date and time as 01 August 2026, 09:30:00 A.M. in the TXN_DTTM field.
-
Stores the date and time as 01 August 2026, 09:45:00 A.M. in the CRE_DTTM field.
Capturing both values makes the difference explicit and preserves the existing system record.
Design Level Changes
The following design level changes are done in the ORMB application:
| Column/Parameter | Action/Purpose |
|---|---|
|
Table: C1_INBOUND_MESSAGE Column: TXN_DTTM Data type: TIMESTAMP(6) |
The new TXN_DTTM column stores the precise point in time, combining both a calendar date and clock time. Note:
If the TXN_DTTM contains NULL
in the inbound message, system stamps the System Date in the TXN_DTTM column. |
|
Batch: C1-HCEXS (HC Inbound Message Monitor Process) Batch Parameters:
|
Note:
The externalSourceId and inboundMessageType are optional. These parameters narrow the set of inbound messages selected during both job-work and execute-work-unit processing. If neither parameter is specified, the batch continues to use its existing external-source partitioning behavior. When both the parameters are specified, system applies both the conditions. An inbound message is eligible for processing only if it matches the external source criteria and the specified inbound message type. |
