public class HL7Response : MLPResponse
public ref class HL7Response : public MLPResponse
This example shows how to use HL7Response in an HL7 client.
This other example shows how to prepare a message for sending.
using Leadtools;
using LeadtoolsExamples.Common;
using Leadtools.Medical.HL7;
using Leadtools.Medical.HL7.V2x.Models;
using Leadtools.Medical.HL7.V2x.Listener;
using Leadtools.Medical.HL7.V2x.Sender;
using Leadtools.Medical.HL7.V26.Messages;
public static void HL7Client()
{
IPEndPoint EndPoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 6787);
using (TcpClient _client = new TcpClient())
{
_client.Connect(EndPoint);
string msg = @"MSH|^~\&|MESA_ADT|XYZ_ADMITTING|MESA_IS|XYZ_HOSPITAL|||ADT^A04|101160|P|2.5||||||||
EVN||200004230800||||200004230800
PID|||583220^^^ADT1||PANZA^SANCHO||16050601121520|M||AI||||||||20-98-3210|981276345|||||||||||
NK1|1|QUIXOTE^DON|MASTER|16 WINDMILL WAY^^LA MANCHA^SPAIN^12587|(157)383-6446
PV1||E||||||5101^NELL^FREDERICK^P^^DR|||||||||||V1102^^^ADT1|||||||||||||||||||||||||200004230800||||||||";
using (HL7Response rsp = new HL7Response(_client))
{
rsp.Send(msg);
Console.WriteLine("--- sent ");
}
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
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.