Class: Eddy::Segments::PER
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::PER
- Defined in:
- lib/definitions/segments/generated/per.rb
Overview
Segment Summary:
- Id: PER
- Name: Administrative Communications Contact
- Purpose: To identify a person or office to whom administrative communications should be directed
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
- #initialize(store) ⇒ void constructor
-
#PER01=(arg) ⇒ void
(also: #ContactFunctionCode=)
PER01.
-
#PER02=(arg) ⇒ void
(also: #Name=)
PER02.
-
#PER03=(arg) ⇒ void
(also: #CommunicationNumberQualifier1=)
PER03.
-
#PER04=(arg) ⇒ void
(also: #CommunicationNumber1=)
PER04.
-
#PER05=(arg) ⇒ void
(also: #CommunicationNumberQualifier2=)
PER05.
-
#PER06=(arg) ⇒ void
(also: #CommunicationNumber2=)
PER06.
-
#PER07=(arg) ⇒ void
(also: #CommunicationNumberQualifier3=)
PER07.
-
#PER08=(arg) ⇒ void
(also: #CommunicationNumber3=)
PER08.
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# 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 |
Instance Method Details
#PER01=(arg) ⇒ void Also known as: ContactFunctionCode=
This method returns an undefined value.
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
46 47 48 |
# File 'lib/definitions/segments/generated/per.rb', line 46 def PER01=(arg) @per01.value = arg end |
#PER02=(arg) ⇒ void Also known as: Name=
This method returns an undefined value.
PER02
- Id: 93
- Name: Name
- Type: AN
- Min/Max: 1/60
- Description: Free-form name
61 62 63 |
# File 'lib/definitions/segments/generated/per.rb', line 61 def PER02=(arg) @per02.value = arg end |
#PER03=(arg) ⇒ void Also known as: CommunicationNumberQualifier1=
This method returns an undefined value.
PER03
- Id: 365
- Name: Communication Number Qualifier
- Type: ID
- Min/Max: 2/2
- Description: Code identifying the type of communication number
76 77 78 |
# File 'lib/definitions/segments/generated/per.rb', line 76 def PER03=(arg) @per03.value = arg end |
#PER04=(arg) ⇒ void Also known as: CommunicationNumber1=
This method returns an undefined value.
PER04
- Id: 364
- Name: Communication Number
- Type: AN
- Min/Max: 1/80
- Description: Complete communications number including country or area code when applicable
91 92 93 |
# File 'lib/definitions/segments/generated/per.rb', line 91 def PER04=(arg) @per04.value = arg end |
#PER05=(arg) ⇒ void Also known as: CommunicationNumberQualifier2=
This method returns an undefined value.
PER05
- Id: 365
- Name: Communication Number Qualifier
- Type: ID
- Min/Max: 2/2
- Description: Code identifying the type of communication number
106 107 108 |
# File 'lib/definitions/segments/generated/per.rb', line 106 def PER05=(arg) @per05.value = arg end |
#PER06=(arg) ⇒ void Also known as: CommunicationNumber2=
This method returns an undefined value.
PER06
- Id: 364
- Name: Communication Number
- Type: AN
- Min/Max: 1/80
- Description: Complete communications number including country or area code when applicable
121 122 123 |
# File 'lib/definitions/segments/generated/per.rb', line 121 def PER06=(arg) @per06.value = arg end |
#PER07=(arg) ⇒ void Also known as: CommunicationNumberQualifier3=
This method returns an undefined value.
PER07
- Id: 365
- Name: Communication Number Qualifier
- Type: ID
- Min/Max: 2/2
- Description: Code identifying the type of communication number
136 137 138 |
# File 'lib/definitions/segments/generated/per.rb', line 136 def PER07=(arg) @per07.value = arg end |
#PER08=(arg) ⇒ void Also known as: CommunicationNumber3=
This method returns an undefined value.
PER08
- Id: 364
- Name: Communication Number
- Type: AN
- Min/Max: 1/80
- Description: Complete communications number including country or area code when applicable
151 152 153 |
# File 'lib/definitions/segments/generated/per.rb', line 151 def PER08=(arg) @per08.value = arg end |