Function: pre005010()
pre005010(
position):X12ParseWarning
Build an X12_PRE_005010 warning. Emitted when ISA-12 declares any version
other than 00501, the HIPAA-mandated baseline. The code name reads as a
"pre-005010" test and the guard is an inequality, so a LATER family
(00602, 00700) raises it too. 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.
The declared version stays on isa.elements[12].
Parameters
position
Returns
Example
import { pre005010 } from "@cosyte/x12";
const w = pre005010({ segmentIndex: 0, interchangeIndex: 0, elementIndex: 12 });