Skip to main content
Version: v0.0.2

Interface: ExpandResult

The result of expand: the flattened membership plus an honest completeness signal.

complete is false whenever any part could not be fully computed (a missing code system, an unresolved referenced value set, an unimplemented filter op, or a truncated pre-computed expansion). A false here is the never-fabricate contract in action: the contains set is a lower bound, so it must never be read as exhaustive membership.

Properties

complete

readonly complete: boolean

Whether the expansion is exhaustive. When false, contains is a lower bound, not the whole set.


contains

readonly contains: readonly Coding[]

The expanded, de-duplicated members, in first-seen order (frozen; every member frozen).


diagnostics

readonly diagnostics: readonly ExpansionDiagnostic[]

The surfaced concerns, in encounter order (frozen; may be empty).


total?

readonly optional total?: number

The server-reported total, when the expansion came from a pre-computed snapshot.