Skip to main content
Version: v0.0.2

Interface: Build999ElementErrorSpec

Element-level error spec - the input shape for an IK4 the library will build. copyOfBadDataElement is OPTIONAL by design: when the offending value is PHI (medical record number, name, date of birth), callers SHOULD omit it. The library never auto-populates this field.

Properties

contexts?

readonly optional contexts?: readonly string[]

Optional CTX context strings emitted between this IK4 and the next. Each entry becomes a single CTX segment with the given value as its first composite element. Pass [] (default) for no context.


copyOfBadDataElement?

readonly optional copyOfBadDataElement?: string


dataElementReferenceNumber?

readonly optional dataElementReferenceNumber?: string


position

readonly position: object

component?

readonly optional component?: number

element

readonly element: number

repetition?

readonly optional repetition?: number


syntaxErrorCode

readonly syntaxErrorCode: Ik403Code