class Eddy::Segments::PID
### Segment Summary:
-
Id:
PID
-
Name: Product/Item Description
-
Purpose: To describe a product or process in coded or free-form format
Public Class Methods
@param store [Eddy::Data::Store] @return [void]
Eddy::Models::Segment::new
# File lib/definitions/segments/generated/pid.rb, line 12 def initialize(store) @id = "PID" @name = "Product/Item Description" @pid01 = Eddy::Elements::E349.new(ref: "PID01", req: "M") @pid02 = Eddy::Elements::E750.new(ref: "PID02", req: "O") @pid03 = Eddy::Elements::E559.new(ref: "PID03", req: "O") @pid04 = Eddy::Elements::E751.new(ref: "PID04", req: "O") @pid05 = Eddy::Elements::E352.new(ref: "PID05", req: "X") super( store, @pid01, @pid02, @pid03, @pid04, @pid05, ) end
Public Instance Methods
### PID01
-
Id: 349
-
Name: Item Description Type
-
Type: ID
-
Min/Max: 1/1
-
Description: Code indicating the format of a description
@param arg [String] @return [void]
# File lib/definitions/segments/generated/pid.rb, line 40 def PID01=(arg) @pid01.value = arg end
### PID02
-
Id: 750
-
Name: Product/Process Characteristic Code
-
Type: ID
-
Min/Max: 2/3
-
Description: Code identifying the general class of a product or process characteristic
@param arg [String] @return [void]
# File lib/definitions/segments/generated/pid.rb, line 55 def PID02=(arg) @pid02.value = arg end
### PID03
-
Id: 559
-
Name: Agency Qualifier Code
-
Type: ID
-
Min/Max: 2/2
-
Description: Code identifying the agency assigning the code values
@param arg [String] @return [void]
# File lib/definitions/segments/generated/pid.rb, line 70 def PID03=(arg) @pid03.value = arg end
### PID04
-
Id: 751
-
Name: Product Description Code
-
Type: AN
-
Min/Max: 1/12
-
Description: A code from an industry code list which provides specific data about a product characteristic
@param arg [String] @return [void]
# File lib/definitions/segments/generated/pid.rb, line 85 def PID04=(arg) @pid04.value = arg end
### PID05
-
Id: 352
-
Name: Description
-
Type: AN
-
Min/Max: 1/80
-
Description: A free-form description to clarify the related data elements and their content
@param arg [String] @return [void]
# File lib/definitions/segments/generated/pid.rb, line 100 def PID05=(arg) @pid05.value = arg end