web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: whmurray
Forum: Support 05-08-2012, 04:47 PM
Replies: 18
Views: 19,881
Posted By whmurray
Another thing I failed to mention is that of...

Another thing I failed to mention is that of course, like most script languages, you can put in a "debugger;" line in your mirth script to trigger a breakpoint (which is ignored if the debugger is...
Forum: Support 05-08-2012, 04:42 PM
Replies: 18
Views: 19,881
Posted By whmurray
Would be nice to have it launchable from the...

Would be nice to have it launchable from the admin console. In fact, once I realized Mirth uses th mozilla rhino script engine, and the presence of the rhino debugger, I was surprised that some...
Forum: Support 05-08-2012, 09:47 AM
Replies: 18
Views: 19,881
Posted By whmurray
Real debugging for mirth javaScript channel code

I got pretty frustrated using "logger.debug" for debugging. Pretty old school. Took me 2 days of dedicated time to figure out something better, but now I can single step, breakpoint, context, eval...
Forum: Support 05-01-2012, 10:25 AM
Replies: 1
Views: 2,300
Posted By whmurray
I can get my desired result with the following: ...

I can get my desired result with the following:

var theJsonText = new XMLList(String(new XML(vmResponse.getMessage()).JSONText)).toString();

Seems like a lot of overhead. Is there something...
Forum: Support 05-01-2012, 09:29 AM
Replies: 1
Views: 2,300
Posted By whmurray
Extract CDATA text

So this should be easy. I have searched for forums and can't seem to come up with what is probably the obvious....

I am build a JSON string and want to return it in an xml response, so it seems...
Forum: Support 05-01-2012, 09:19 AM
Replies: 5
Views: 6,430
Posted By whmurray
The top level channel has a "javaScript writer"...

The top level channel has a "javaScript writer" destination. The following javaScript is used to read a CCD file and send it to the next channel:

function ProcessFile(filePath) {...
Forum: Support 04-27-2012, 07:53 AM
Replies: 5
Views: 6,430
Posted By whmurray
xml namespace issues with routeMessage when not queued

I have channel that reads a file (which happens to be XML/CCD). THen it passed that file using:
var vmResponse = router.routeMessage('ProcessCCD', contents, true);

The second channel...
Forum: Support 04-04-2012, 11:55 AM
Replies: 3
Views: 1,736
Posted By whmurray
I'm a bit unclear on this (very old post). In the...

I'm a bit unclear on this (very old post). In the UI, there is the option on the channel writer to "Wait for channel Response". If I call a channel in java script using router.routeMessage(), can I...
Forum: Support 04-03-2012, 10:28 AM
Replies: 4
Views: 1,725
Posted By whmurray
OK, thanks, that confirms a few things for me.....

OK, thanks, that confirms a few things for me.....
Forum: Support 04-03-2012, 07:59 AM
Replies: 4
Views: 1,725
Posted By whmurray
That is kind of what I was thinking. But I guess...

That is kind of what I was thinking. But I guess I dont understand what "timeStamp.toString()" returns. I was thinking it returns a java.lang.string, but it looks like what it returns is dependant on...
Forum: Support 04-03-2012, 06:19 AM
Replies: 4
Views: 1,725
Posted By whmurray
retrieving xml attribute value, should be easy

I am trying to get the datetime from the value attribute below:

<effectiveTime xsi:type="IVL_TS" value="1999110101"/>

I am pulling the value using the following in a loop for each...
Forum: Support 03-29-2012, 05:34 AM
Replies: 7
Views: 9,214
Posted By whmurray
I also ran into the decimal mystery when trying...

I also ran into the decimal mystery when trying to use what I thought was an integer as an array index and getting no results. Seems values I stored in the map come back as decimal? I got around this...
Forum: Support 03-27-2012, 11:14 AM
Replies: 1
Views: 3,349
Posted By whmurray
Just to clarify, my nomenclature was not correct....

Just to clarify, my nomenclature was not correct.

It seems that I can access msg from a destination javaScript xformer, but NOT from a javaScript destination? What I thought was that I would put...
Forum: Support 03-27-2012, 09:27 AM
Replies: 1
Views: 3,349
Posted By whmurray
msg/xml access from destination transform

We are evaluating mirth for use in digesting HL7/CCD, so we are new to both.
Using Mirth 2.2.0.5828

From a source transform, I can do this and get what I expect:

channelMap.put('msgxml', msg);...
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -8. The time now is 12:49 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation