Class: Eddy::Elements::I05

Inherits:
Models::Element::ID show all
Defined in:
lib/definitions/elements/manual/i/I05.interchange_id_qualifier.rb

Overview

Element Summary:

  • Id: I05
  • Name: Interchange ID Qualifier
  • Type: ID
  • Min/Max: 2/2
  • Description: Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Instance Attribute Summary

Attributes inherited from Models::Element::Base

#description, #id, #max, #min, #name, #ref, #type

Instance Method Summary collapse

Methods inherited from Models::Element::ID

#process_value, process_value, #value, #value=

Methods inherited from Models::Element::Base

#doc_comment, #process_value, process_value, #req, #req=, #value, #value=

Constructor Details

#initialize(val: nil, req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: nil)

    (nil)

  • req (String) (defaults to: nil)

    (nil)

  • ref (String) (defaults to: nil)

    (nil)



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/definitions/elements/manual/i/I05.interchange_id_qualifier.rb', line 16

def initialize(val: nil, req: nil, ref: nil)
  @id = "I05"
  @name = "Interchange ID Qualifier"
  @description = "Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified"
  super(
    min: 2,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Instance Method Details

#code_listArray<String>

Returns:

  • (Array<String>)


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# File 'lib/definitions/elements/manual/i/I05.interchange_id_qualifier.rb', line 30

def code_list()
  return [
    "01", # Duns (Dun & Bradstreet)
    "02", # SCAC (Standard Carrier Alpha Code)
    "03", # FMC (Federal Maritime Commission)
    "04", # IATA (International Air Transport Association)
    "08", # UCC EDI Communications ID (Comm ID)
    "09", # X.121 (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 4-Character 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 12-Digit Number for Pre-K-Grade 12 Institutes, or NCES
    "24", # The College Board's Admission Testing Program 4-Digit Code of Postsecondary Institutes, or ATP
    "25", # American College Testing Program 4-Digit Code of Postsecondary Institutions, or ACT
    "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", # U.S. Federal Tax Identification Number
    "31", # Jurisdiction Identification Number Plus 4 as assigned by the International Association of Industrial Accident Boards and Commissions (IAIABC)
    "32", # U.S. 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
    "AM", # Association Mexicana del Codigo de Producto (AMECOP) Communication ID
    "NR", # National Retail Merchants Association (NRMA) - Assigned
    "SN", # Standard Address Number
    "ZZ", # Mutually Defined
  ]
end