Interface: MessageStructure
The structure summary for a parsed message: the data behind
Hl7Message.structure. For an unrecognized type, recognized is false,
expectedGroups is empty, and missingGroups is empty (the safety net is
deliberately silent on types it does not model).
Properties
expectedGroups
readonlyexpectedGroups: readonlyStructureGroup[]
Per-expected-group presence verdicts (empty when unrecognized).
messageCode
readonlymessageCode:string
MSH-9.1 message code observed on the message (empty string if absent).
missingGroups
readonlymissingGroups: readonlystring[]
Names of the expected groups that are entirely absent (the warnings).
recognized
readonlyrecognized:boolean
true when a MESSAGE_STRUCTURE_DEFINITIONS entry matched the type.
triggerEvent
readonlytriggerEvent:string
MSH-9.2 trigger event observed on the message (empty string if absent).