tosch-hl7
    Preparing search index...

    Class HL7Field

    Class representing a field with access to components.

    Index

    Constructors

    • Creates an instance of HL7Field.

      Parameters

      • value: string

        The value of the field.

      • OptionalupdateCallback: (newValue: string) => void

        Optional callback to update the parent when this field changes.

      Returns HL7Field

    Methods

    • Retrieves a specific component by index.

      Parameters

      • index: number

        The 1-based index of the component.

      Returns string

    • Retrieves all components as strings.

      Returns string[]

    • Converts the field to a string.

      Returns string

    • Returns the primitive value of the field.

      Returns string