Sha256: 74eaf50bae3171a477cf7268e52d4e7503a19d2a6e7babed48aef1e1b63435e2

Contents?: true

Size: 1.05 KB

Versions: 11

Compression:

Stored size: 1.05 KB

Contents

module Eddy
  module Elements
    # ### Element Summary:
    #
    # - Id: 455
    # - Name: Responsible Agency Code
    # - Type: ID
    # - Min/Max: 1/2
    # - Description: Code used in conjunction with Data Element 480 to identify the issuer of the standard
    #
    # ### Notes:
    #
    # - Default value: `"X"`
    class E455 < Eddy::Models::Element::ID

      # @param val [String] ("X")
      # @param req [String] (nil)
      # @param ref [String] (nil)
      # @return [void]
      def initialize(val: "X", req: nil, ref: nil)
        @id = "455"
        @name = "Responsible Agency Code"
        @description = "Code used in conjunction with Data Element 480 to identify the issuer of the standard"
        super(
          min: 1,
          max: 2,
          req: req,
          ref: ref,
          val: val,
        )
      end

      # @return [Array<String>]
      def code_list()
        return [
          "T", # Transportation Data Coordinating Committee (TDCC)
          "X", # Accredited Standards Committee X12
        ]
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
eddy-0.10.0 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.9.2 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.9.1 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.9.0 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.8.4 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.8.3 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.8.2 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.8.1 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.8.0 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.7.0 lib/definitions/elements/manual/455.responsible_agency_code.rb
eddy-0.6.0 lib/definitions/elements/manual/455.responsible_agency_code.rb