web stats
Mirth Community - Search Results

Go Back   Mirth Community > Search Forums

Showing results 1 to 25 of 48
Search took 0.00 seconds.
Search: Posts Made By: gojoshi
Forum: Support 01-28-2020, 05:26 AM
Replies: 14
Views: 625
Posted By gojoshi
Thumbs up Thanks agermano, the below works ! msg = new...

Thanks agermano, the below works !

msg = new XML(SerializerFactory.getSerializer('HL7V2').toXML($('RawInbound')));
Forum: Support 01-27-2020, 09:23 AM
Replies: 14
Views: 625
Posted By gojoshi
Sorry, this is giving the error that I described...

Sorry, this is giving the error that I described in the beginning of this ticket:

Transformer error
ERROR MESSAGE: Error evaluating transformer
com.mirth.connect.server.MirthJavascriptTransforme...
Forum: Support 01-27-2020, 09:20 AM
Replies: 14
Views: 625
Posted By gojoshi
Sorry, this is giving the error that I described...

Sorry, this is giving the error that I described at the beginning of this ticket:

Transformer error
ERROR MESSAGE: Error evaluating transformer...
Forum: Support 01-21-2020, 10:39 AM
Replies: 14
Views: 625
Posted By gojoshi
Same error: Transformer error ERROR...

Same error:

Transformer error
ERROR MESSAGE: Error evaluating transformer
java.lang.NullPointerException
at org.mozilla.javascript.xmlimpl.XmlNode$InternalList.add(XmlNode.java:835)
at...
Forum: Support 01-21-2020, 10:18 AM
Replies: 14
Views: 625
Posted By gojoshi
Getting the HL7 message: INFO ...

Getting the HL7 message:

INFO (transformer:?): MSH|^~\&|*********************************************

Starred off the actual message.

Please feel free to try it out on your end, there are...
Forum: Support 01-21-2020, 09:48 AM
Replies: 14
Views: 625
Posted By gojoshi
INFO (transformer:?): it's not doing the...

INFO (transformer:?):

it's not doing the transform..
Forum: Support 01-21-2020, 08:53 AM
Replies: 14
Views: 625
Posted By gojoshi
Cory_cole, I think we've tried that already,...

Cory_cole, I think we've tried that already, anyways, just tried again, and got this:

Transformer error
ERROR MESSAGE: Error evaluating transformer
java.lang.NullPointerException
at...
Forum: Support 01-21-2020, 07:49 AM
Replies: 14
Views: 625
Posted By gojoshi
String to HL7

I have a channel that captures the raw source messages (which are simple HL7 V2 messages), with the following code:

channelMap.put('sourceInbound',connectorMessage.getRawData());

This channel...
Forum: Support 10-03-2019, 06:09 AM
Replies: 3
Views: 482
Posted By gojoshi
Thank You agermano, that does work.

Thank You agermano, that does work.
Forum: Support 10-02-2019, 05:42 AM
Replies: 3
Views: 482
Posted By gojoshi
Insert XML values

<Message>
<City>
<City.Name>New York</City.Name>
</City>
<house>
<Kitchen>
<Kitchen.Sink>1</Kitchen.Sink>
</Kitchen>
<Bed>
<Bed.Lamp>1</Bed.Lamp>
Forum: Support 09-30-2019, 06:44 AM
Replies: 7
Views: 912
Posted By gojoshi
Thank you agermano and cory_cole, The below is...

Thank you agermano and cory_cole, The below is working for me:

for each(seg in msg['Kitchen.Sink'].children())
{
if(seg.name() != 'Kitchen.Mop')
{
logger.info("Hi");
}
}
Forum: Support 09-27-2019, 10:48 AM
Replies: 7
Views: 912
Posted By gojoshi
Hey Cory, the above isn't working.. I tried...

Hey Cory, the above isn't working..

I tried this but did not work:

for each(seg in msg['house'].children())
{
if(seg.name() != 'Kitchen.Mop')
{
logger.info("Hi");
}
Forum: Support 09-26-2019, 08:24 AM
Replies: 7
Views: 912
Posted By gojoshi
Source Transformer step. I was hoping to get some...

Source Transformer step. I was hoping to get some help with the javascript code for this. P
Forum: Support 09-26-2019, 08:06 AM
Replies: 7
Views: 912
Posted By gojoshi
Loop through XML

Hello, I need a way to loop through an XML node like the one shown below. I need to acquire all of the values under Kitchen.Sink, WITHOUT getting any values from Kitchen.Mop.

Thanks for any...
Forum: Support 07-02-2019, 09:26 AM
Replies: 0
Views: 445
Posted By gojoshi
Encrypt passwords in MirthConnect

I have a channel that has credentials stored in a SOAP envelope on the destination.
Is there a way to encrypt the creds in Mirth?
Forum: Support 05-21-2019, 06:54 AM
Replies: 4
Views: 719
Posted By gojoshi
@ODO - The issue with that is that it will end up...

@ODO - The issue with that is that it will end up reading from both folders. We need to make sure that it tries to read from the first folder before it reads from the second folder. If there are no...
Forum: Support 05-21-2019, 04:29 AM
Replies: 4
Views: 719
Posted By gojoshi
Multiple source folder SFTP connection

Wondering if there is a good way to connect to multiple sftp SOURCE folders? Please note again, this is for a source connection, and not the destination.

For example, the SFTP folder were...
Forum: Support 04-05-2019, 09:42 AM
Replies: 2
Views: 1,083
Posted By gojoshi
CSV into JSON !

Hi All,

I need to turn a csv message into JSON. What I'm stuck with is the repeating values in the CSV that need to be turned into repeating values in the JSON.
For example, the below CSV:...
Forum: Support 01-22-2019, 10:14 AM
Replies: 2
Views: 864
Posted By gojoshi
JSON object within a JSON object

Hello Everyone,

How do you create an object inside a JSON object..

For example if you have a JSON object with the name of 'jsonObject' , how do you declare another object that will be an object...
Forum: Support 12-19-2018, 10:32 AM
Replies: 3
Views: 1,758
Posted By gojoshi
Hey bhesler thank you for the response.. ...

Hey bhesler thank you for the response..

Since there are usually multiple OBX segments, I came up with something a little different. It seems to work for me:

var empJSON = {}


for each...
Forum: Support 12-18-2018, 11:26 AM
Replies: 3
Views: 1,758
Posted By gojoshi
HL7 to JSON

]Hello Everyone,

looking for a good way to take OBX3.1 and OBX3.2 and add them to a JSON. So basically I need to make the JSON elements based on the OBX segments. There could by any number of OBX...
Forum: Support 09-27-2018, 06:02 PM
Replies: 6
Views: 1,720
Posted By gojoshi
Question Code Review ..

Hello Everyone,

I have the following code in my source transformer. The objective is to capture the eID from pid4 if it is populated. The eID is sometimes populated, and sometimes not. The eID...
Forum: Support 08-03-2018, 08:40 AM
Replies: 4
Views: 1,512
Posted By gojoshi
Hey agermano, this works great when OBX3.1 has a...

Hey agermano, this works great when OBX3.1 has a numeric value. Can't get it to work for non numeric values in OBX3.1, is there a way to change that?

Thanks for all of the help, much appreciated.
Forum: Support 07-31-2018, 09:35 AM
Replies: 4
Views: 1,512
Posted By gojoshi
Thanks agermano. I have been OOO and back now....

Thanks agermano. I have been OOO and back now. Will try the code you provided.. and update you.
Forum: Support 07-23-2018, 11:42 AM
Replies: 4
Views: 1,512
Posted By gojoshi
Link OBX5 using assigned values

Hello Everyone,

I am working on a feed that has several OBX segments. There are OBX upwards of about 40 OBX segments on each message.

I need to do the following:
1. Take all of the OBX with...
Showing results 1 to 25 of 48

 
Forum Jump

All times are GMT -8. The time now is 03:40 AM.


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