Function: unknown837Variant()
unknown837Variant(
position,implementationConventionReference):X12ParseWarning
Build an X12_837_UNKNOWN_VARIANT warning. Emitted when the 837 helper
cannot resolve the variant from ST-03's implementation-convention
reference AND no SVx service-line segment is present to fall back on.
The parsed submission still ships with variant: "unknown"; the walker
does its best on shared structure (envelope, HL, claim header) and
skips variant-specific service-line decoding. The implementation-
convention reference is shape-validated before echoing.
Parameters
position
implementationConventionReference
string | undefined
Returns
Example
import { unknown837Variant } from "@cosyte/x12";
const w = unknown837Variant(
{ segmentIndex: 1, interchangeIndex: 0, groupIndex: 0, transactionIndex: 0 },
"005010X999",
);