Function: pre005010()
pre005010(
position,declared):X12ParseWarning
Build an X12_PRE_005010 warning. Emitted when ISA-12 declares a version
earlier than 00501 - the HIPAA-mandated baseline. The parser still
accepts the input (Postel's Law: lenient on parse) but flags the
mismatch so consumers know the input may diverge from 005010 semantics.
Parameters
position
declared
string
Returns
Example
import { pre005010 } from "@cosyte/x12";
const w = pre005010({ segmentIndex: 0, interchangeIndex: 0, elementIndex: 12 }, "00401");