Class: Eddy::Segments::SDQ
- Inherits:
-
Models::Segment
- Object
- Models::Segment
- Eddy::Segments::SDQ
- Defined in:
- lib/definitions/segments/generated/sdq.rb
Overview
Segment Summary:
- Id: SDQ
- Name: Destination Quantity
- Purpose: To specify destination and quantity detail
Instance Attribute Summary
Attributes inherited from Models::Segment
#elements, #id, #name, #skip, #store
Instance Method Summary collapse
- #initialize(store) ⇒ void constructor
-
#SDQ01=(arg) ⇒ void
(also: #UnitOrBasisForMeasurementCode=)
SDQ01.
-
#SDQ02=(arg) ⇒ void
(also: #IdentificationCodeQualifier=)
SDQ02.
-
#SDQ23=(arg) ⇒ void
(also: #LocationIdentifier=)
SDQ23.
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/sdq.rb', line 12 def initialize(store) @id = "SDQ" @name = "Destination Quantity" @sdq01 = Eddy::Elements::E355.new(ref: "SDQ01", req: "M") @sdq02 = Eddy::Elements::E66.new(ref: "SDQ02", req: "O") @sdq23 = Eddy::Elements::E310.new(ref: "SDQ23", req: "O") super( store, @sdq01, @sdq02, @sdq23, ) end |
Instance Method Details
#SDQ01=(arg) ⇒ void Also known as: UnitOrBasisForMeasurementCode=
This method returns an undefined value.
SDQ01
- 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
36 37 38 |
# File 'lib/definitions/segments/generated/sdq.rb', line 36 def SDQ01=(arg) @sdq01.value = arg end |
#SDQ02=(arg) ⇒ void Also known as: IdentificationCodeQualifier=
This method returns an undefined value.
SDQ02
- Id: 66
- Name: Identification Code Qualifier
- Type: ID
- Min/Max: 1/2
- Description: Code designating the system/method of code structure used for Identification Code (67)
51 52 53 |
# File 'lib/definitions/segments/generated/sdq.rb', line 51 def SDQ02=(arg) @sdq02.value = arg end |
#SDQ23=(arg) ⇒ void Also known as: LocationIdentifier=
This method returns an undefined value.
SDQ23
- Id: 310
- Name: Location Identifier
- Type: AN
- Min/Max: 1/30
- Description: Code which identifies a specific location
66 67 68 |
# File 'lib/definitions/segments/generated/sdq.rb', line 66 def SDQ23=(arg) @sdq23.value = arg end |