spencerclark
asked on
Working with Nhapi (C#.Net)
I need to to build an app that will parse HL7 messages with C#.Net. I haven't been able to find many options, however, nhapi is one of the few and comes highly rated, but without any documentation (even on their website/source forge). So I am new to HL7 and and creating TCP listeners for the messages. I can not find much documentation on the subject anywhere, just a lot of people yelling that there isn't any. I am looking for a simple example that will take the HL7 messages from whatever port is assigned, parse it so that I can put into a file, XML, or a SQL table.
ASKER
I have looked at those, but how do I set up the app to listen on a specific port to obtain these messages?
Using C# To Send A HL7 Message - http://codingheadache.com/?p=10
some message details -http://www.hl7.org/v3ballot/html/infrastructure/transport/transport-mllp.htm#MLLP-content-block
some message details -http://www.hl7.org/v3ballot/html/infrastructure/transport/transport-mllp.htm#MLLP-content-block
I am working on a similiar project. I've figured out how to decode some HL7 messages using the nHapi library, but I am still working on encoding a message and writing/serializing it to send.
The sourceforge forums pointed me here as an example of an application built to send and receive TCP/IP messages using nHapi:
http://crsl2.svn.sourceforge.net/viewvc/crsl2/src/Crsl.Providers.TcpService/InboundMessageServer.cs?view=markup
The sourceforge forums pointed me here as an example of an application built to send and receive TCP/IP messages using nHapi:
http://crsl2.svn.sourceforge.net/viewvc/crsl2/src/Crsl.Providers.TcpService/InboundMessageServer.cs?view=markup
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
NHapi project - http://nhapi.sourceforge.net/home.php
Converting HL7 to XML - http://www.codeproject.com/KB/XML/HL7ToXMLConverter.aspx