class Eddy::Segments::PER
### Segment Summary:
-
Id:
PER
-
Name: Administrative Communications Contact
-
Purpose: To identify a person or office to whom administrative communications should be directed
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
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
### 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
### 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
### 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
-
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
### 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
-
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
### 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
-
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