Wiki Spaces
Documentation
Projects
Resources
Get Help from Others
Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack
The Mirth Messaging Module is a basic OpenMRS module that allows communication with Mirth (http://www.mirthproject.org/) to be implemented. It makes use of web services as the means of communication and is quick and easy to setup. This module was developed for a OpenMRS to DHIS integration project where Mirth was used to handle the communication between OpenMRS and DHIS.
https://addons.openmrs.org/#/show/org.openmrs.module.mirthmessaging
To make use of this Mirth Messaging Module from another module you need add some code to the config.xml file for that module to say that that the module "requires" the Mirth Messaging Module. Here is the code that must be added:
<require_modules> <require_module>org.openmrs.module.mirthmessaging</require_module> </require_modules>
Then, in the code all that is needed to send an HL7 message (or any supported message) to Mirth is the following:
new MessageSender().sendHL7Message(msg);
Where msg is a String that contains the message being sent.
This Module was written by ?Ryan Crichton, University of Kwa-Zulu Natal Computer Science graduate.
2 Comments
user-569a0
Can the same module be used to receive messages from Mirth server?
user-91c00
I am using OpenMRS 2.0(with demo data)- standalone.
In the "Administration" page, I don't find "Manage Global Properties".
Can you please guide where to find it?