GetSubComponent - HL7 Module - Foundation 23.1 - Foundation 23.1 - Ready - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential - OnBase/HL7-Module/Foundation-23.1/HL7-Module/HL7-API/HL7-API-Classes/COBHL7FieldComponent/GetSubComponent - 2024-09-03

HL7 Module

Platform
OnBase
Product
HL7 Module
Release
Foundation 23.1
License
Premier
Standard
Essential

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.