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
readonlycomplete:boolean
Whether the expansion is exhaustive. When false, contains is a lower bound, not the whole set.
contains
readonlycontains: readonlyCoding[]
The expanded, de-duplicated members, in first-seen order (frozen; every member frozen).
diagnostics
readonlydiagnostics: readonlyExpansionDiagnostic[]
The surfaced concerns, in encounter order (frozen; may be empty).
total?
readonlyoptionaltotal?:number
The server-reported total, when the expansion came from a pre-computed snapshot.