Skip to main content

Crate hl7v2_model

Crate hl7v2_model 

Source
Expand description

Core data model for HL7 v2 messages.

This crate provides the foundational data structures for HL7 v2 messages, including:

  • Message, Segment, Field, Repetition, Component, Atom types
  • Delimiter configuration
  • Error types
  • Presence semantics

This crate has minimal dependencies and focuses solely on data representation.

Structs§

Batch
A batch of HL7 messages
Comp
A component of a field
Delims
Delimiters used in HL7 v2 messages
Field
A field in a segment
FileBatch
A file containing batches of HL7 messages
Message
Main message structure
Rep
A repetition of a field
Segment
A segment in an HL7 message

Enums§

Atom
An atomic value in the message
Error
Error type for HL7 v2 operations
Presence
Presence semantics for HL7 v2 fields