Edi.X12.Hipaa.R5010.Segments.GeographicLocation (EDI X12 v0.1.4)
View SourceN4 - Geographic Location
To specify the geographic place of the named party
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Segments.GeographicLocation{ city_name: nil | binary(), country_code: nil | Edi.X12.Identifier.t(), country_subdivision_code: nil | Edi.X12.Identifier.t(), location_identifier: nil | binary(), location_qualifier: nil | Edi.X12.Identifier.t(), postal_code: nil | Edi.X12.Identifier.t(), state_or_province_code: 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"
}