Sha256: 3e80549efaa3e8042a77cd1bb0988c20a1ed94b49cf295203640c555766643af

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 248
    # - Name: Allowance or Charge Indicator
    # - Type: ID
    # - Min/Max: 1/1
    # - Description: Code which indicates an allowance or charge for the service specified
    class E248 < Eddy::Models::Element::ID

      # @param val [String]
      # @param req [String]
      # @param ref [String]
      # @return [void]
      def initialize(val: nil, req: nil, ref: nil)
        @id = "248"
        @name = "Allowance or Charge Indicator"
        @description = "Code which indicates an allowance or charge for the service specified"
        super(
          min: 1,
          max: 1,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "A", # Allowance
          "C", # Charge
          "N", # No Allowance or Charge
          "P", # Promotion
          "Q", # Charge Request
          "R", # Allowance Request
          "S", # Service
        ]
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.9.2 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.9.1 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.9.0 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.8.4 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.8.3 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.8.2 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.8.1 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.8.0 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.7.0 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb
eddy-0.6.0 lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb