Class: Eddy::Segments::SDQ

Inherits:
Models::Segment show all
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

Methods inherited from Models::Segment

#render

Constructor Details

#initialize(store) ⇒ void

Parameters:



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

Parameters:

  • arg (String)


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)

Parameters:

  • arg (String)


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

Parameters:

  • arg (String)


66
67
68
# File 'lib/definitions/segments/generated/sdq.rb', line 66

def SDQ23=(arg)
  @sdq23.value = arg
end