Skip to main content
Version: v0.0.3

Interface: BuildCcdaResultPanel

A Results panel, a Result Organizer (the battery/panel wrapper, e.g. a CBC) around one or more BuildCcdaResult member observations. code is the panel LOINC; status maps to the organizer statusCode (default "completed").

Example

import type { BuildCcdaResultPanel } from "@cosyte/ccda";
const cmp: BuildCcdaResultPanel = {
code: { code: "24323-8", displayName: "Comprehensive metabolic panel" },
results: [{ test: { code: "2345-7", displayName: "Glucose" }, quantity: { value: 95, unit: "mg/dL" } }],
};

Properties

code

readonly code: BuildCode

The panel/battery LOINC code.


effectiveTime?

readonly optional effectiveTime?: string

The panel's span/collection time as an HL7 date string. Emitted as the organizer's effectiveTime; when omitted the SHALL slot is filled with nullFlavor="UNK" (the member observations still carry their own times).


results

readonly results: readonly BuildCcdaResult[]

The member Result Observations (at least one for a populated panel).


status?

readonly optional status?: string

The organizer statusCode; defaults to "completed".