MessageToPipe Method

Summary
Serializes the message object into an HL7 pipe text message. The text pipe message.
Syntax
C#
C++/CLI
public static string MessageToPipe( 
   IHL7MessageItem hl7Msg 
) 
public: 
static String^ MessageToPipe(  
   IHL7MessageItem^ hl7Msg 
)  

Parameters

hl7Msg
The message object into an HL7 pipe text message

Return Value

The text pipe message.

Example

This example shows how to serialize a message into a pipe text message.

C#
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; 
} 
Requirements

Target Platforms

Help Version 22.0.2023.2.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.HL7 Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.