web stats
change field in MSH segment. - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2008, 04:48 PM
baziz baziz is offline
OBX.1 Kenobi
 
Join Date: Dec 2007
Posts: 41
baziz
Default change field in MSH segment.

Hi,

I created a channel.
I click on the Source Tab.
I click on Edit Transformer.
I click on add step.
I change the step to type Javascript.
I add the following

Code:
tmp['MSH']['MSH.3']['MSH.3.1'] = "obgy";
I return to channel and I configure the source and Destination tabs.

I save the channel.

I deploy the channel and I start it.

From my source application I send a hl7 ADT A04 message, and on the estination port, I see the HL7 message is received. In mirth I see the HL7 ADT message is received on incomming port and is sent out to the outgoing port.

However, the MSH.3.1 field has not changed to the new value.
What is wrong. Why doesn't mirth change the MSH.3.1 field value.

thanks,
baziz
Reply With Quote
  #2  
Old 02-26-2008, 04:50 PM
baziz baziz is offline
OBX.1 Kenobi
 
Join Date: Dec 2007
Posts: 41
baziz
Default Re:change field in MSH segment.

Why doesn't Mirth have any documentation?
Reply With Quote
  #3  
Old 02-13-2020, 12:03 PM
talliboo talliboo is offline
What's HL7?
 
Join Date: Nov 2019
Posts: 1
talliboo is on a distinguished road
Default

What was the solution to this?
Reply With Quote
  #4  
Old 02-14-2020, 07:23 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,159
agermano is on a distinguished road
Default

Now there is a fantastic user guide that you can download.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change characters in Segment mendenhal Support 11 11-12-2008 09:53 AM
HL7 Field-to-Field Copying bdilworth Support 8 07-25-2008 05:00 AM
FTP - Change directory afterdark23 Support 0 10-08-2007 07:27 AM
change filename shifting_18 Support 4 05-28-2007 05:27 PM
change the mule engine orlowjb3 Development 3 05-25-2007 10:32 AM


All times are GMT -8. The time now is 07:33 AM.


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