ex_hl7 v1.0.0 HL7.Segment.Default.MSH

2.16.9 MSH - message header 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.MSH{
  __segment__: term(),
  accept_ack_type: binary(),
  app_ack_type: binary(),
  char_set: binary(),
  country_code: binary(),
  encoding_chars: binary(),
  field_separator: binary(),
  message_control_id: binary(),
  message_datetime: NaiveDateTime.t(),
  message_structure: :string.t(),
  message_type: :string.t(),
  processing_id: binary(),
  receiving_app_id: :string.t(),
  receiving_facility_id: :string.t(),
  receiving_facility_universal_id: :string.t(),
  receiving_facility_universal_id_type: :string.t(),
  security: binary(),
  sending_app_id: :string.t(),
  sending_facility_id: :string.t(),
  sending_facility_universal_id: :string.t(),
  sending_facility_universal_id_type: :string.t(),
  trigger_event: :string.t(),
  version: binary()
}

Link to this section Functions

Return the segment's ID

Link to this function

new()

new() :: %HL7.Segment.Default.MSH{
  __segment__: term(),
  accept_ack_type: term(),
  app_ack_type: term(),
  char_set: term(),
  country_code: term(),
  encoding_chars: term(),
  field_separator: term(),
  message_control_id: term(),
  message_datetime: term(),
  message_structure: term(),
  message_type: term(),
  processing_id: term(),
  receiving_app_id: term(),
  receiving_facility_id: term(),
  receiving_facility_universal_id: term(),
  receiving_facility_universal_id_type: term(),
  security: term(),
  sending_app_id: term(),
  sending_facility_id: term(),
  sending_facility_universal_id: term(),
  sending_facility_universal_id_type: term(),
  trigger_event: term(),
  version: 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