Variable: MESSAGE_STRUCTURE_DEFINITIONS
constMESSAGE_STRUCTURE_DEFINITIONS: readonlyMessageStructureDefinition[]
The conservative, Required-only expected-group registry. Each entry's spec
source is recorded in docs-content/spec-notes-structure.md. Deliberately
narrow: it recognizes the common message types' core Required groups
only and is NOT a conformance validator. Frozen (data, not config).
Example
import { MESSAGE_STRUCTURE_DEFINITIONS } from "@cosyte/hl7";
const oru = MESSAGE_STRUCTURE_DEFINITIONS.find((d) => d.messageCode === "ORU");
console.log(oru?.expectedGroups[0]?.name); // "result"