Variable: IK3_SYNTAX_ERROR_CODES
constIK3_SYNTAX_ERROR_CODES:object
IK3-04 implementation segment syntax error codes (ASC X12 code list 716). Cited per IK3 segment to identify the structural issue against the inbound segment. The library NEVER auto-classifies - the application supplies the code; the library mechanically builds the IK3 around it.
1- Unrecognized segment ID.2- Unexpected segment.3- Required segment missing.4- Loop occurs over maximum times.5- Segment exceeds maximum use.6- Segment not in defined transaction set.7- Segment not in proper sequence.8- Segment has data element errors.I4- Implementation "Not Used" segment present.I6- Implementation dependent segment missing.I7- Implementation loop occurs under minimum times.I8- Implementation segment below minimum use.I9- Implementation dependent "Not Used" segment present.
Type Declaration
1
readonly1:"1"="1"
2
readonly2:"2"="2"
3
readonly3:"3"="3"
4
readonly4:"4"="4"
5
readonly5:"5"="5"
6
readonly6:"6"="6"
7
readonly7:"7"="7"
8
readonly8:"8"="8"
I4
readonlyI4:"I4"="I4"
I6
readonlyI6:"I6"="I6"
I7
readonlyI7:"I7"="I7"
I8
readonlyI8:"I8"="I8"
I9
readonlyI9:"I9"="I9"
Example
import type { Ik304Code } from "@cosyte/x12";
const required: Ik304Code = "3";