Class: Eddy::Segments::REF
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::REF
- Defined in:
- lib/definitions/segments/generated/ref.rb
Overview
Segment Summary:
- Id: REF
- Name: Reference Identification
- Purpose: To specify identifying information.
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
- #initialize(store) ⇒ void constructor
-
#REF01=(arg) ⇒ void
(also: #ReferenceIdentificationQualifier=)
REF01.
-
#REF02=(arg) ⇒ void
(also: #ReferenceIdentification=)
REF02.
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/definitions/segments/generated/ref.rb', line 12 def initialize(store) @id = "REF" @name = "Reference Identification" @ref01 = Eddy::Elements::E128.new(ref: "REF01", req: "M") @ref02 = Eddy::Elements::E127.new(ref: "REF02", req: "X") super( store, @ref01, @ref02, ) end |
Instance Method Details
#REF01=(arg) ⇒ void Also known as: ReferenceIdentificationQualifier=
This method returns an undefined value.
REF01
- Id: 128
- Name: Reference Identification Qualifier
- Type: ID
- Min/Max: 2/3
- Description: Code qualifying the Reference Identification
34 35 36 |
# File 'lib/definitions/segments/generated/ref.rb', line 34 def REF01=(arg) @ref01.value = arg end |
#REF02=(arg) ⇒ void Also known as: ReferenceIdentification=
This method returns an undefined value.
REF02
- Id: 127
- Name: Reference Identification
- Type: AN
- Min/Max: 1/30
- Description: Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
49 50 51 |
# File 'lib/definitions/segments/generated/ref.rb', line 49 def REF02=(arg) @ref02.value = arg end |