GetSegmentByIDX |
Object Method - GetSegmentByIDX() Parent Object - EasyHL7Message Returns - Object Name: GetSegmentByIDX(ByVal lngIndex) Parameters: 1. lngIndex (Long - Ordinal position of the segment to retrieve)
Returns: The Segment Object or Nothing if it does not exist in the message based on it's ordinal position in the message.
Example: Calling GetSegmentByIDX(1) would always return the MSH segment object.
Description: Retrieves a segment object from the HL7 message (used for GetFieldValue and SetFieldValue).
|