Skip to main content
Version: v0.0.8

Function: unknown837Variant()

unknown837Variant(position): 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" and the verbatim reference on submission.implementationConventionReference; the walker does its best on shared structure (envelope, HL, claim header) and skips variant-specific service-line decoding.

Parameters

position

X12Position

Returns

X12ParseWarning

Example

import { unknown837Variant } from "@cosyte/x12";
const w = unknown837Variant({ segmentIndex: 1, groupIndex: 0, transactionIndex: 0 });