AddSegmentBefore |
Object Method - AddSegmentBefore() Parent Object - EasyHL7Message Returns - Object Name: AddSegmentBefore(ByVal oSegment, ByVal strSegmentName, Optional ByVal blnIncludeDefault = False) Parameters: 1. oSegment (Segment Object - Add a new segment BEFORE 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. NOTE: An error will also occur if you pass the MSH segment in oSegment. Description: Inserts a blank HL7 segment into the message BEFORE oSegment.
See Also: GetSegment, AddSegment, AddSegmentAfter
|