SegmentHL7

Top  Previous  Next

New in version 2.x of Commando

EasyHL7 Object

EHL7.EHL7Message

Method

SegmentHL7(strSegmentGUID)

Parameters

(see below)

Returns

String.  The HL7 value of a single message segment

Example

strHL7 = oMSG.SegmentHL7(strPIDKey)  -- Returns just the PID segment in HL7 format

 

 

Name: SegmentHL7()

 

Parameters:

 

1.        strSegmentGUID (String) the name of the HL7 Segment to add.

 

Returns: String.  A single line of HL7 representing the segment

 

Description: Returns just a single segment in HL7 format.

 

Programming Notes:

 

1.The segment handle name passed in strSegmentGUID must exist in the message object. 

 

 

SeeAlso: the HL7 property

 

For further information, please see the EasyHL7 documentation http://www.hermetechnz.com/Documentation/EasyHL7/index.html.