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?
readonlyoptionalcontexts?: readonlystring[]
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?
readonlyoptionalcopyOfBadDataElement?:string
dataElementReferenceNumber?
readonlyoptionaldataElementReferenceNumber?:string
position
readonlyposition:object
component?
readonlyoptionalcomponent?:number
element
readonlyelement:number
repetition?
readonlyoptionalrepetition?:number
syntaxErrorCode
readonlysyntaxErrorCode:Ik403Code