Class: Eddy::Segments::QTY
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::QTY
- Defined in:
- lib/definitions/segments/generated/qty.rb
Overview
Segment Summary:
- Id: QTY
- Name: Quantity Information
- Purpose: To specify quantity information
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
- #initialize(store) ⇒ void constructor
-
#QTY01=(arg) ⇒ void
(also: #QuantityQualifier=)
QTY01.
-
#QTY02=(arg) ⇒ void
(also: #Quantity=)
QTY02.
-
#QTY03=(arg) ⇒ void
(also: #UnitOrBasisForMeasurementCode=)
QTY03.
Methods inherited from Models::Segment
Constructor Details
#initialize(store) ⇒ void
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/definitions/segments/generated/qty.rb', line 12 def initialize(store) @id = "QTY" @name = "Quantity Information" @qty01 = Eddy::Elements::E673.new(ref: "QTY01", req: "M") @qty02 = Eddy::Elements::E380.new(ref: "QTY02", req: "X") @qty03 = Eddy::Elements::E355.new(ref: "QTY03", req: "M") super( store, @qty01, @qty02, @qty03, ) end |
Instance Method Details
#QTY01=(arg) ⇒ void Also known as: QuantityQualifier=
This method returns an undefined value.
QTY01
- Id: 673
- Name: Quantity Qualifier
- Type: ID
- Min/Max: 2/2
- Description: Code specifying the type of quantity
36 37 38 |
# File 'lib/definitions/segments/generated/qty.rb', line 36 def QTY01=(arg) @qty01.value = arg end |
#QTY02=(arg) ⇒ void Also known as: Quantity=
This method returns an undefined value.
QTY02
- Id: 380
- Name: Quantity
- Type: R
- Min/Max: 1/15
- Description: Numeric value of quantity
51 52 53 |
# File 'lib/definitions/segments/generated/qty.rb', line 51 def QTY02=(arg) @qty02.value = arg end |
#QTY03=(arg) ⇒ void Also known as: UnitOrBasisForMeasurementCode=
This method returns an undefined value.
QTY03
- Id: 355
- Name: Unit or Basis for Measurement Code
- Type: ID
- Min/Max: 2/2
- Description: Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
66 67 68 |
# File 'lib/definitions/segments/generated/qty.rb', line 66 def QTY03=(arg) @qty03.value = arg end |