Class: Eddy::Segments::REF

Inherits:
Models::Segment show all
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

Methods inherited from Models::Segment

#render

Constructor Details

#initialize(store) ⇒ void

Parameters:



12
13
14
15
16
17
18
19
20
21
22
23
24
# 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")
  @ref03 = Eddy::Elements::E352.new(ref: "REF03", req: "X")
  super(
    store,
    @ref01,
    @ref02,
    @ref03,
  )
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

Parameters:

  • arg (String)


36
37
38
# File 'lib/definitions/segments/generated/ref.rb', line 36

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

Parameters:

  • arg (String)


51
52
53
# File 'lib/definitions/segments/generated/ref.rb', line 51

def REF02=(arg)
  @ref02.value = arg
end

#REF03=(arg) ⇒ void Also known as: Description=

This method returns an undefined value.

REF03

  • Id: 352
  • Name: Description
  • Type: AN
  • Min/Max: 1/80
  • Description: A free-form description to clarify the related data elements and their content

Parameters:

  • arg (String)


66
67
68
# File 'lib/definitions/segments/generated/ref.rb', line 66

def REF03=(arg)
  @ref03.value = arg
end