Module message

Source
Expand description

Structs for representing HL7 messages.

Structsยง

Component
A component is a part of a field, and is separated from other components by the component separator character. A component is composed of 0 or more subcomponents.
DecodedSeparatorsDisplay
A display implementation which decodes the escape sequences in the value using the separators.
EncodedSeparatorsDisplay
A display implementation which encodes the separators in the value. (i.e. replaces them with escape sequences)
Field
A field in an HL7 message. A field is a collection of repeats, separated by the repeat separator character. Fields are separated by the field separator character.
Message
A parsed HL7 message. This is the top-level structure that you get when you parse a message. It contains the segments of the message, as well as the separators used in the message.
Repeat
A repeat represents an item in a list of field values. Most fields have a single value, but some fields can have multiple values, called repeats. Each repeat is separated by the repetition separator character and is composed of 0 or more components.
Segment
A segment in an HL7 message. A segment is a collection of fields, separated by the field separator character. Each segment has a name, which is the first field in the segment. Segments are separated by the segment separator character.
Separators
Separators used in HL7 messages
Subcomponent
A subcomponent is the smallest unit of data in an HL7 message. It is a string that may contain escape sequences to encode the separators. It is the only type that does not have a separator character. It is always contained within a component.