C#
VB
C++
Serializes the message object into an HL7 pipe text message. The text pipe message.
Public Shared Function MessageToPipe( _
ByVal hl7Msg As Leadtools.Medical.Hl7.V2x.Models.IHL7MessageItem _
) As String
public static string MessageToPipe(
IHL7MessageItem hl7Msg
)
public:
static String^ MessageToPipe(
Leadtools.Medical.Hl7.V2x.Models.IHL7MessageItem^ hl7Msg
)
hl7Msg
The message object into an HL7 pipe text message
The text pipe message.
This example shows how to serialize a message into a pipe text message.
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 string MessageSerialize(IHL7MessageItem hl7Msg)
{
string msg = SegmentStructureConverter.MessageToPipe(hl7Msg);
return msg;
}
Imports Leadtools
Imports LeadtoolsDocumentsExamples.LeadtoolsExamples.Common
Imports Leadtools.Medical.HL7
Imports Leadtools.Medical.HL7.V2x.Models
Imports Leadtools.Medical.HL7.V2x.Listener
Imports Leadtools.Medical.HL7.V2x.Sender
Imports Leadtools.Medical.HL7.V26.Messages
Public Shared Function MessageSerialize(ByVal hl7Msg As IHL7MessageItem) As String
Dim msg As String = SegmentStructureConverter.MessageToPipe(hl7Msg)
Return msg
End Function
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