Skip to main content
Version: v0.0.2

Interface: X12Ack999Ik4

The decoded IK4 implementation data element note (loop 2110).

  • position - IK4-01: composite carrying element / component / repetition (1-indexed).
  • dataElementReferenceNumber - IK4-02: situational; the ASC X12 element reference number (e.g. 66 for NM1-08).
  • syntaxErrorCode - IK4-03: required; one of Ik403Code.
  • copyOfBadDataElement - IK4-04: situational; the verbatim offending element value. By spec it may be omitted entirely; callers building a 999 SHOULD omit it whenever the offending bytes are PHI (medical IDs, names, dates). The library never auto-populates this field.

Example

import type { X12Ack999ElementNote } from "@cosyte/x12";
declare const note: X12Ack999ElementNote;
note.ik4.syntaxErrorCode; // "7" (invalid code value)

Properties

copyOfBadDataElement

readonly copyOfBadDataElement: string | undefined


dataElementReferenceNumber

readonly dataElementReferenceNumber: string | undefined


position

readonly position: X12Ack999Ik4Position


syntaxErrorCode

readonly syntaxErrorCode: Ik403Code