Skip to main content
Version: v0.0.2

Function: build837D()

build837D(spec): X12Interchange

build837D - assemble a 005010X224A2 Dental 837 around the spec. Service lines must be variant: "D" (SV3); per-line tooth detail rides on TOO.

Parameters

spec

Build837Spec

Returns

X12Interchange

Example

import { build837D, X12Decimal } from "@cosyte/x12";
declare const spec: import("@cosyte/x12").Build837Spec;
const ix = build837D(spec); // each serviceLine: { variant: "D", procedureQualifier: "AD", ... }