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
readonlycode:BuildCode
The panel/battery LOINC code.
effectiveTime?
readonlyoptionaleffectiveTime?: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
readonlyresults: readonlyBuildCcdaResult[]
The member Result Observations (at least one for a populated panel).
status?
readonlyoptionalstatus?:string
The organizer statusCode; defaults to "completed".