Edi.X12.Hipaa.R5010.Segments.FunctionalGroupHeader (EDI X12 v0.1.4)
View SourceGS - Functional Group Header
To indicate the beginning of a functional group and to provide control information
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Segments.FunctionalGroupHeader{ application_receiver_s_code: binary(), application_sender_s_code: binary(), date: Date.t(), functional_identifier_code: Edi.X12.Identifier.t(), group_control_number: number(), responsible_agency_code: Edi.X12.Identifier.t(), time: Time.t(), version_release_industry_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"
}