Variable: IK4_SYNTAX_ERROR_CODES
constIK4_SYNTAX_ERROR_CODES:object
IK4-03 implementation data element syntax error codes (ASC X12 code list 723). Cited per IK4 segment to identify the issue against the inbound element/component/repetition.
1- Required data element missing.2- Conditional required data element missing.3- Too many data elements.4- Data element too short.5- Data element too long.6- Invalid character in data element.7- Invalid code value.8- Invalid date.9- Invalid time.10- Exclusion condition violated.12- Too many repetitions.13- Too many components.I6- Code value not used in implementation.I9- Implementation dependent data element missing.I10- Implementation "Not Used" data element present.I11- Implementation too few repetitions.I12- Implementation pattern match failure.I13- Implementation dependent "Not Used" data element present.
Type Declaration
1
readonly1:"1"="1"
10
readonly10:"10"="10"
12
readonly12:"12"="12"
13
readonly13:"13"="13"
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"
9
readonly9:"9"="9"
I10
readonlyI10:"I10"="I10"
I11
readonlyI11:"I11"="I11"
I12
readonlyI12:"I12"="I12"
I13
readonlyI13:"I13"="I13"
I6
readonlyI6:"I6"="I6"
I9
readonlyI9:"I9"="I9"
Example
import type { Ik403Code } from "@cosyte/x12";
const tooShort: Ik403Code = "4";