Skip to main content
Version: v0.0.3

Interface: TS

Parsed HL7 v3 Point in Time. raw is the verbatim @value; date is the resolved JS Date (UTC when the value carried no offset), or omitted when the value was malformed. nullFlavor is set when the element declared one.

Example

import type { TS } from "@cosyte/ccda";
const effective: TS = { raw: "20260628", date: new Date("2026-06-28T00:00:00Z") };

Properties

date?

readonly optional date?: Date


nullFlavor?

readonly optional nullFlavor?: string


raw?

readonly optional raw?: string