web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: agermano
Forum: Support Today, 11:24 AM
Replies: 3
Views: 77
Posted By agermano
Any value you return from a transformer is...

Any value you return from a transformer is ignored. I have an open feature request for scenarios like this. More votes are welcome. Use the same account info as the forum if you've never signed in to...
Forum: Support Yesterday, 09:11 AM
Replies: 2
Views: 315
Posted By agermano
There's a write-up on the wiki that might help. ...

There's a write-up on the wiki that might help.
http://www.mirthcorp.com/community/wiki/display/mirth/Creating+a+custom+REST+Service+in+Mirth+3.0.x
Forum: Support 12-06-2019, 06:16 PM
Replies: 5
Views: 91
Posted By agermano
Turning off that setting is the easiest solution...

Turning off that setting is the easiest solution if that works for you. I did write a code template to join them back together if you decide to leave parse subcomponents turned on.
...
Forum: Support 12-05-2019, 11:52 AM
Replies: 1
Views: 143
Posted By agermano
Try loading B.js first?

Try loading B.js first?
Forum: Development 12-03-2019, 05:16 PM
Replies: 1
Views: 1,081
Posted By agermano
This should actually be in the support forum, not...

This should actually be in the support forum, not development, but I'll try to answer a few of your questions.

getAttachments().get(0) returns an instance of...
Forum: Support 12-03-2019, 04:37 PM
Replies: 8
Views: 299
Posted By agermano
I believe if the file is bigger than the max size...

I believe if the file is bigger than the max size it will just get skipped by the File Reader unless you have tested and found otherwise.

I don't know if it is an oversight or what, but Mirth does...
Forum: Support 12-03-2019, 11:02 AM
Replies: 8
Views: 299
Posted By agermano
The issue is that the message needs to be...

The issue is that the message needs to be converted to a byte[] at some point, and the max size for an array in Java is Integer.MAX_VALUE (2147483647.)

If it is a delimited file that you can read...
Forum: Support 12-03-2019, 10:45 AM
Replies: 12
Views: 236
Posted By agermano
The other answers did work for your example in...

The other answers did work for your example in the first post, but you weren't giving us the whole picture. Something like this should also work:

for each (var spm in...
Forum: Support 12-02-2019, 03:21 PM
Replies: 1
Views: 122
Posted By agermano
It's already set to be upgraded in 3.9. ...

It's already set to be upgraded in 3.9.
http://www.mirthcorp.com/community/issues/browse/MIRTH-4454

I can't speak to the safety of trying to update the library in an older version of mirth. You...
Forum: Support 12-02-2019, 03:15 PM
Replies: 2
Views: 99
Posted By agermano
It likely does have to do with the character...

It likely does have to do with the character encoding. It should match at both ends.

You probably have yours set to UTF-8 (also the linux default) if it's choking on anything higher than 0x7f.
...
Forum: Support 12-02-2019, 10:05 AM
Replies: 12
Views: 236
Posted By agermano
delete msg['SPM'] worked for me after I fixed the...

delete msg['SPM'] worked for me after I fixed the typo (CWE.1 is missing the >.)

Kirby asked if you were getting an error. What else is your transformer doing? Are you using an outbound template?
Forum: Support 11-26-2019, 02:07 PM
Replies: 10
Views: 330
Posted By agermano
The default http port is 8080 and https is 8443

The default http port is 8080 and https is 8443
Forum: Support 11-26-2019, 07:39 AM
Replies: 10
Views: 330
Posted By agermano
Are you sure the server is running and listening...

Are you sure the server is running and listening on that port? 8085 is not the default.
Forum: Support 11-26-2019, 06:41 AM
Replies: 12
Views: 274
Posted By agermano
I think the issue was not that you were using...

I think the issue was not that you were using HAPI Test Panel, but that you were selecting a File Writer destination as your response instead of letting it auto generate an HL7 response for you.
Forum: Support 11-26-2019, 06:29 AM
Replies: 5
Views: 365
Posted By agermano
I'm not sure what the joy API is, but if you are...

I'm not sure what the joy API is, but if you are calling the RESTful Client API and the client making the call disconnects or there is a network interruption that causes the connection to drop before...
Forum: Support 11-22-2019, 01:45 PM
Replies: 6
Views: 241
Posted By agermano
You actually don't need to create replacer...

You actually don't need to create replacer yourself. Mirth already has a variable named replacer in the default context that is an instance of TemplateValueReplacer.

The issue is that it wants a...
Forum: Support 11-22-2019, 05:44 AM
Replies: 7
Views: 141
Posted By agermano
I always use encoded by default, unless I know...

I always use encoded by default, unless I know that I don't want it for a specific reason. You'll run into less issues that way.
Forum: Support 11-22-2019, 05:43 AM
Replies: 2
Views: 128
Posted By agermano
That isn't to say that you can't run into race...

That isn't to say that you can't run into race conditions if you aren't using it properly. Use of the globalMap should be very rare for supporting regular message processing. You may need to create...
Forum: Support 11-22-2019, 05:40 AM
Replies: 2
Views: 128
Posted By agermano
There is only one instance of globalMap that...

There is only one instance of globalMap that never changes, so it doesn't need to be volatile. The object itself is a custom mirth class, but it is backed by java.util.concurrent.ConcurrentHashMaps,...
Forum: Support 11-22-2019, 05:34 AM
Replies: 2
Views: 134
Posted By agermano
I wrote a tool for that...

I wrote a tool for that https://github.com/nextgenhealthcare/connect-examples/tree/master/Code%20Templates/Join%20HL7%20Subcomponents

You can join any fields that you suspect may have an & in the...
Forum: Support 11-22-2019, 05:28 AM
Replies: 7
Views: 141
Posted By agermano
I didn't actually load your channel, but looking...

I didn't actually load your channel, but looking at the xml, don't use an outbound template in your transformer if you want the message to pass through. When you use an outbound template that is the...
Forum: Support 11-20-2019, 08:29 AM
Replies: 3
Views: 589
Posted By agermano
Mush easier would be to use http...

Mush easier would be to use http senders/listeners. Send the file contents as the message content and send the filename in a query parameter.

You could write your own ad hoc tcp framing protocol,...
Forum: Support 11-19-2019, 01:13 PM
Replies: 2
Views: 240
Posted By agermano
Add this to the bottom of your source...

Add this to the bottom of your source transformer, and you shouldn't need the destination. You need to iterate over tmp instead of msg since that's where you want to do your renumbering.
for (var i...
Forum: Support 11-19-2019, 12:52 PM
Replies: 4
Views: 222
Posted By agermano
For an individual channel, you can choose whether...

For an individual channel, you can choose whether its globalChannelMap is cleared on a redeploy of that channel, whether deployed selectively or as part of a Redeploy All.

The globalMap that is...
Forum: Support 11-18-2019, 09:20 PM
Replies: 4
Views: 222
Posted By agermano
You just use "Deploy Channel" on the group to...

You just use "Deploy Channel" on the group to deploy all channels in that group. "Redeploy All" will always redeploy all.

The tooltip for "Clear global map on redeploy" does kind of clarify that...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -8. The time now is 01:28 PM.


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