...
Before the REST web services module, OpenMRS had a Mirth Messaging Module which probably shouldn't be used anymore.
Our specific case is connecting OpenMRS for importing and exporting data to another database in the same MySQL instance. Below is a diagram.
Questions
- How to connect Mirth using the REST web services module
- Should the REST web services work for both incoming and outgoing messages? The comment at the end of the page describes that it would only work for outgoing messages.
- How to trigger a channel for outgoing messages?
- In our case we are going to export data from OpenMRS to a MySQL database table. So my guess is that we should be able to either schedule this every so many minutes or hours. Can we also trigger than on an update of a patient it sends the data via OpenMRS REST to Mirth?
- How to trigger a channel for incoming messages?
- We are going to import the data from a table in a separate MySQL database. Again, our idea is based on a schedule, but could we trigger Mirth on an update of that table?
...