AddSegmentAfter

Object Method - AddSegmentAfter()

Parent Object - EasyHL7Message

Returns - Object


Name: AddSegmentAfter(ByVal oSegment, ByVal strSegmentName, Optional ByVal blnIncludeDefault = False)

Parameters: 1. oSegment (Segment Object - Add a new segment AFTER oSegment)

2. strSegmentName (String - The name of the segment to add to the message)

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

 

Returns: The added Segment Object or Nothing if an Error occurs

Description: Inserts a blank HL7 segment into the message AFTER oSegment.

 

See Also: GetSegment