Class: Eddy::Elements::I03

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

Overview

Element Summary:

  • Id: I03
  • Name: Security Information Qualifier
  • Type: ID
  • Min/Max: 2/2
  • Description: Code to identify the type of information in the Security Information

Notes:

  • (Default value: "00")

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: "00", req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: "00")

    ("00")

  • req (String) (defaults to: nil)

    (nil)

  • ref (String) (defaults to: nil)

    (nil)



20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/definitions/elements/manual/i/I03.security_information_qualifier.rb', line 20

def initialize(val: "00", req: nil, ref: nil)
  @id = "I03"
  @name = "Security Information Qualifier"
  @description = "Code to identify the type of information in the Security Information"
  super(
    min: 2,
    max: 2,
    req: req,
    ref: ref,
    val: val,
  )
end

Instance Method Details

#code_listArray<String>

Returns:

  • (Array<String>)


34
35
36
37
38
39
# File 'lib/definitions/elements/manual/i/I03.security_information_qualifier.rb', line 34

def code_list()
  return [
    "00", # No Security Information Present (No Meaningful Information in I04)
    "01", # Password
  ]
end