web stats
HL7 message parsing - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Thread Tools Display Modes
Old 02-10-2009, 01:30 PM
xavierd xavierd is offline
What's HL7?
Join Date: Feb 2009
Posts: 2
Default HL7 message parsing

I have been evaluating Mirth for my development team and I can see that it has the functionality that we need. The only issue I see is that it seems that we would either, a) have Mirth enter data directly into our database, bypassing our business logic or b) have Mirth send an XML file to our software where we would have to parse the message.

Is there an API that I can use, preferably using C#, that would allow me to use Mirth's parser from within my own code?

For example, using Chameleon from Interfaceware I can create a mapping file and Chameleon will create stub functions based on that mapping file. Then using the Chameleon HL7 engine all I have to do is pass in an HL7 message to a Parse function and it will parse the message for me and call the proper stub function. Does Mirth allow anything like that?

Thank you in advance.
Reply With Quote
Old 02-10-2009, 01:54 PM
jacobb jacobb is offline
Mirth Employee
Join Date: Aug 2006
Location: Irvine, CA
Posts: 1,218
jacobb is an unknown quantity at this point
Default Re:HL7 message parsing

Mirth is based on Java, not C#. If you have an outside application and business logic in a Java program, you can simply call methods and classes from any javascript code in Mirth. This could be a preprocessor, filter, transformer, etc. There are many examples of calling java classes from Mirth on this forum.

Since it sounds like your business logic is in a C# application you will either have to look into how to call a C# program from Java/JavaScript, or you will have to send to your application as an interim step in Mirth. If I understand your situation correctly, you could simply have Mirth receive your message, parse it/transform it, send it over to your application that contains your business logic (perhaps via a web service), then send the message to your final destination.
Jacob Brauer
Director, Software Development
NextGen Healthcare

Reply With Quote
Old 02-11-2009, 06:27 AM
xavierd xavierd is offline
What's HL7?
Join Date: Feb 2009
Posts: 2
Default Re:HL7 message parsing

Thank you for the quick response. I will pass this information along.
Reply With Quote
Old 09-21-2011, 09:59 PM
r.jalaliany r.jalaliany is offline
What's HL7?
Join Date: Sep 2011
Posts: 1
r.jalaliany is on a distinguished road

around this problem , i am developed my project in C#.
and in next part i want to integrate with one HIS system for receiving patient demography.
i want to use mirth connect for hl7 messaging. but i dont know how to use mirth in
visual studio to map hl7 message data to in mysql database.
please help me?
Reply With Quote
Old 10-13-2011, 01:01 AM
Barry van der Veen Barry van der Veen is offline
Mirth Newb
Join Date: Mar 2011
Posts: 7
Barry van der Veen is on a distinguished road
Post Re:HL7 message parsing

If parsing is the only thing you are interested in, you might want to take a look at nhapi. It is a .NET version of the HAPI HL7 framework.
I have used it in various projects.
Reply With Quote
Old 08-09-2012, 05:16 AM
DeepikaAiyappa DeepikaAiyappa is offline
What's HL7?
Join Date: Jul 2012
Posts: 1
DeepikaAiyappa is on a distinguished road
Question Issues regarding Nhapi affiliation with the HL7 organization

The NHapi project is NOT affiliated with the HL7 organization,as quoted in the above mentioned site. Their software just conforms to the HL7 2.x specifications, But you have mentioned that you have used it in several projects .Haven't you faced any problems w.r.t to affiliation with the HL7 organization?
Reply With Quote

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
parsing a microbiology lab result message docinthebox Support 5 01-14-2008 10:31 AM
problem parsing the xml message shahin@gmail.com Development 1 01-04-2008 06:34 AM
problem parsing the xml message shahin@gmail.com Development 2 12-28-2007 01:42 PM
Parsing OBX message dzhao00 Development 8 10-13-2006 12:14 PM
Message parsing problem norph Support 1 09-29-2006 12:38 PM

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

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