Edi.X12.Hipaa.R5010.Elements.ReferenceIdentifier (EDI X12 v0.1.4)
View SourceC040 - Reference Identifier
To identify one or more reference numbers or identification numbers as specified by the Reference Qualifier
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Elements.ReferenceIdentifier{ __key__: :reference_identifier, reference_identification_1: binary(), reference_identification_2: nil | binary(), reference_identification_3: nil | binary(), reference_identification_qualifier_1: Edi.X12.Identifier.t(), reference_identification_qualifier_2: nil | Edi.X12.Identifier.t(), reference_identification_qualifier_3: nil | Edi.X12.Identifier.t() }
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"
}