OpenMRS EIP - How to use?

Hello,

I’m trying to understand how Ozone makes use of the OpenMRS EIP to integrate with SENAITE and Odoo.

I’m trying to wrap my head around it. I created a patient in my local Ozone instance, and it didn’t sync with SENAITE or Odoo, so I might be missing something.

I understand that the Ozone EIP client makes use of Apache Camel and sets up some routes that get triggered on changes reported by the OpenMRS EIP client. What I’m wondering is, how do I know if it’s running/working? How do I check logs?

@Mekom

Thanks in advance for any guidance.

1 Like

A side breaking news, there will eventually be a UI to visualise and manage EIP messages. In the meantime, you’re down to scrolling through logs of the SpringBoot app or analysing entries in the error queue of its management DB.

@ruhanga could you provide some pointers to @hmouhtar?

@hmouhtar can you look in the management DB for the EIP client for existence of rows in the debezium_event_queue and sender_retry_queue, the latter actually will have error details if something went wrong.

I looked it up. sender_retry_queue had some records, I deleted all the rows to start fresh and then created a new patient on OpenMRS, no new rows were added to any of the tables. Are new patients on OpenMRS supposed so be synced with Odoo and SENAITE? @mksd

Console output of eip_client container before and after creating a new patient on OpenMRS:

INFO  2023-03-06 00:34:13,311 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:34:13.311659962Z INFO  2023-03-06 00:34:13,311 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:34:13.311668295Z INFO  2023-03-06 00:34:13,311 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:34:13.312320337Z INFO  2023-03-06 00:34:13,312 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@46207cc
2023-03-06T00:34:23.322657592Z INFO  2023-03-06 00:34:23,320 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:34:23.322731925Z INFO  2023-03-06 00:34:23,320 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:34:23.322788175Z INFO  2023-03-06 00:34:23,320 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:34:23.322806967Z INFO  2023-03-06 00:34:23,321 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@6c8016d
2023-03-06T00:34:33.333397930Z INFO  2023-03-06 00:34:33,331 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:34:33.333511013Z INFO  2023-03-06 00:34:33,332 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:34:33.333526263Z INFO  2023-03-06 00:34:33,332 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:34:33.334424597Z INFO  2023-03-06 00:34:33,333 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@7ab1552a
2023-03-06T00:34:43.356720962Z INFO  2023-03-06 00:34:43,356 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:34:43.356862754Z INFO  2023-03-06 00:34:43,356 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:34:43.356907462Z INFO  2023-03-06 00:34:43,356 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:34:43.357993920Z INFO  2023-03-06 00:34:43,357 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@71763c2c
2023-03-06T00:34:53.374983467Z INFO  2023-03-06 00:34:53,373 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:34:53.375138592Z INFO  2023-03-06 00:34:53,374 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:34:53.375466633Z INFO  2023-03-06 00:34:53,374 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:34:53.377504300Z INFO  2023-03-06 00:34:53,377 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@2458c5f6
2023-03-06T00:35:03.397765805Z INFO  2023-03-06 00:35:03,396 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:35:03.397964763Z INFO  2023-03-06 00:35:03,397 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:35:03.398012722Z INFO  2023-03-06 00:35:03,397 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:35:03.400568513Z INFO  2023-03-06 00:35:03,399 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@4f51ce9b
2023-03-06T00:35:13.423232754Z INFO  2023-03-06 00:35:13,422 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:35:13.423390504Z INFO  2023-03-06 00:35:13,422 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:35:13.423728087Z INFO  2023-03-06 00:35:13,423 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:35:13.425485420Z INFO  2023-03-06 00:35:13,424 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@7fb45ea3
2023-03-06T00:35:21.124913841Z INFO  2023-03-06 00:35:21,124 [blc-mysql:3306] i.d.r.h.DatabaseHistoryMetrics:135 Already applied 109967 database changes
2023-03-06T00:35:21.275373882Z INFO  2023-03-06 00:35:21,274 [Camel (camel-1) thread #5 - DebeziumConsumer] o.o.e.m.w.DebeziumMessageProcessor:100 Processing change event: Event {tableName=patient, primaryKeyId=58, identifier=null, operation=c, snapshot=false}, Source Metadata: {query=null, thread=0, server_id=2, version=1.1.0.Final, file=mysqld-bin.000003, connector=mysql, pos=25817494, name=openmrs, gtid=null, row=0, ts_ms=1678062921000, snapshot=false, db=openmrs, table=patient}
2023-03-06T00:35:21.286600841Z INFO  2023-03-06 00:35:21,286 [Camel (camel-1) thread #5 - DebeziumConsumer] debezium-event-listener:158 Debezium event added to event queue
2023-03-06T00:35:21.287081632Z INFO  2023-03-06 00:35:21,286 [Camel (camel-1) thread #5 - DebeziumConsumer] o.o.e.m.w.DebeziumMessageProcessor:100 Processing change event: Event {tableName=person_name, primaryKeyId=58, identifier=null, operation=c, snapshot=false}, Source Metadata: {query=null, thread=0, server_id=2, version=1.1.0.Final, file=mysqld-bin.000003, connector=mysql, pos=25818098, name=openmrs, gtid=null, row=0, ts_ms=1678062921000, snapshot=false, db=openmrs, table=person_name}
2023-03-06T00:35:21.294386757Z INFO  2023-03-06 00:35:21,294 [Camel (camel-1) thread #5 - DebeziumConsumer] debezium-event-listener:158 Debezium event added to event queue
2023-03-06T00:35:21.294810049Z INFO  2023-03-06 00:35:21,294 [Camel (camel-1) thread #5 - DebeziumConsumer] o.o.e.m.w.DebeziumMessageProcessor:100 Processing change event: Event {tableName=patient_identifier, primaryKeyId=53, identifier=null, operation=c, snapshot=false}, Source Metadata: {query=null, thread=0, server_id=2, version=1.1.0.Final, file=mysqld-bin.000003, connector=mysql, pos=25818672, name=openmrs, gtid=null, row=0, ts_ms=1678062921000, snapshot=false, db=openmrs, table=patient_identifier}
2023-03-06T00:35:21.298356007Z INFO  2023-03-06 00:35:21,298 [Camel (camel-1) thread #5 - DebeziumConsumer] debezium-event-listener:158 Debezium event added to event queue
2023-03-06T00:35:21.344141632Z INFO  2023-03-06 00:35:21,343 [Camel (camel-1) thread #2 - scheduler://debezium-reader] debezium-event-reader:158 Read 3 item(s) from the debezium event queue
2023-03-06T00:35:21.344442674Z INFO  2023-03-06 00:35:21,344 [Camel (camel-1) thread #2 - scheduler://debezium-reader] debezium-event-processor:158 Processing debezium event: DebeziumEvent {id=785, event=Event {tableName=patient, primaryKeyId=58, identifier=5fa86e88-3e85-483a-a77d-4a3a1b2fd11f, operation=c, snapshot=false}}
2023-03-06T00:35:21.363152299Z INFO  2023-03-06 00:35:21,361 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Processing event...
2023-03-06T00:35:21.364841216Z INFO  2023-03-06 00:35:21,363 [Camel (camel-1) thread #2 - scheduler://debezium-reader] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@4444224e
2023-03-06T00:35:21.427847049Z INFO  2023-03-06 00:35:21,427 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Done processing event!
2023-03-06T00:35:21.439694132Z INFO  2023-03-06 00:35:21,439 [Camel (camel-1) thread #2 - scheduler://debezium-reader] openmrs-to-senaite-event-listener:158 Processing db event: Event {tableName=patient, primaryKeyId=58, identifier=5fa86e88-3e85-483a-a77d-4a3a1b2fd11f, operation=c, snapshot=false}
2023-03-06T00:35:21.443131757Z INFO  2023-03-06 00:35:21,442 [Camel (camel-1) thread #2 - scheduler://debezium-reader] debezium-event-processor:158 Processing debezium event: DebeziumEvent {id=786, event=Event {tableName=person_name, primaryKeyId=58, identifier=ef6460d3-12a2-4923-ae73-43efa59e1e70, operation=c, snapshot=false}}
2023-03-06T00:35:21.451558008Z INFO  2023-03-06 00:35:21,451 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Processing event...
2023-03-06T00:35:21.451602174Z INFO  2023-03-06 00:35:21,451 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Fetching uuid for associated patient record
2023-03-06T00:35:21.453348049Z INFO  2023-03-06 00:35:21,453 [Camel (camel-1) thread #2 - scheduler://debezium-reader] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@7e61f11f
2023-03-06T00:35:21.464008008Z INFO  2023-03-06 00:35:21,463 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-patient-association-handler:158 Looking up uuid for person associated to the Person Name from the DB
2023-03-06T00:35:21.465722091Z INFO  2023-03-06 00:35:21,465 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-patient-association-handler:158 Retrieved person uuid: 5fa86e88-3e85-483a-a77d-4a3a1b2fd11f, fetching patient associated to the Person Name from OpenMRS...
2023-03-06T00:35:21.488326049Z INFO  2023-03-06 00:35:21,488 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Done processing event!
2023-03-06T00:35:21.497554133Z INFO  2023-03-06 00:35:21,497 [Camel (camel-1) thread #2 - scheduler://debezium-reader] openmrs-to-senaite-event-listener:158 Processing db event: Event {tableName=person_name, primaryKeyId=58, identifier=ef6460d3-12a2-4923-ae73-43efa59e1e70, operation=c, snapshot=false}
2023-03-06T00:35:21.499066299Z INFO  2023-03-06 00:35:21,498 [Camel (camel-1) thread #2 - scheduler://debezium-reader] debezium-event-processor:158 Processing debezium event: DebeziumEvent {id=787, event=Event {tableName=patient_identifier, primaryKeyId=53, identifier=27cb338e-f403-4ba9-bf95-dcfdcd646121, operation=c, snapshot=false}}
2023-03-06T00:35:21.508769133Z INFO  2023-03-06 00:35:21,508 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Processing event...
2023-03-06T00:35:21.508801258Z INFO  2023-03-06 00:35:21,508 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Fetching uuid for associated patient record
2023-03-06T00:35:21.510994424Z INFO  2023-03-06 00:35:21,510 [Camel (camel-1) thread #2 - scheduler://debezium-reader] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@58875e72
2023-03-06T00:35:21.520448758Z INFO  2023-03-06 00:35:21,520 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-patient-association-handler:158 Looking up uuid for person associated to the Patient Identifier from the DB
2023-03-06T00:35:21.521103341Z INFO  2023-03-06 00:35:21,520 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-patient-association-handler:158 Retrieved person uuid: 5fa86e88-3e85-483a-a77d-4a3a1b2fd11f, fetching patient associated to the Patient Identifier from OpenMRS...
2023-03-06T00:35:21.536369466Z INFO  2023-03-06 00:35:21,536 [Camel (camel-1) thread #2 - scheduler://debezium-reader] odoo-event-listener:158 Done processing event!
2023-03-06T00:35:21.543211549Z INFO  2023-03-06 00:35:21,542 [Camel (camel-1) thread #2 - scheduler://debezium-reader] openmrs-to-senaite-event-listener:158 Processing db event: Event {tableName=patient_identifier, primaryKeyId=53, identifier=27cb338e-f403-4ba9-bf95-dcfdcd646121, operation=c, snapshot=false}
2023-03-06T00:35:23.448268842Z INFO  2023-03-06 00:35:23,448 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:35:23.448345633Z INFO  2023-03-06 00:35:23,448 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:35:23.448366925Z INFO  2023-03-06 00:35:23,448 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:35:23.449237592Z INFO  2023-03-06 00:35:23,448 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@149908a
2023-03-06T00:35:33.461602805Z INFO  2023-03-06 00:35:33,461 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:35:33.461668263Z INFO  2023-03-06 00:35:33,461 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:35:33.465124180Z INFO  2023-03-06 00:35:33,461 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:35:33.465280680Z INFO  2023-03-06 00:35:33,462 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@4b1fb7fd
2023-03-06T00:35:43.478914712Z INFO  2023-03-06 00:35:43,477 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:35:43.479109712Z INFO  2023-03-06 00:35:43,478 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:35:43.479126712Z INFO  2023-03-06 00:35:43,478 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:35:43.481055795Z INFO  2023-03-06 00:35:43,480 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@2bc77125
2023-03-06T00:35:53.509748967Z INFO  2023-03-06 00:35:53,509 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:35:53.509899133Z INFO  2023-03-06 00:35:53,509 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:35:53.509923592Z INFO  2023-03-06 00:35:53,509 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:35:53.511568550Z INFO  2023-03-06 00:35:53,511 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@164f685e
2023-03-06T00:36:03.529096638Z INFO  2023-03-06 00:36:03,527 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:36:03.529258138Z INFO  2023-03-06 00:36:03,528 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:36:03.529289305Z INFO  2023-03-06 00:36:03,528 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:36:03.531662388Z INFO  2023-03-06 00:36:03,530 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@5b8efefe
2023-03-06T00:36:13.564374670Z INFO  2023-03-06 00:36:13,563 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:36:13.564582045Z INFO  2023-03-06 00:36:13,563 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:36:13.564622087Z INFO  2023-03-06 00:36:13,564 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:36:13.566800295Z INFO  2023-03-06 00:36:13,566 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@5ac41b71
2023-03-06T00:36:23.594591884Z INFO  2023-03-06 00:36:23,594 [Camel (camel-1) thread #4 - scheduler://taskUpdate] poll-senaite:158 Sheduled FHIR Task status updater 
2023-03-06T00:36:23.594668342Z INFO  2023-03-06 00:36:23,594 [Camel (camel-1) thread #4 - scheduler://taskUpdate] fetch-servicerequest-tasks-from-openmrs:158 Fetching Tasks associated with ServiceRequests 
2023-03-06T00:36:23.594676467Z INFO  2023-03-06 00:36:23,594 [Camel (camel-1) thread #4 - scheduler://taskUpdate] authenticate-to-openmrs:158 Authenticating application to OpenMRS
2023-03-06T00:36:23.595640717Z INFO  2023-03-06 00:36:23,595 [Camel (camel-1) thread #4 - scheduler://taskUpdate] o.a.c.c.h.HttpComponent:401 Created ClientConnectionManager org.apache.http.impl.conn.PoolingHttpClientConnectionManager@3a8a825a

Hi @hmouhtar,

Walking through the logs you’ve shared, you can notice the pattern/workflow/steps on event processing,

1.) debezium-event-processor: Event {tableName=patient, primaryKeyId=58, identifier=5fa86e88-3e85-483a-a77d-4a3a1b2fd11f, operation=c, snapshot=false}}

2.) odoo-event-listener: Processing event...

3.) openmrs-to-senaite-event-listener: Processing db event

Basically that implies that the entry-point to processing events is the debezium-event-processor route that forwards the events to registered destination routes, odoo-event-listener and openmrs-to-senaite-event-listener. The destinations routes process the events independently and based on their own logic. By default the Odoo integration routes sync the Patient events whenever they are created unlike the SENAITE integration routes that only sync patients upon Lab Order creation Events.

2 Likes