This method gets the specified field from the current segment. The index maximum can be retrieved from the GetNumFields method.
objHL7Field = objHL7Segment.GetField(1)|
Parameter |
Type |
Description |
|---|---|---|
|
Index |
Integer |
0 to (max-1), where max is from GetNumFields. |
|
Return Value |
Description |
|---|---|
|
Object ref |
A reference to a COBHL7Field object. |
|
NULL |
Returned if an error occurred. |