Class: Eddy::Elements::I01
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::I01
- Defined in:
- lib/definitions/elements/manual/i/I01.authorization_information_qualifier.rb
Overview
Element Summary:
- Id: I01
- Name: Authorization Information Qualifier
- Type: ID
- Min/Max: 2/2
- Description: Code to identify the type of information in the Authorization 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
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/definitions/elements/manual/i/I01.authorization_information_qualifier.rb', line 20 def initialize(val: "00", req: nil, ref: nil) @id = "I01" @name = "Authorization Information Qualifier" @description = "Code to identify the type of information in the Authorization Information" super( min: 2, max: 2, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/definitions/elements/manual/i/I01.authorization_information_qualifier.rb', line 34 def code_list() return [ "00", # No Authorization Information Present (No Meaningful Information in I02) "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 ] end |