Edi.X12.Hipaa.R5010.Segments.LoopHeader (EDI X12 v0.1.4)
View SourceLS - Loop Header
To indicate that the next segment begins a loop
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Segments.LoopHeader{loop_identifier_code: binary()}
Functions
@spec parse(binary()) :: {:ok, t()} | {:error, binary()}
@spec parse(keyword() | map()) :: {:ok, t()} | {:error, binary()}
Convert the list into a struct.
Examples
iex> parse(elem_1: "Y", elem_2: "ZZ")
{:ok, %Struct{elem_1: "Y", elem_2: "ZZ"}}
Convert the list into a struct.
Examples
iex> parse!(elem_1: "Y", elem_2: "ZZ")
%Struct{
elem_1: "Y",
elem_2: "ZZ"
}