Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 15
Warning
titleArchived Page

This page has been archived. The information on this page may not be up-to-date or maintained.

This page describes how to use Mirth to connect OpenMRS to other systems.

...

Code Block
// Strip off the leading and trailing <result> and <message> tags
message = message.replace(/&amp;/g,"&");
message = message.replace(/&#13;/g,"\x0D");
message = message.replace("<result><message>","");
message = message.replace("</message></result>","");
return message;

 

Other Mirth comments that could be useful

...