Edi.X12.Hipaa.R5010.Elements.CompositeRaceOrEthnicityInformation (EDI X12 v0.1.4)
View SourceC056 - Composite Race or Ethnicity Information
To send general and detailed information on race or ethnicity
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Elements.CompositeRaceOrEthnicityInformation{ __key__: :composite_race_or_ethnicity_information, code_list_qualifier_code: nil | Edi.X12.Identifier.t(), industry_code: nil | binary(), race_or_ethnicity_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"
}