ex_hl7 v1.0.0 HL7.Writer

Writer for the HL7 protocol that converts a message into its wire format.

Link to this section Summary

Link to this section Types

Link to this type

option()

option() ::
  {:output_format, output_format()}
  | {:segment_builder, module()}
  | {:separators, HL7.Type.separators()}
  | {:trim, boolean()}
Link to this type

output_format()

output_format() :: :text | :wire
Link to this opaque

state()

(opaque)
state()
Link to this opaque

t()

(opaque)
t()

Link to this section Functions

Link to this function

buffer(writer)

buffer(t()) :: iodata()
Link to this function

builder(writer)

builder(t()) :: atom()
Link to this function

end_message(writer)

end_message(t()) :: t()
Link to this function

end_segment(writer, segment_id)

end_segment(t(), HL7.Type.segment_id()) :: t()
Link to this function

new(options \\ [])

new([option()]) :: t()
Link to this function

put_field(writer, field)

put_field(t(), HL7.Type.field()) :: t()
Link to this function

start_message(writer)

start_message(t()) :: t()
Link to this function

start_segment(writer, segment_id)

start_segment(t(), HL7.Type.segment_id()) :: t()