Link to home
Start Free TrialLog in
Avatar of spencerclark
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.
Avatar of Roshan Davis
Roshan Davis
Flag of United States of America image

Avatar of spencerclark
spencerclark

ASKER

I have looked at those, but how do I set up the app to listen on a specific port to obtain these messages?
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
ASKER CERTIFIED SOLUTION
Avatar of Grant Hamill
Grant Hamill
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial