ex_hl7 v0.4.2 HL7.Segment

Generic functions used by HL7 segment macros

Link to this section Summary

Link to this section Types

Link to this type descriptor()
descriptor() :: {name :: atom, HL7.Type.sequence, type :: atom, length :: pos_integer}
Link to this type t()
t() :: map

Link to this section Functions

Link to this function get_field(segment, descriptor, seq)
get_field(t, descriptor :: tuple, HL7.Type.sequence) ::
  HL7.Type.field |
  no_return
Link to this function module(id)
module(HL7.Type.segment_id) :: atom
Link to this function new(segment_id)
new(HL7.Type.segment_id) :: {module :: atom, t}
Link to this function put_field(segment, descriptor, seq, value)
put_field(t, descriptor :: tuple, HL7.Type.sequence, HL7.Type.field) ::
  t |
  no_return