HL7 V 2.x communication utilizes pipe-messages to communicate. To send a message it must be in the form of a pipe-message in text. If you have a message object instead, save it to a pipe-message using SegmentStructureConverter.MessageToPipe.
Next, establish a standard TCP/IP connection to the server. In .NET, use the TcpClient.Connect method to do so.
If connecting is successful, proceed to actually sending the message. Start by creating an instance of an HL7Response. Then call HL7Response.Send. The HL7Response.Send method blocks until the transaction is completed. To check for the communication results, call HL7Response.IsFailureCode and HL7Response.TextMessage.
Now that the transaction is complete, close the TCP/IP connection (or reuse it for another transaction).
Note that the HL7Response automatically processes acknowledgment messages for you -- you do not need to do anything related to acknowledgment.
Building an HL7 Network Server
Products |
Support |
Feedback: Building an HL7 Network Client |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.