Class: Eddy::Elements::E455
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E455
- Defined in:
- lib/definitions/elements/manual/455.responsible_agency_code.rb
Overview
Element Summary:
- Id: 455
- Name: Responsible Agency Code
- Type: ID
- Min/Max: 1/2
- Description: Code used in conjunction with Data Element 480 to identify the issuer of the standard
Notes:
- Default value:
"X"
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: "X", req: nil, ref: nil) ⇒ void
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/definitions/elements/manual/455.responsible_agency_code.rb', line 20 def initialize(val: "X", req: nil, ref: nil) @id = "455" @name = "Responsible Agency Code" @description = "Code used in conjunction with Data Element 480 to identify the issuer of the standard" super( min: 1, max: 2, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
34 35 36 37 38 39 |
# File 'lib/definitions/elements/manual/455.responsible_agency_code.rb', line 34 def code_list() return [ "T", # Transportation Data Coordinating Committee (TDCC) "X", # Accredited Standards Committee X12 ] end |