Class: Eddy::Elements::I15

Inherits:
Models::Element::AN show all
Defined in:
lib/definitions/elements/manual/i/I15.component_element_separator.rb

Overview

Element Summary:

  • Id: I15
  • Name: Component Element Separator
  • Type: N/A (Type is not applicable (but it's functionally AN))
  • Min/Max: 1/1
  • Description:
    • The component element separator is a delimiter and not a data element.
    • This field provides the delimiter used to separate component data elements within a composite data structure.
    • This value must be different than the data element separator and the segment terminator.

Notes:

  • Default value: ">"

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::AN

#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: ">", req: nil, ref: nil) ⇒ void

Parameters:

  • val (String) (defaults to: ">")

    (">")

  • req (String) (defaults to: nil)

    (nil)

  • ref (String) (defaults to: nil)

    (nil)



22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/definitions/elements/manual/i/I15.component_element_separator.rb', line 22

def initialize(val: ">", req: nil, ref: nil)
  @id = "I15"
  @name = "Component Element Separator"
  @description = "The delimiter used to separate component data elements within a composite data structure."
  super(
    min: 1,
    max: 1,
    req: req,
    ref: ref,
    val: val,
  )
end