Skip to main content
Version: v0.0.2

Interface: Build834DateSpec

DTP date on a member or a health-coverage loop. Mirrors "./types.js".X12EnrollmentDate. value (DTP-03) is the verbatim CCYYMMDD or range; formatQualifier (DTP-02) defaults to "D8" (single date) - pass "RD8" for a range. The read model surfaces only the qualifier + value, so the format qualifier does not affect a round-trip.

Example

import type { Build834DateSpec } from "@cosyte/x12";
const d: Build834DateSpec = { qualifier: "356", value: "20260101" };

Properties

formatQualifier?

readonly optional formatQualifier?: string

DTP-02 - date/time format qualifier. Default "D8".


qualifier

readonly qualifier: string

DTP-01 - date/time qualifier (356 eligibility begin, 357 end, …).


value

readonly value: string

DTP-03 - verbatim CCYYMMDD or range.