Class: Eddy::Segments::HL
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::HL
- Defined in:
- lib/definitions/segments/manual/hl.rb
Overview
Segment Summary:
- Id: HL
- Name: Hierarchical Level
- Purpose: To identify dependencies among and the content of hierarchically related groups of data segments.
Notes
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
-
#HL01=(arg) ⇒ void
(also: #HierarchicalIdNumber=)
HL01.
-
#HL02=(arg) ⇒ void
(also: #HierarchicalParentIdNumber=)
HL02.
-
#HL03=(arg) ⇒ void
(also: #HierarchicalLevelCode=)
HL03.
-
#HL04=(arg) ⇒ void
(also: #HierarchicalChildCode=)
HL04.
- #initialize(store) ⇒ void constructor
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/definitions/segments/manual/hl.rb', line 18 def initialize(store) @id = "HL" @name = "Hierarchical Level" @hl01 = Eddy::Elements::E628.new(ref: "HL01", req: "M") @hl02 = Eddy::Elements::E734.new(ref: "HL02", req: "O") @hl03 = Eddy::Elements::E735.new(ref: "HL03", req: "M") @hl04 = Eddy::Elements::E736.new(ref: "HL04", req: "O") super( store, @hl01, @hl02, @hl03, @hl04, ) end |
Instance Method Details
#HL01=(arg) ⇒ void Also known as: HierarchicalIdNumber=
This method returns an undefined value.
HL01
- Id: 628
- Name: Hierarchical ID Number
- Type: AN
- Min/Max: 1/12
- Description: A unique number assigned by the sender to identify a particular data segment in a hierarchical structure
44 45 46 |
# File 'lib/definitions/segments/manual/hl.rb', line 44 def HL01=(arg) @hl01.value = arg end |
#HL02=(arg) ⇒ void Also known as: HierarchicalParentIdNumber=
This method returns an undefined value.
HL02
- Id: 734
- Name: Hierarchical Parent ID Number
- Type: AN
- Min/Max: 1/12
- Description: Identification number of the next higher hierarchical data segment that the data segment being described is subordinate to
59 60 61 |
# File 'lib/definitions/segments/manual/hl.rb', line 59 def HL02=(arg) @hl02.value = arg end |
#HL03=(arg) ⇒ void Also known as: HierarchicalLevelCode=
This method returns an undefined value.
HL03
- Id: 735
- Name: Hierarchical Level Code
- Type: ID
- Min/Max: 1/2
- Description: Code defining the characteristic of a level in a hierarchical structure
74 75 76 |
# File 'lib/definitions/segments/manual/hl.rb', line 74 def HL03=(arg) @hl03.value = arg end |
#HL04=(arg) ⇒ void Also known as: HierarchicalChildCode=
This method returns an undefined value.
HL04
- Id: 736
- Name: Hierarchical Child Code
- Type: ID
- Min/Max: 1/1
- Description: Code indicating if there are hierarchical child data segments subordinate to the level being described
89 90 91 |
# File 'lib/definitions/segments/manual/hl.rb', line 89 def HL04=(arg) @hl04.value = arg end |