tosch-hl7
    Preparing search index...

    Class HL7Component

    Class representing a component with access to subcomponents.

    Index

    Constructors

    • Creates an instance of HL7Component.

      Parameters

      • value: string

        The value of the component.

      • OptionalupdateCallback: (newValue: string) => void

        Optional callback to update the parent when this component changes.

      Returns HL7Component

    Methods

    • Retrieves a specific subcomponent by index.

      Parameters

      • index: number

        The 1-based index of the subcomponent.

      Returns string

    • Retrieves all subcomponents as strings.

      Returns string[]

    • Converts the component to a string.

      Returns string

    • Returns the primitive value of the component.

      Returns string