Interface: MessageStructureDefinition
The expected structure of one recognized message type, keyed on the
(messageCode, triggerEvent) pair. A definition with an empty triggerEvents
list matches on messageCode alone (used for ACK, which carries no
trigger event in MSH-9.2).
Properties
expectedGroups
readonlyexpectedGroups: readonlyExpectedSegmentGroup[]
The Required (R) segment groups expected for these events.
messageCode
readonlymessageCode:string
MSH-9.1 message code, e.g. "ORU".
triggerEvents
readonlytriggerEvents: readonlystring[]
The MSH-9.2 trigger events this definition applies to, e.g. ["R01"].
An empty list means "match on message code alone" (e.g. ACK).