Class: Eddy::Elements::E662
- Inherits:
-
Models::Element::ID
- Object
- Models::Element::Base
- Models::Element::ID
- Eddy::Elements::E662
- Defined in:
- lib/definitions/elements/generated/662.relationship_code.rb
Overview
Element Summary:
- Id: 662
- Name: Relationship Code
- Type: ID
- Min/Max: 1/1
- Description: Code indicating the relationship between entities
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: nil, req: nil, ref: nil) ⇒ void
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/definitions/elements/generated/662.relationship_code.rb', line 16 def initialize(val: nil, req: nil, ref: nil) @id = "662" @name = "Relationship Code" @description = "Code indicating the relationship between entities" super( min: 1, max: 1, req: req, ref: ref, val: val, ) end |
Instance Method Details
#code_list ⇒ Array<String>
30 31 32 33 34 35 36 37 38 |
# File 'lib/definitions/elements/generated/662.relationship_code.rb', line 30 def code_list() return [ "A", # Add "D", # Delete "I", # Included "O", # Information Only "S", # Substituted ] end |