If a subcomponent exists in the component at the given index, this method will return the subcomponent as an object.
set objHL7SubComponent = objHL7Field.GetSubComponent(1)Note:
The & character indicates the component contains subcomponents.
Parameter |
Type |
Description |
---|---|---|
Index |
Integer |
0 to (max-1), where max is from GetNumSubComponents. |
Return Value |
Description |
---|---|
Object ref |
A reference to a COBHL7SubComponent object. |
NULL |
Returned if an error occurred. |