AddSegment

Object Method - AddSegment()

Parent Object - EasyHL7Message

Returns - HL7MessageSegment Object


Name: AddSegment(ByVal strSegmentName, Optional ByVal blnIncludeDefault = False)

Parameters: 1. strSegmentName (String - The name of the segment to add to the message)

2. blnIncludeDefault (Boolean - Include default field values (if any have been set) in the parent Vendor Definition)

 

Returns: The HL7MessageSegment Object or Nothing if an Error occurs

Description: Adds a blank HL7 segment to the end of the message.

 

See Also: GetSegment