Module: RBEDI::Codes::ISA

Extended by:
CodeSet
Defined in:
lib/rbedi/codes/isa.rb

Constant Summary collapse

SEGMENT_POSITIONS =
{
  1 => :authorization_information_qualifier,
  2 => :authorization_information,
  3 => :security_information_qualifier,
  4 => :security_information,
  5 => :interchange_sender_id_qualifier,
  6 => :interchange_sender_id,
  7 => :interchange_receiver_id_qualifier,
  8 => :interchange_receiver_id,
  9 => :interchange_date,
  10 => :interchange_time,
  11 => :repetition_separator,
  12 => :interchange_control_version_number,
  13 => :interchange_control_number,
  14 => :acknowledgement_requested,
  15 => :interchange_usage_indicator,
  16 => :component_element_separator,
}
CODES =
{
  1 => {
    "00" => :no_authorization_information_present,
    "01" => :ucs_communications_id,
    "02" => :edx_communications_id,
    "03" => :additional_data_identification,
    "04" => :rail_communications_id,
    "05" => :department_of_defense_dod_communication_identifier,
    "06" => :united_states_federal_government_communication_identifier,
  },
  3 => {
    "00" => :no_security_information_present,
    "01" => :password,
  },
  5 => {
    "01" => :duns_dun_and_bradstreet,
    "02" => :scac_standard_carrier_alpha_code,
    "03" => :fmc_federal_maritime_commission,
    "04" => :iata_international_air_transport_association,
    "07" => :global_location_number_glna_globally_unique_13_digit_code_for_the_identification_of_a_legal_functional_or_physical_location_within_the_uniform_code_council_ucc_and_international_article_number_association_ean_numbering_system,
    "08" => :ucc_edi_communications_id_comm_id,
    "09" => :x121_ccitt,
    "10" => :department_of_defense_dod_activity_address_code,
    "11" => :dea_drug_enforcement_administration,
    "12" => :phone_telephone_companies,
    "13" => :ucs_code_the_ucs_code_is_a_code_used_for_ucs_transmissions_it_includes_the_area_code_and_telephone_number_of_a_modem_it_does_not_include_punctuation_blanks_or_access_code,
    "14" => :duns_plus_suffix,
    "15" => :petroleum_accountants_society_of_canada_company_code,
    "16" => :duns_number_with_4character_suffix,
    "17" => :american_bankers_association_aba_transit_routing_number_including_check_digit_9_digit,
    "18" => :association_of_american_railroads_aar_standard_distribution_code,
    "19" => :edi_council_of_australia_edica_communications_id_number_comm_id,
    "20" => :health_industry_number_hin,
    "21" => :integrated_postsecondary_education_data_system_or_ipeds,
    "22" => :federal_interagency_commission_on_education_or_fice,
    "23" => :national_center_for_education_statistics_common_core_of_data_12digit_number_for_prekgrade_12_institutes_or_nces,
    "24" => :the_college_boards_admission_testing_program_4digit_code_of_postsecondary_institutes_or_atp,
    "25" => :act_inc_4digit_code_of_postsecondary_institutions,
    "26" => :statistics_of_canada_list_of_postsecondary_institutions,
    "27" => :carrier_identification_number_as_assigned_by_health_care_financing_administration_hcfa,
    "28" => :fiscal_intermediary_identification_number_as_assigned_by_health_care_financing_administration_hcfa,
    "29" => :medicare_provider_and_supplier_identification_number_as_assigned_by_health_care_financing_administration_hcfa,
    "30" => :us_federal_tax_identification_number,
    "31" => :jurisdiction_identification_number_plus_4_as_assigned_by_the_international_association_of_industrial_accident_boards_and_commissions_iaiabc,
    "32" => :us_federal_employer_identification_number_fein,
    "33" => :national_association_of_insurance_commissioners_company_code_naic,
    "34" => :medicaid_provider_and_supplier_identification_number_as_assigned_by_individual_state_medicaid_agencies_in_conjunction_with_health_care_financing_administration_hcfa,
    "35" => :statistics_canada_canadian_college_student_information_system_institution_codes,
    "36" => :statistics_canada_university_student_information_system_institution_codes,
    "37" => :society_of_property_information_compilers_and_analysts,
    "38" => :the_college_board_and_act_inc_6digit_code_list_of_secondary_institutions,
    "am" => :association_mexicana_del_codigo_de_producto_amecop_communication_id,
    "nr" => :national_retail_merchants_association_nrma__assigned,
    "sa" => :user_identification_number_as_assigned_by_the_safety_and_fitness_electronic_records_safer_system,
    "sn" => :standard_address_number,
    "zz" => :mutually_defined,
  },
  7 => {
    "01" => :duns_dun_and_bradstreet,
    "02" => :scac_standard_carrier_alpha_code,
    "03" => :fmc_federal_maritime_commission,
    "04" => :iata_international_air_transport_association,
    "07" => :global_location_number_glna_globally_unique_13_digit_code_for_the_identification_of_a_legal_functional_or_physical_location_within_the_uniform_code_council_ucc_and_international_article_number_association_ean_numbering_system,
    "08" => :ucc_edi_communications_id_comm_id,
    "09" => :x121_ccitt,
    "10" => :department_of_defense_dod_activity_address_code,
    "11" => :dea_drug_enforcement_administration,
    "12" => :phone_telephone_companies,
    "13" => :ucs_code_the_ucs_code_is_a_code_used_for_ucs_transmissions_it_includes_the_area_code_and_telephone_number_of_a_modem_it_does_not_include_punctuation_blanks_or_access_code,
    "14" => :duns_plus_suffix,
    "15" => :petroleum_accountants_society_of_canada_company_code,
    "16" => :duns_number_with_4character_suffix,
    "17" => :american_bankers_association_aba_transit_routing_number_including_check_digit_9_digit,
    "18" => :association_of_american_railroads_aar_standard_distribution_code,
    "19" => :edi_council_of_australia_edica_communications_id_number_comm_id,
    "20" => :health_industry_number_hin,
    "21" => :integrated_postsecondary_education_data_system_or_ipeds,
    "22" => :federal_interagency_commission_on_education_or_fice,
    "23" => :national_center_for_education_statistics_common_core_of_data_12digit_number_for_prekgrade_12_institutes_or_nces,
    "24" => :the_college_boards_admission_testing_program_4digit_code_of_postsecondary_institutes_or_atp,
    "25" => :act_inc_4digit_code_of_postsecondary_institutions,
    "26" => :statistics_of_canada_list_of_postsecondary_institutions,
    "27" => :carrier_identification_number_as_assigned_by_health_care_financing_administration_hcfa,
    "28" => :fiscal_intermediary_identification_number_as_assigned_by_health_care_financing_administration_hcfa,
    "29" => :medicare_provider_and_supplier_identification_number_as_assigned_by_health_care_financing_administration_hcfa,
    "30" => :us_federal_tax_identification_number,
    "31" => :jurisdiction_identification_number_plus_4_as_assigned_by_the_international_association_of_industrial_accident_boards_and_commissions_iaiabc,
    "32" => :us_federal_employer_identification_number_fein,
    "33" => :national_association_of_insurance_commissioners_company_code_naic,
    "34" => :medicaid_provider_and_supplier_identification_number_as_assigned_by_individual_state_medicaid_agencies_in_conjunction_with_health_care_financing_administration_hcfa,
    "35" => :statistics_canada_canadian_college_student_information_system_institution_codes,
    "36" => :statistics_canada_university_student_information_system_institution_codes,
    "37" => :society_of_property_information_compilers_and_analysts,
    "38" => :the_college_board_and_act_inc_6digit_code_list_of_secondary_institutions,
    "am" => :association_mexicana_del_codigo_de_producto_amecop_communication_id,
    "nr" => :national_retail_merchants_association_nrma__assigned,
    "sa" => :user_identification_number_as_assigned_by_the_safety_and_fitness_electronic_records_safer_system,
    "sn" => :standard_address_number,
    "zz" => :mutually_defined,
  },
  14 => {
    "0" => false,
    "1" => true,
  },
  15 => {
    "i" => :information,
    "p" => :production,
    "t" => :test,
  }
}

Method Summary

Methods included from CodeSet

code, segment_position