Creates an instance of HL7Component.
The value of the component.
Optional
updateCallback: (newValue: string) => voidOptional callback to update the parent when this component changes.
Retrieves a specific subcomponent by index.
The 1-based index of the subcomponent.
Retrieves all subcomponents as strings.
Converts the component to a string.
Returns the primitive value of the component.
Class representing a component with access to subcomponents.