class Eddy::Elements::E786

### 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/786.security_level_code.rb, line 16
def initialize(val: nil, req: nil, ref: nil)
  @id = "786"
  @name = "Security Level Code"
  @description = "Code indicating the level of confidentiality assigned by the sender to the information following"
  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/786.security_level_code.rb, line 30
def code_list()
  return [
    "00", # Company Non-Classified
    "01", # Company Internal Use Only
    "02", # Company Confidential
    "03", # Company Confidential, Restricted (Need to Know)
    "04", # Company Registered (Signature Required)
    "05", # Personal
    "06", # Supplier Proprietary
    "09", # Company Defined (Trading Partner Level)
    "11", # Competition Sensitive
    "20", # Court Restricted
    "21", # Juvenile Record Restricted
    "90", # Government Non-Classified
    "92", # Government Confidential
    "93", # Government Secret
    "94", # Government Top Secret
    "99", # Government Defined (Trading Partner Level)
    "ZZ", # Mutually Defined
  ]
end