class Eddy::Elements::E365

### Element Summary:

Public Class Methods

new(val: nil, req: nil, ref: nil) click to toggle source

@param val [String] @param req [String] @param ref [String] @return [void]

Calls superclass method Eddy::Models::Element::ID::new
# File lib/definitions/elements/generated/365.communication_number_qualifier.rb, line 16
def initialize(val: nil, req: nil, ref: nil)
  @id = "365"
  @name = "Communication Number Qualifier"
  @description = "Code identifying the type of communication number"
  super(
    min: 2,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Public Instance Methods

code_list() click to toggle source

@return [Array<String>]

# File lib/definitions/elements/generated/365.communication_number_qualifier.rb, line 30
def code_list()
  return [
    "AA", # International Telephone Access Code
    "AB", # Joint Facsimile and Phone Number
    "AC", # Message Only Voice Number
    "AD", # Delivery Location Phone
    "AP", # Alternate Telephone
    "AS", # Answering Service
    "AU", # Defense Switched Network
    "BN", # Beeper Number
    "BT", # BTX Number
    "CA", # Cable
    "CP", # Cellular Phone
    "DN", # Defense Data Network (DDN)
    "ED", # Electronic Data Interchange Access Number
    "EM", # Electronic Mail
    "EX", # Telephone Extension
    "FT", # Federal Telecommunications System (FTS)
    "FU", # Facsimile User Identifier
    "FX", # Facsimile
    "HF", # Home Facsimile Number
    "HP", # Home Phone Number
    "IT", # International Telephone
    "MN", # Modem Number
    "NP", # Night Telephone
    "OF", # Other Residential Facsimile Number
    "OT", # Other Residential Telephone Number
    "PA", # Appointment Phone
    "PC", # Personal Cellular
    "PP", # Personal Phone
    "PS", # Packet Switching
    "SP", # Showing Phone
    "TE", # Telephone
    "TL", # Telex
    "TM", # Telemail
    "TN", # Teletex Number
    "TX", # TWX
    "UR", # Uniform Resource Locator (URL)
    "VM", # Voice Mail
    "WC", # Work Cellular
    "WF", # Work Facsimile Number
    "WP", # Work Phone Number
  ]
end