class Eddy::Segments::QTY
### Segment Summary:
-
Id:
QTY
-
Name: Quantity Information
-
Purpose: To specify quantity information
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/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
Public Instance Methods
QTY01=(arg)
click to toggle source
### QTY01
-
Id: 673
-
Name: Quantity Qualifier
-
Type: ID
-
Min/Max: 2/2
-
Description: Code specifying the type of quantity
@param arg [String] @return [void]
# File lib/definitions/segments/generated/qty.rb, line 36 def QTY01=(arg) @qty01.value = arg end
Also aliased as: QuantityQualifier=
QTY02=(arg)
click to toggle source
### QTY02
-
Id: 380
-
Name: Quantity
-
Type: R
-
Min/Max: 1/15
-
Description: Numeric value of quantity
@param arg [Float] @return [void]
# File lib/definitions/segments/generated/qty.rb, line 51 def QTY02=(arg) @qty02.value = arg end
Also aliased as: Quantity=
QTY03=(arg)
click to toggle source
### 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
@param arg [String] @return [void]
# File lib/definitions/segments/generated/qty.rb, line 66 def QTY03=(arg) @qty03.value = arg end
Also aliased as: UnitOrBasisForMeasurementCode=