Class: Eddy::Segments::N9

Inherits:
Models::Segment show all
Defined in:
lib/definitions/segments/generated/n9.rb

Overview

Segment Summary:

  • Id: N9
  • Name: Extended Reference Information
  • Purpose: To transmit identifying information as specified by the Reference Identification Qualifier.

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
# File 'lib/definitions/segments/generated/n9.rb', line 12

def initialize(store)
  @id = "N9"
  @name = "Extended Reference Information"
  @n901 = Eddy::Elements::E128.new(ref: "N901", req: "M")
  @n903 = Eddy::Elements::E369.new(ref: "N903", req: "X")
  super(
    store,
    @n901,
    @n903,
  )
end

Instance Method Details

#N901=(arg) ⇒ void Also known as: ReferenceIdentificationQualifier=

This method returns an undefined value.

N901

  • Id: 128
  • Name: Reference Identification Qualifier
  • Type: ID
  • Min/Max: 2/3
  • Description: Code qualifying the Reference Identification

Parameters:

  • arg (String)


34
35
36
# File 'lib/definitions/segments/generated/n9.rb', line 34

def N901=(arg)
  @n901.value = arg
end

#N903=(arg) ⇒ void Also known as: FreeFormDescription=

This method returns an undefined value.

N903

  • Id: 369
  • Name: Free-form Description
  • Type: AN
  • Min/Max: 1/45
  • Description: Free-form descriptive text

Parameters:

  • arg (String)


49
50
51
# File 'lib/definitions/segments/generated/n9.rb', line 49

def N903=(arg)
  @n903.value = arg
end