class Eddy::Elements::E248

### Element Summary:

Public Class Methods

new(val: nil, req: nil, ref: nil) click to toggle source

@param val [String] @param req [String] @param ref [String] @return [void]

Calls superclass method Eddy::Models::Element::ID::new
# File lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb, line 16
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

Public Instance Methods

code_list() click to toggle source

@return [Array<String>]

# File lib/definitions/elements/generated/248.allowance_or_charge_indicator.rb, line 30
def code_list()
  return [
    "A", # Allowance
    "C", # Charge
    "N", # No Allowance or Charge
    "P", # Promotion
    "Q", # Charge Request
    "R", # Allowance Request
    "S", # Service
  ]
end