Skip to main content
Version: v0.0.3

Interface: ExpectedSegmentGroup

One expected segment group for a recognized trigger event. The group is considered present when at least one of its anchorSegments appears in the parsed message; its total absence is what signals a truncated or misrouted message.

Properties

anchorSegments

readonly anchorSegments: readonly string[]

The segment name(s) whose presence proves this group is present. Only segments the HL7 v2.5.1 abstract syntax marks Required (R) for the owning trigger event appear here, so a conformant message can never lack all of them.


name

readonly name: string

Human-readable group label, e.g. "result", "patient", "order".