ex_hl7 v1.0.0 HL7.Segment.Default.ERR

2.16.5 ERR - error segment

Link to this section Summary

Functions

Return the segment's ID

Create a new segment of this type

Return the segment's specification

Link to this section Types

Link to this type

t()

t() :: %HL7.Segment.Default.ERR{
  __segment__: term(),
  error_code: :string.t(),
  error_text: :string.t(),
  field_pos: :integer.t(),
  segment_id: :string.t(),
  sequence: :integer.t()
}

Link to this section Functions

Return the segment's ID

Link to this function

new()

new() :: %HL7.Segment.Default.ERR{
  __segment__: term(),
  error_code: term(),
  error_text: term(),
  field_pos: term(),
  segment_id: term(),
  sequence: term()
}

Create a new segment of this type

Link to this function

spec()

spec() :: %{required(HL7.Type.seq()) => HL7.Type.field_spec()}

Return the segment's specification