class Eddy::Segments::PER

### Segment Summary:

Public Class Methods

new(store) click to toggle source

@param store [Eddy::Data::Store] @return [void]

Calls superclass method Eddy::Models::Segment::new
# File lib/definitions/segments/generated/per.rb, line 12
def initialize(store)
  @id = "PER"
  @name = "Administrative Communications Contact"
  @per01 = Eddy::Elements::E366.new(ref: "PER01", req: "M")
  @per02 = Eddy::Elements::E93.new(ref: "PER02", req: "O")
  @per03 = Eddy::Elements::E365.new(ref: "PER03", req: "X")
  @per04 = Eddy::Elements::E364.new(ref: "PER04", req: "X")
  @per05 = Eddy::Elements::E365.new(ref: "PER05", req: "X")
  @per06 = Eddy::Elements::E364.new(ref: "PER06", req: "X")
  @per07 = Eddy::Elements::E365.new(ref: "PER07", req: "X")
  @per08 = Eddy::Elements::E364.new(ref: "PER08", req: "X")
  super(
    store,
    @per01,
    @per02,
    @per03,
    @per04,
    @per05,
    @per06,
    @per07,
    @per08,
  )
end

Public Instance Methods

CommunicationNumber1=(arg)
Alias for: PER04=
CommunicationNumber2=(arg)
Alias for: PER06=
CommunicationNumber3=(arg)
Alias for: PER08=
CommunicationNumberQualifier1=(arg)
Alias for: PER03=
CommunicationNumberQualifier2=(arg)
Alias for: PER05=
CommunicationNumberQualifier3=(arg)
Alias for: PER07=
ContactFunctionCode=(arg)
Alias for: PER01=
Name=(arg)
Alias for: PER02=
PER01=(arg) click to toggle source

### PER01

  • Id: 366

  • Name: Contact Function Code

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying the major duty or responsibility of the person or group named

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 46
def PER01=(arg)
  @per01.value = arg
end
Also aliased as: ContactFunctionCode=
PER02=(arg) click to toggle source

### PER02

  • Id: 93

  • Name: Name

  • Type: AN

  • Min/Max: 1/60

  • Description: Free-form name

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 61
def PER02=(arg)
  @per02.value = arg
end
Also aliased as: Name=
PER03=(arg) click to toggle source

### PER03

  • Id: 365

  • Name: Communication Number Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying the type of communication number

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 76
def PER03=(arg)
  @per03.value = arg
end
PER04=(arg) click to toggle source

### PER04

  • Id: 364

  • Name: Communication Number

  • Type: AN

  • Min/Max: 1/80

  • Description: Complete communications number including country or area code when applicable

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 91
def PER04=(arg)
  @per04.value = arg
end
Also aliased as: CommunicationNumber1=
PER05=(arg) click to toggle source

### PER05

  • Id: 365

  • Name: Communication Number Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying the type of communication number

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 106
def PER05=(arg)
  @per05.value = arg
end
PER06=(arg) click to toggle source

### PER06

  • Id: 364

  • Name: Communication Number

  • Type: AN

  • Min/Max: 1/80

  • Description: Complete communications number including country or area code when applicable

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 121
def PER06=(arg)
  @per06.value = arg
end
Also aliased as: CommunicationNumber2=
PER07=(arg) click to toggle source

### PER07

  • Id: 365

  • Name: Communication Number Qualifier

  • Type: ID

  • Min/Max: 2/2

  • Description: Code identifying the type of communication number

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 136
def PER07=(arg)
  @per07.value = arg
end
PER08=(arg) click to toggle source

### PER08

  • Id: 364

  • Name: Communication Number

  • Type: AN

  • Min/Max: 1/80

  • Description: Complete communications number including country or area code when applicable

@param arg [String] @return [void]

# File lib/definitions/segments/generated/per.rb, line 151
def PER08=(arg)
  @per08.value = arg
end
Also aliased as: CommunicationNumber3=