web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 25 of 247
Search took 0.01 seconds.
Search: Posts Made By: jackwhaines
Forum: Support 12-11-2019, 10:51 AM
Replies: 36
Views: 227
Posted By jackwhaines
Could you store the RTF data as an attachment,...

Could you store the RTF data as an attachment, and then re-attach when sending? That way you are never trying to parse the \E\ ?
Forum: Support 12-06-2019, 02:17 PM
Replies: 5
Views: 239
Posted By jackwhaines
Most channels either need it, or they don't. ...

Most channels either need it, or they don't. When it IS parsed, and an & exists, it splits msg['AIS']['AIS.3']['AIS.3.1'] to msg['AIS']['AIS.3']['AIS.3.1']['AIS.3.1.1'] and...
Forum: Support 12-06-2019, 01:56 PM
Replies: 5
Views: 239
Posted By jackwhaines
Maybe check the Data Types tab and see if you are...

Maybe check the Data Types tab and see if you are parsing subcomponents. If you are, that treats the & like a |. If you disable this, it will treat & like a normal text character and you can...
Forum: Support 12-03-2019, 11:31 AM
Replies: 8
Views: 318
Posted By jackwhaines
If you aren't parsing the file (just moving it)...

If you aren't parsing the file (just moving it) you can try setting your Data Types to RAW. That won't load the file into memory at all.
Forum: Support 12-03-2019, 09:03 AM
Replies: 5
Views: 349
Posted By jackwhaines
+1 for CentOS and a ton of RAM. "Speed" is...

+1 for CentOS and a ton of RAM. "Speed" is almost entirely dependent upon the speed of the database, so use a RAID array of SSD disks whenever possible!
Forum: Support 12-03-2019, 08:33 AM
Replies: 4
Views: 417
Posted By jackwhaines
imrrp, honestly, you have several mistakes just...

imrrp, honestly, you have several mistakes just in that little bit of code. I think you're trying to jump into the deep end without understanding the fundamentals of Mirth. Please consider working...
Forum: Support 11-29-2019, 02:14 PM
Replies: 11
Views: 372
Posted By jackwhaines
R3dbv11, if you get truly desperate, you are...

R3dbv11, if you get truly desperate, you are welcome to setup a call with me at https://calendly.com/jackhaines and I'll try and help you.
Forum: Support 11-26-2019, 02:42 PM
Replies: 2
Views: 199
Posted By jackwhaines
This is just a portion of the code, and it's for...

This is just a portion of the code, and it's for files, not base64, but it might help get you closer:


var email = new Packages.org.apache.commons.mail.MultiPartEmail();

var body = "Please see...
Forum: Support 11-25-2019, 03:07 PM
Replies: 12
Views: 286
Posted By jackwhaines
Sorry to the HAPI Test Panel users, but Postman...

Sorry to the HAPI Test Panel users, but Postman rocks!
Forum: Support 11-25-2019, 02:58 PM
Replies: 12
Views: 286
Posted By jackwhaines
I'm sending a POST, RAW, "text", using a sample...

I'm sending a POST, RAW, "text", using a sample HL7 message. The response in the source is the default "auto-generate (destinations completed)"
Forum: Support 11-25-2019, 02:48 PM
Replies: 12
Views: 286
Posted By jackwhaines
When I run it using Postman, I get: ...

When I run it using Postman, I get:


MSH|^~\&|MIRTH|CLB||DEMO|20191125164741.201||ACK^O01^ACK|20191125164741.201|P|2.5.1
MSA|AA|1
Forum: Support 11-25-2019, 02:37 PM
Replies: 12
Views: 286
Posted By jackwhaines
Just so someone coming behind understands......

Just so someone coming behind understands... Mirth uses 8080 (HTTP) and 8443 (HTTPS) by default, although it is customizable. You can't create channels to listen on those ports (or any other ports...
Forum: Support 11-25-2019, 01:31 PM
Replies: 12
Views: 286
Posted By jackwhaines
I see, sorry! You're using 8080 for your channel,...

I see, sorry! You're using 8080 for your channel, which is used by Mirth by default. The channel (or Mirth) should use something different (can't reuse ports like that). Try changing the channel...
Forum: Support 11-25-2019, 01:21 PM
Replies: 12
Views: 286
Posted By jackwhaines
I don't use HAPI Test Panel but it looks like...

I don't use HAPI Test Panel but it looks like that uses MLLP, not HTTP. If you are using HTTP, maybe try Postman?
Forum: Support 11-22-2019, 07:19 AM
Replies: 2
Views: 110
Posted By jackwhaines
I think it's a dup post.

I think it's a dup post.
Forum: Support 11-22-2019, 07:18 AM
Replies: 7
Views: 144
Posted By jackwhaines
Outbound templates are for very specific purposes...

Outbound templates are for very specific purposes and will cause lots of issues. Use them wisely!
Forum: Support 11-22-2019, 05:32 AM
Replies: 7
Views: 144
Posted By jackwhaines
I didn't even catch the Outgoing Template......

I didn't even catch the Outgoing Template... thanks agermano. That could be why the formatting was ugly, but I stand behind the binary/text setting. "raw" will get your the original file output...
Forum: Support 11-22-2019, 05:29 AM
Replies: 11
Views: 1,512
Posted By jackwhaines
The function is returning true/false, but that...

The function is returning true/false, but that doesn't return it to the whole script. Try this:

var msgEvent = msg['MSH']['MSH.9']['MSH.9.2'].toString();
return adtFilter(msgEvent);
Forum: Support 11-22-2019, 05:21 AM
Replies: 7
Views: 144
Posted By jackwhaines
Your destination File Type is set to binary. XML...

Your destination File Type is set to binary. XML is text. Update that. You may also want to update your Template to be: ${XmlUtil.prettyPrint(${message.rawData})} so the XML is formatted properly...
Forum: Support 11-18-2019, 02:07 PM
Replies: 12
Views: 269
Posted By jackwhaines
Mano, you're gonna get a lot more out of Mirth by...

Mano, you're gonna get a lot more out of Mirth by reading the documentation and/or searching the forums rather than asking on each little subject. =)
Forum: Support 11-18-2019, 12:13 PM
Replies: 12
Views: 269
Posted By jackwhaines
Right... I don't know your logic... What...

Right... I don't know your logic... What determines whether it's the correct race a bad data? A length < 10 ?

var race = "unknown";

if (msg['PID']['PID.10']['PID.10.1'].toString().length <...
Forum: Support 11-18-2019, 11:55 AM
Replies: 12
Views: 269
Posted By jackwhaines
If the first spot is always blank when it's NOT...

If the first spot is always blank when it's NOT what you want to use:



var race = "unknown";

if (msg['PID']['PID.10']['PID.10.1'].toString() != "")
race =...
Forum: Support 11-18-2019, 10:32 AM
Replies: 12
Views: 269
Posted By jackwhaines
Mano, Without using some kind of conversion...

Mano,

Without using some kind of conversion table, you are bound to what is in the message.

Male > M and Female to F is easy using msg['PID']['PID.8']['PID.8.1'].toString().substring(0,1);
...
Forum: Support 11-18-2019, 09:19 AM
Replies: 9
Views: 145
Posted By jackwhaines
Of course! I'm here if you need me!

Of course! I'm here if you need me!
Forum: Support 11-18-2019, 09:01 AM
Replies: 9
Views: 145
Posted By jackwhaines
If you would like some training / help on...

If you would like some training / help on specific projects or topics, please let me know!
Showing results 1 to 25 of 247

 
Forum Jump

All times are GMT -8. The time now is 02:04 AM.


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